Searched refs:ConstantFoldInstOperands (Results 1 – 7 of 7) sorted by relevance
/external/llvm/include/llvm/Analysis/ |
D | ConstantFolding.h | 55 Constant *ConstantFoldInstOperands(unsigned Opcode, Type *DestTy,
|
/external/llvm/lib/CodeGen/ |
D | MachineFunction.cpp | 890 A = ConstantFoldInstOperands(Instruction::PtrToInt, IntTy, in CanShareConstantPoolEntry() 893 A = ConstantFoldInstOperands(Instruction::BitCast, IntTy, in CanShareConstantPoolEntry() 896 B = ConstantFoldInstOperands(Instruction::PtrToInt, IntTy, in CanShareConstantPoolEntry() 899 B = ConstantFoldInstOperands(Instruction::BitCast, IntTy, in CanShareConstantPoolEntry()
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 534 return ConstantFoldInstOperands(Instruction::Add, CLHS->getType(), Ops, in SimplifyAddInst() 666 return ConstantFoldInstOperands(Instruction::Sub, CLHS->getType(), in SimplifySubInst() 793 return ConstantFoldInstOperands(Instruction::FAdd, CLHS->getType(), in SimplifyFAddInst() 835 return ConstantFoldInstOperands(Instruction::FSub, CLHS->getType(), in SimplifyFSubInst() 873 return ConstantFoldInstOperands(Instruction::FMul, CLHS->getType(), in SimplifyFMulInst() 899 return ConstantFoldInstOperands(Instruction::Mul, CLHS->getType(), in SimplifyMulInst() 999 return ConstantFoldInstOperands(Opcode, C0->getType(), Ops, Q.DL, Q.TLI); in SimplifyDiv() 1164 return ConstantFoldInstOperands(Opcode, C0->getType(), Ops, Q.DL, Q.TLI); in SimplifyRem() 1316 return ConstantFoldInstOperands(Opcode, C0->getType(), Ops, Q.DL, Q.TLI); in SimplifyShift() 1564 return ConstantFoldInstOperands(Instruction::And, CLHS->getType(), in SimplifyAndInst() [all …]
|
D | ConstantFolding.cpp | 962 return ConstantFoldInstOperands(I->getOpcode(), I->getType(), Ops, DL, TLI); in ConstantFoldInstruction() 985 return ConstantFoldInstOperands(CE->getOpcode(), CE->getType(), Ops, DL, TLI); in ConstantFoldConstantExpressionImpl() 1008 Constant *llvm::ConstantFoldInstOperands(unsigned Opcode, Type *DestTy, in ConstantFoldInstOperands() function in llvm 1180 return ConstantFoldInstOperands(OpC, LHS->getType(), Ops, DL, TLI); in ConstantFoldCompareInstOperands()
|
D | InlineCost.cpp | 504 if (Constant *C = ConstantFoldInstOperands(I.getOpcode(), I.getType(), in visitUnaryInstruction()
|
D | ScalarEvolution.cpp | 5913 return ConstantFoldInstOperands(I->getOpcode(), I->getType(), Operands, DL, in EvaluateExpression() 6302 C = ConstantFoldInstOperands(I->getOpcode(), I->getType(), Operands, in computeSCEVAtScope()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 3863 return ConstantFoldInstOperands(I->getOpcode(), I->getType(), COps, DL); in ConstantFold()
|