|
| Constant * | llvm::ConstantFoldInstruction (Instruction *I, const DataLayout &DL, const TargetLibraryInfo *TLI=nullptr) |
| | ConstantFoldInstruction - Try to constant fold the specified instruction. More...
|
| |
| Constant * | llvm::ConstantFoldConstantExpression (const ConstantExpr *CE, const DataLayout &DL, const TargetLibraryInfo *TLI=nullptr) |
| | ConstantFoldConstantExpression - Attempt to fold the constant expression using the specified DataLayout. More...
|
| |
| Constant * | llvm::ConstantFoldInstOperands (unsigned Opcode, Type *DestTy, ArrayRef< Constant * > Ops, const DataLayout &DL, const TargetLibraryInfo *TLI=nullptr) |
| | ConstantFoldInstOperands - Attempt to constant fold an instruction with the specified operands. More...
|
| |
| Constant * | llvm::ConstantFoldCompareInstOperands (unsigned Predicate, Constant *LHS, Constant *RHS, const DataLayout &DL, const TargetLibraryInfo *TLI=nullptr) |
| | ConstantFoldCompareInstOperands - Attempt to constant fold a compare instruction (icmp/fcmp) with the specified operands. More...
|
| |
| Constant * | llvm::ConstantFoldInsertValueInstruction (Constant *Agg, Constant *Val, ArrayRef< unsigned > Idxs) |
| | ConstantFoldInsertValueInstruction - Attempt to constant fold an insertvalue instruction with the specified operands and indices. More...
|
| |
| Constant * | llvm::ConstantFoldExtractValueInstruction (Constant *Agg, ArrayRef< unsigned > Idxs) |
| | Attempt to constant fold an extractvalue instruction with the specified operands and indices. More...
|
| |
| Constant * | llvm::ConstantFoldExtractElementInstruction (Constant *Val, Constant *Idx) |
| | Attempt to constant fold an extractelement instruction with the specified operands and indices. More...
|
| |
| Constant * | llvm::ConstantFoldLoadFromConstPtr (Constant *C, const DataLayout &DL) |
| | ConstantFoldLoadFromConstPtr - Return the value that a load from C would produce if it is constant and determinable. More...
|
| |
| Constant * | llvm::ConstantFoldLoadThroughGEPConstantExpr (Constant *C, ConstantExpr *CE) |
| | ConstantFoldLoadThroughGEPConstantExpr - Given a constant and a getelementptr constantexpr, return the constant value being addressed by the constant expression, or null if something is funny and we can't decide. More...
|
| |
| Constant * | llvm::ConstantFoldLoadThroughGEPIndices (Constant *C, ArrayRef< Constant * > Indices) |
| | ConstantFoldLoadThroughGEPIndices - Given a constant and getelementptr indices (with an implied zero pointer index that is not in the list), return the constant value being addressed by a virtual load, or null if something is funny and we can't decide. More...
|
| |
| bool | llvm::canConstantFoldCallTo (const Function *F) |
| | canConstantFoldCallTo - Return true if its even possible to fold a call to the specified function. More...
|
| |
| Constant * | llvm::ConstantFoldCall (Function *F, ArrayRef< Constant * > Operands, const TargetLibraryInfo *TLI=nullptr) |
| | ConstantFoldCall - Attempt to constant fold a call to the specified function with the specified arguments, returning null if unsuccessful. More...
|
| |