/openbsd/gnu/llvm/llvm/include/llvm/Analysis/ |
H A D | TargetFolder.h | 61 return ConstantFoldBinaryOpOperands(Opc, LC, RC, DL); in FoldBinOp() 74 return ConstantFoldBinaryOpOperands(Opc, LC, RC, DL); in FoldExactBinOp() 92 return ConstantFoldBinaryOpOperands(Opc, LC, RC, DL); in FoldNoWrapBinOp()
|
H A D | ConstantFolding.h | 87 Constant *ConstantFoldBinaryOpOperands(unsigned Opcode, Constant *LHS,
|
/openbsd/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineMulDivRem.cpp | 576 ConstantFoldBinaryOpOperands(Instruction::FMul, C, C1, DL); in visitFMul() 583 ConstantFoldBinaryOpOperands(Instruction::FDiv, C, C1, DL); in visitFMul() 590 ConstantFoldBinaryOpOperands(Instruction::FDiv, C1, C, DL); in visitFMul() 600 if (Constant *CC1 = ConstantFoldBinaryOpOperands( in visitFMul() 608 if (Constant *CC1 = ConstantFoldBinaryOpOperands( in visitFMul() 1488 auto *RecipC = ConstantFoldBinaryOpOperands( in foldFDivConstantDivisor() 1517 NewC = ConstantFoldBinaryOpOperands(Instruction::FDiv, C, C2, DL); in foldFDivConstantDividend() 1520 NewC = ConstantFoldBinaryOpOperands(Instruction::FMul, C, C2, DL); in foldFDivConstantDividend()
|
H A D | InstCombineAddSub.cpp | 1775 if (Constant *NewMulC = ConstantFoldBinaryOpOperands( in visitFAdd() 2641 if (Constant *CSubOne = ConstantFoldBinaryOpOperands( in visitFSub() 2647 if (Constant *OneSubC = ConstantFoldBinaryOpOperands( in visitFSub()
|
H A D | InstructionCombining.cpp | 534 (CRes = ConstantFoldBinaryOpOperands(Opcode, C1, C2, DL))) { in SimplifyAssociativeOrCommutative() 1343 Constant *NewC = ConstantFoldBinaryOpOperands(BO.getOpcode(), C0, C1, DL); in foldBinopWithPhiOperands() 1823 ? ConstantFoldBinaryOpOperands(Opcode, UndefScalar, CElt, DL) in foldVectorBinop() 1824 : ConstantFoldBinaryOpOperands(Opcode, CElt, UndefScalar, DL); in foldVectorBinop()
|
H A D | InstCombineCalls.cpp | 1579 ConstantFoldBinaryOpOperands(Instruction::URem, ShAmtC, WidthC, DL); in visitCallInst()
|
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUCodeGenPrepare.cpp | 629 ConstantFoldBinaryOpOperands(BO.getOpcode(), CBO, CT, *DL) : in foldBinOpIntoSelect() 630 ConstantFoldBinaryOpOperands(BO.getOpcode(), CT, CBO, *DL); in foldBinOpIntoSelect() 635 ConstantFoldBinaryOpOperands(BO.getOpcode(), CBO, CF, *DL) : in foldBinOpIntoSelect() 636 ConstantFoldBinaryOpOperands(BO.getOpcode(), CF, CBO, *DL); in foldBinOpIntoSelect()
|
/openbsd/gnu/llvm/llvm/lib/Analysis/ |
H A D | ConstantFolding.cpp | 1049 return ConstantFoldBinaryOpOperands(Opcode, Ops[0], Ops[1], DL); in ConstantFoldInstOperandsImpl() 1294 return ConstantFoldBinaryOpOperands(OpC, LHS, RHS, DL); in ConstantFoldCompareInstOperands() 1338 Constant *llvm::ConstantFoldBinaryOpOperands(unsigned Opcode, Constant *LHS, in ConstantFoldBinaryOpOperands() function in llvm 1398 Constant *C = ConstantFoldBinaryOpOperands(Opcode, Op0, Op1, DL); in ConstantFoldFPInstOperands() 1407 return ConstantFoldBinaryOpOperands(Opcode, LHS, RHS, DL); in ConstantFoldFPInstOperands()
|
H A D | BranchProbabilityInfo.cpp | 625 CmpLHSConst = ConstantFoldBinaryOpOperands( in computeUnlikelySuccessors()
|
H A D | InstructionSimplify.cpp | 619 return ConstantFoldBinaryOpOperands(Opcode, CLHS, CRHS, Q.DL); in foldOrCommuteConstant()
|
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/ |
H A D | Reassociate.cpp | 1950 if (Constant *Res = ConstantFoldBinaryOpOperands(Opcode, C, Cst, DL)) { in OptimizeExpression()
|
H A D | JumpThreading.cpp | 823 ConstantFoldBinaryOpOperands(BO->getOpcode(), V, CI, DL); in computeValueKnownInPredecessorsImpl()
|
/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/ |
H A D | ScalarEvolutionExpander.cpp | 224 if (Constant *Res = ConstantFoldBinaryOpOperands(Opcode, CLHS, CRHS, DL)) in InsertBinop()
|