Searched refs:ConstantFoldBinaryOpOperands (Results 1 – 6 of 6) sorted by relevance
/external/llvm/include/llvm/Analysis/ |
D | ConstantFolding.h | 90 Constant *ConstantFoldBinaryOpOperands(unsigned Opcode, Constant *LHS,
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | ConstantFolding.h | 79 Constant *ConstantFoldBinaryOpOperands(unsigned Opcode, Constant *LHS,
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 533 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 …]
|
D | ConstantFolding.cpp | 930 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
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 1001 return ConstantFoldBinaryOpOperands(Opcode, Ops[0], Ops[1], DL); in ConstantFoldInstOperandsImpl() 1250 return ConstantFoldBinaryOpOperands(OpC, LHS, RHS, DL); in ConstantFoldCompareInstOperands() 1262 Constant *llvm::ConstantFoldBinaryOpOperands(unsigned Opcode, Constant *LHS, in ConstantFoldBinaryOpOperands() function in llvm
|
D | InstructionSimplify.cpp | 561 return ConstantFoldBinaryOpOperands(Opcode, CLHS, CRHS, Q.DL); in foldOrCommuteConstant()
|