Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Analysis/
DConstantFolding.h61 Constant *ConstantFoldInstOperands(Instruction *I, ArrayRef<Constant *> Ops,
73 Constant *ConstantFoldInstOperands(unsigned Opcode, Type *DestTy,
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DConstantFolding.h52 Constant *ConstantFoldInstOperands(unsigned Opcode, Type *DestTy,
/external/swiftshader/third_party/LLVM/lib/Analysis/
DInstructionSimplify.cpp548 return ConstantFoldInstOperands(Instruction::Add, CLHS->getType(), in SimplifyAddInst()
617 return ConstantFoldInstOperands(Instruction::Sub, CLHS->getType(), in SimplifySubInst()
737 return ConstantFoldInstOperands(Instruction::Mul, CLHS->getType(), in SimplifyMulInst()
811 return ConstantFoldInstOperands(Opcode, C0->getType(), Ops, TD); in SimplifyDiv()
932 return ConstantFoldInstOperands(Opcode, C0->getType(), Ops, TD); in SimplifyRem()
1035 return ConstantFoldInstOperands(Opcode, C0->getType(), Ops, TD); in SimplifyShift()
1160 return ConstantFoldInstOperands(Instruction::And, CLHS->getType(), in SimplifyAndInst()
1249 return ConstantFoldInstOperands(Instruction::Or, CLHS->getType(), in SimplifyOrInst()
1343 return ConstantFoldInstOperands(Instruction::Xor, CLHS->getType(), in SimplifyXorInst()
2373 return ConstantFoldInstOperands(Opcode, LHS->getType(), COps, TD); in SimplifyBinOp()
DConstantFolding.cpp784 return ConstantFoldInstOperands(I->getOpcode(), I->getType(), Ops, TD); in ConstantFoldInstruction()
805 return ConstantFoldInstOperands(CE->getOpcode(), CE->getType(), Ops, TD); in ConstantFoldConstantExpression()
818 Constant *llvm::ConstantFoldInstOperands(unsigned Opcode, Type *DestTy, in ConstantFoldInstOperands() function in llvm
971 return ConstantFoldInstOperands(OpC, LHS->getType(), Ops, TD); in ConstantFoldCompareInstOperands()
DScalarEvolution.cpp4780 return ConstantFoldInstOperands(I->getOpcode(), I->getType(), Operands, TD); in EvaluateExpression()
4997 C = ConstantFoldInstOperands(I->getOpcode(), I->getType(), in computeSCEVAtScope()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DCloneFunction.cpp337 return ConstantFoldInstOperands(I->getOpcode(), I->getType(), Ops, TD); in ConstantFoldMappedInstruction()
/external/llvm/lib/Analysis/
DConstantFolding.cpp1036 return ConstantFoldInstOperands(I, Ops, DL, TLI); in ConstantFoldInstruction()
1074 Constant *llvm::ConstantFoldInstOperands(Instruction *I, in ConstantFoldInstOperands() function in llvm
1082 Constant *llvm::ConstantFoldInstOperands(unsigned Opcode, Type *DestTy, in ConstantFoldInstOperands() function in llvm
DInlineCost.cpp550 if (Constant *C = ConstantFoldInstOperands(&I, COp, DL)) { in visitUnaryInstruction()
DScalarEvolution.cpp6419 return ConstantFoldInstOperands(I, Operands, DL, TLI); in EvaluateExpression()
6797 C = ConstantFoldInstOperands(I, Operands, DL, &TLI); in computeSCEVAtScope()
DInstructionSimplify.cpp3367 return ConstantFoldInstOperands(I, ConstOps, Q.DL, Q.TLI); in SimplifyWithOpReplaced()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineSelect.cpp332 return ConstantFoldInstOperands(I->getOpcode(), I->getType(), in SimplifyWithOpReplaced()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp4202 return ConstantFoldInstOperands(I, COps, DL); in ConstantFold()