Searched refs:ConstantFoldInstOperands (Results 1 – 8 of 8) 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 | 897 A = ConstantFoldInstOperands(Instruction::PtrToInt, IntTy, in CanShareConstantPoolEntry() 900 A = ConstantFoldInstOperands(Instruction::BitCast, IntTy, in CanShareConstantPoolEntry() 903 B = ConstantFoldInstOperands(Instruction::PtrToInt, IntTy, in CanShareConstantPoolEntry() 906 B = ConstantFoldInstOperands(Instruction::BitCast, IntTy, in CanShareConstantPoolEntry()
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 535 return ConstantFoldInstOperands(Instruction::Add, CLHS->getType(), Ops, in SimplifyAddInst() 667 return ConstantFoldInstOperands(Instruction::Sub, CLHS->getType(), in SimplifySubInst() 794 return ConstantFoldInstOperands(Instruction::FAdd, CLHS->getType(), in SimplifyFAddInst() 836 return ConstantFoldInstOperands(Instruction::FSub, CLHS->getType(), in SimplifyFSubInst() 874 return ConstantFoldInstOperands(Instruction::FMul, CLHS->getType(), in SimplifyFMulInst() 900 return ConstantFoldInstOperands(Instruction::Mul, CLHS->getType(), in SimplifyMulInst() 1000 return ConstantFoldInstOperands(Opcode, C0->getType(), Ops, Q.DL, Q.TLI); in SimplifyDiv() 1150 return ConstantFoldInstOperands(Opcode, C0->getType(), Ops, Q.DL, Q.TLI); in SimplifyRem() 1302 return ConstantFoldInstOperands(Opcode, C0->getType(), Ops, Q.DL, Q.TLI); in SimplifyShift() 1550 return ConstantFoldInstOperands(Instruction::And, CLHS->getType(), in SimplifyAndInst() [all …]
|
D | ConstantFolding.cpp | 960 return ConstantFoldInstOperands(I->getOpcode(), I->getType(), Ops, DL, TLI); in ConstantFoldInstruction() 983 return ConstantFoldInstOperands(CE->getOpcode(), CE->getType(), Ops, DL, TLI); in ConstantFoldConstantExpressionImpl() 1006 Constant *llvm::ConstantFoldInstOperands(unsigned Opcode, Type *DestTy, in ConstantFoldInstOperands() function in llvm 1178 return ConstantFoldInstOperands(OpC, LHS->getType(), Ops, DL, TLI); in ConstantFoldCompareInstOperands()
|
D | ScalarEvolution.cpp | 5424 return ConstantFoldInstOperands(I->getOpcode(), I->getType(), Operands, DL, in EvaluateExpression() 5803 C = ConstantFoldInstOperands(I->getOpcode(), I->getType(), Operands, in computeSCEVAtScope()
|
/external/llvm/lib/Analysis/IPA/ |
D | InlineCost.cpp | 486 if (Constant *C = ConstantFoldInstOperands(I.getOpcode(), I.getType(), in visitUnaryInstruction()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 370 return ConstantFoldInstOperands(I->getOpcode(), I->getType(), ConstOps, in SimplifyWithOpReplaced()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 3422 return ConstantFoldInstOperands(I->getOpcode(), I->getType(), COps, DL); in ConstantFold()
|