Home
last modified time | relevance | path

Searched refs:ConstantFoldBinaryOpOperands (Results 1 – 3 of 3) sorted by relevance

/external/llvm/include/llvm/Analysis/
DConstantFolding.h90 Constant *ConstantFoldBinaryOpOperands(unsigned Opcode, Constant *LHS,
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp533 return ConstantFoldBinaryOpOperands(Instruction::Add, CLHS, CRHS, Q.DL); in SimplifyAddInst()
667 return ConstantFoldBinaryOpOperands(Instruction::Sub, CLHS, CRHS, Q.DL); in SimplifySubInst()
791 return ConstantFoldBinaryOpOperands(Instruction::FAdd, CLHS, CRHS, Q.DL); in SimplifyFAddInst()
830 return ConstantFoldBinaryOpOperands(Instruction::FSub, CLHS, CRHS, Q.DL); in SimplifyFSubInst()
866 return ConstantFoldBinaryOpOperands(Instruction::FMul, CLHS, CRHS, Q.DL); in SimplifyFMulInst()
889 return ConstantFoldBinaryOpOperands(Instruction::Mul, CLHS, CRHS, Q.DL); in SimplifyMulInst()
986 return ConstantFoldBinaryOpOperands(Opcode, C0, C1, Q.DL); in SimplifyDiv()
1148 return ConstantFoldBinaryOpOperands(Opcode, C0, C1, Q.DL); in SimplifyRem()
1297 return ConstantFoldBinaryOpOperands(Opcode, C0, C1, Q.DL); in SimplifyShift()
1567 return ConstantFoldBinaryOpOperands(Instruction::And, CLHS, CRHS, Q.DL); in SimplifyAndInst()
[all …]
DConstantFolding.cpp930 return ConstantFoldBinaryOpOperands(Opcode, Ops[0], Ops[1], DL); in ConstantFoldInstOperandsImpl()
1163 return ConstantFoldBinaryOpOperands(OpC, LHS, RHS, DL); in ConstantFoldCompareInstOperands()
1170 Constant *llvm::ConstantFoldBinaryOpOperands(unsigned Opcode, Constant *LHS, in ConstantFoldBinaryOpOperands() function in llvm