Home
last modified time | relevance | path

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

12

/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/llvm/Analysis/
DTargetFolder.h61 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()
DConstantFolding.h85 Constant *ConstantFoldBinaryOpOperands(unsigned Opcode, Constant *LHS,
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/llvm/Analysis/
DTargetFolder.h61 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()
DConstantFolding.h85 Constant *ConstantFoldBinaryOpOperands(unsigned Opcode, Constant *LHS,
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/llvm/Analysis/
DTargetFolder.h61 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()
DConstantFolding.h85 Constant *ConstantFoldBinaryOpOperands(unsigned Opcode, Constant *LHS,
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/llvm/Analysis/
DTargetFolder.h61 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()
DConstantFolding.h90 Constant *ConstantFoldBinaryOpOperands(unsigned Opcode, Constant *LHS,
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/Analysis/
H A DTargetFolder.h61 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 DConstantFolding.h87 Constant *ConstantFoldBinaryOpOperands(unsigned Opcode, Constant *LHS,
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp576 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()
1475 auto *RecipC = ConstantFoldBinaryOpOperands( in foldFDivConstantDivisor()
1504 NewC = ConstantFoldBinaryOpOperands(Instruction::FDiv, C, C2, DL); in foldFDivConstantDividend()
1507 NewC = ConstantFoldBinaryOpOperands(Instruction::FMul, C, C2, DL); in foldFDivConstantDividend()
H A DInstructionCombining.cpp534 (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 DInstCombineAddSub.cpp1775 if (Constant *NewMulC = ConstantFoldBinaryOpOperands( in visitFAdd()
2641 if (Constant *CSubOne = ConstantFoldBinaryOpOperands( in visitFSub()
2647 if (Constant *OneSubC = ConstantFoldBinaryOpOperands( in visitFSub()
H A DInstCombineCalls.cpp1579 ConstantFoldBinaryOpOperands(Instruction::URem, ShAmtC, WidthC, DL); in visitCallInst()
/aosp_15_r20/external/llvm/lib/Analysis/
H A 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 …]
H A 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
/aosp_15_r20/external/llvm/include/llvm/Analysis/
H A DConstantFolding.h90 Constant *ConstantFoldBinaryOpOperands(unsigned Opcode, Constant *LHS,
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/AMDGPU/
H A DAMDGPUCodeGenPrepare.cpp629 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()
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
H A DConstantFolding.h83 Constant *ConstantFoldBinaryOpOperands(unsigned Opcode, Constant *LHS,
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Analysis/
H A DConstantFolding.cpp1049 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 DBranchProbabilityInfo.cpp625 CmpLHSConst = ConstantFoldBinaryOpOperands( in computeUnlikelySuccessors()
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
H A DConstantFolding.cpp1027 return ConstantFoldBinaryOpOperands(Opcode, Ops[0], Ops[1], DL); in ConstantFoldInstOperandsImpl()
1279 return ConstantFoldBinaryOpOperands(OpC, LHS, RHS, DL); in ConstantFoldCompareInstOperands()
1298 Constant *llvm::ConstantFoldBinaryOpOperands(unsigned Opcode, Constant *LHS, in ConstantFoldBinaryOpOperands() function in llvm
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp1950 if (Constant *Res = ConstantFoldBinaryOpOperands(Opcode, C, Cst, DL)) { in OptimizeExpression()
H A DJumpThreading.cpp823 ConstantFoldBinaryOpOperands(BO->getOpcode(), V, CI, DL); in computeValueKnownInPredecessorsImpl()
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp224 if (Constant *Res = ConstantFoldBinaryOpOperands(Opcode, CLHS, CRHS, DL)) in InsertBinop()

12