Home
last modified time | relevance | path

Searched refs:ConstantFoldInstOperands (Results 1 – 8 of 8) sorted by relevance

/external/llvm/include/llvm/Analysis/
DConstantFolding.h55 Constant *ConstantFoldInstOperands(unsigned Opcode, Type *DestTy,
/external/llvm/lib/CodeGen/
DMachineFunction.cpp897 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/
DInstructionSimplify.cpp535 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 …]
DConstantFolding.cpp960 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()
DScalarEvolution.cpp5424 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/
DInlineCost.cpp486 if (Constant *C = ConstantFoldInstOperands(I.getOpcode(), I.getType(), in visitUnaryInstruction()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp370 return ConstantFoldInstOperands(I->getOpcode(), I->getType(), ConstOps, in SimplifyWithOpReplaced()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp3422 return ConstantFoldInstOperands(I->getOpcode(), I->getType(), COps, DL); in ConstantFold()