/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 81 Instruction *InstCombiner::PromoteCastOfAllocation(BitCastInst &CI, in PromoteCastOfAllocation() 159 Value *InstCombiner::EvaluateInDifferentType(Value *V, Type *Ty, in EvaluateInDifferentType() 267 bool InstCombiner::ShouldOptimizeCast(Instruction::CastOps opc, const Value *V, in ShouldOptimizeCast() 288 Instruction *InstCombiner::commonCastTransforms(CastInst &CI) { in commonCastTransforms() 331 static bool canEvaluateTruncated(Value *V, Type *Ty, InstCombiner &IC, in canEvaluateTruncated() 439 static Instruction *foldVecTruncToExtElt(TruncInst &Trunc, InstCombiner &IC, in foldVecTruncToExtElt() 477 Instruction *InstCombiner::visitTrunc(TruncInst &CI) { in visitTrunc() 583 Instruction *InstCombiner::transformZExtICmp(ICmpInst *ICI, Instruction &CI, in transformZExtICmp() 725 InstCombiner &IC, Instruction *CxtI) { in canEvaluateZExtd() 832 Instruction *InstCombiner::visitZExt(ZExtInst &CI) { in visitZExt() [all …]
|
D | InstCombineLoadStoreAlloca.cpp | 170 static Instruction *simplifyAllocaArraySize(InstCombiner &IC, AllocaInst &AI) { in simplifyAllocaArraySize() 226 Instruction *InstCombiner::visitAllocaInst(AllocaInst &AI) { in visitAllocaInst() 320 static LoadInst *combineLoadToNewType(InstCombiner &IC, LoadInst &LI, Type *NewTy, in combineLoadToNewType() 394 static StoreInst *combineStoreToNewValue(InstCombiner &IC, StoreInst &SI, Value *V) { in combineStoreToNewValue() 460 static Instruction *combineLoadToOperationType(InstCombiner &IC, LoadInst &LI) { in combineLoadToOperationType() 518 static Instruction *unpackLoadToAggregate(InstCombiner &IC, LoadInst &LI) { in unpackLoadToAggregate() 700 static bool canReplaceGEPIdxWithZero(InstCombiner &IC, GetElementPtrInst *GEPI, in canReplaceGEPIdxWithZero() 772 static Instruction *replaceGEPIdxWithZero(InstCombiner &IC, Value *Ptr, in replaceGEPIdxWithZero() 789 Instruction *InstCombiner::visitLoadInst(LoadInst &LI) { in visitLoadInst() 934 static Value *likeBitCastFromVector(InstCombiner &IC, Value *V) { in likeBitCastFromVector() [all …]
|
D | InstCombineMulDivRem.cpp | 28 static Value *simplifyValueKnownNonZero(Value *V, InstCombiner &IC, in simplifyValueKnownNonZero() 135 bool InstCombiner::WillNotOverflowSignedMul(Value *LHS, Value *RHS, in WillNotOverflowSignedMul() 175 Instruction *InstCombiner::visitMul(BinaryOperator &I) { in visitMul() 489 Value *InstCombiner::foldFMulConst(Instruction *FMulOrDiv, Constant *C, in foldFMulConst() 537 Instruction *InstCombiner::visitFMul(BinaryOperator &I) { in visitFMul() 730 bool InstCombiner::SimplifyDivRemOfSelect(BinaryOperator &I) { in SimplifyDivRemOfSelect() 803 Instruction *InstCombiner::commonIDivTransforms(BinaryOperator &I) { in commonIDivTransforms() 949 InstCombiner &IC); 975 const BinaryOperator &I, InstCombiner &IC) { in foldUDivPow2Cst() 986 const BinaryOperator &I, InstCombiner &IC) { in foldUDivNegCst() [all …]
|
D | InstCombineCalls.cpp | 81 Instruction *InstCombiner::SimplifyMemTransfer(MemIntrinsic *MI) { in SimplifyMemTransfer() 175 Instruction *InstCombiner::SimplifyMemSet(MemSetInst *MI) { in SimplifyMemSet() 219 InstCombiner::BuilderTy &Builder) { in simplifyX86immShift() 332 InstCombiner::BuilderTy &Builder) { in simplifyX86varShift() 440 InstCombiner::BuilderTy &Builder) { in simplifyX86movmsk() 479 InstCombiner::BuilderTy &Builder) { in simplifyX86insertps() 539 InstCombiner::BuilderTy &Builder) { in simplifyX86extrq() 632 InstCombiner::BuilderTy &Builder) { in simplifyX86insertq() 727 InstCombiner::BuilderTy &Builder) { in simplifyX86pshufb() 774 InstCombiner::BuilderTy &Builder) { in simplifyX86vpermilvar() [all …]
|
D | InstructionCombining.cpp | 85 Value *InstCombiner::EmitGEPOffset(User *GEP) { in EmitGEPOffset() 93 bool InstCombiner::ShouldChangeType(unsigned FromWidth, in ShouldChangeType() 114 bool InstCombiner::ShouldChangeType(Type *From, Type *To) const { in ShouldChangeType() 185 bool InstCombiner::SimplifyAssociativeOrCommutative(BinaryOperator &I) { in SimplifyAssociativeOrCommutative() 450 static Value *tryFactorization(InstCombiner::BuilderTy *Builder, in tryFactorization() 550 Value *InstCombiner::SimplifyUsingDistributiveLaws(BinaryOperator &I) { in SimplifyUsingDistributiveLaws() 663 Value *InstCombiner::dyn_castNegVal(Value *V) const { in dyn_castNegVal() 680 Value *InstCombiner::dyn_castFNegVal(Value *V, bool IgnoreZeroSign) const { in dyn_castFNegVal() 696 InstCombiner *IC) { in FoldOperationIntoSelectOperand() 736 Instruction *InstCombiner::FoldOpIntoSelect(Instruction &Op, SelectInst *SI) { in FoldOpIntoSelect() [all …]
|
D | InstCombineShifts.cpp | 24 Instruction *InstCombiner::commonShiftTransforms(BinaryOperator &I) { in commonShiftTransforms() 62 Instruction *SecondShift, InstCombiner &IC, in canEvaluateShiftedShift() 116 InstCombiner &IC, Instruction *CxtI) { in CanEvaluateShifted() 189 InstCombiner &IC, const DataLayout &DL) { in GetShiftedValue() 322 Instruction *InstCombiner::FoldShiftByConstant(Value *Op0, Constant *Op1, in FoldShiftByConstant() 696 Instruction *InstCombiner::visitShl(BinaryOperator &I) { in visitShl() 738 Instruction *InstCombiner::visitLShr(BinaryOperator &I) { in visitLShr() 782 Instruction *InstCombiner::visitAShr(BinaryOperator &I) { in visitAShr()
|
D | InstCombineSelect.cpp | 62 static Value *generateMinMaxSelectPattern(InstCombiner::BuilderTy *Builder, in generateMinMaxSelectPattern() 120 Instruction *InstCombiner::FoldSelectOpOp(SelectInst &SI, Instruction *TI, in FoldSelectOpOp() 229 Instruction *InstCombiner::FoldSelectIntoOp(SelectInst &SI, Value *TrueVal, in FoldSelectIntoOp() 311 InstCombiner::BuilderTy *Builder) { in foldSelectICmpAndOr() 371 InstCombiner::BuilderTy *Builder) { in foldSelectCttzCtlz() 415 Instruction *InstCombiner::visitSelectInstWithICmp(SelectInst &SI, in visitSelectInstWithICmp() 651 Instruction *InstCombiner::FoldSPFofSPF(Instruction *Inner, in FoldSPFofSPF() 771 InstCombiner::BuilderTy *Builder) { in foldSelectICmpAnd() 843 InstCombiner::BuilderTy &Builder) { in foldAddSubSelect() 912 Instruction *InstCombiner::visitSelectInst(SelectInst &SI) { in visitSelectInst()
|
D | InstCombinePHI.cpp | 28 Instruction *InstCombiner::FoldPHIArgBinOpIntoPHI(PHINode &PN) { in FoldPHIArgBinOpIntoPHI() 121 Instruction *InstCombiner::FoldPHIArgGEPIntoPHI(PHINode &PN) { in FoldPHIArgGEPIntoPHI() 276 Instruction *InstCombiner::FoldPHIArgLoadIntoPHI(PHINode &PN) { in FoldPHIArgLoadIntoPHI() 393 Instruction *InstCombiner::FoldPHIArgZextsIntoPHI(PHINode &Phi) { in FoldPHIArgZextsIntoPHI() 467 Instruction *InstCombiner::FoldPHIArgOpIntoPHI(PHINode &PN) { in FoldPHIArgOpIntoPHI() 694 Instruction *InstCombiner::SliceUpIllegalIntegerPHI(PHINode &FirstPhi) { in SliceUpIllegalIntegerPHI() 866 Instruction *InstCombiner::visitPHINode(PHINode &PN) { in visitPHINode()
|
D | InstCombineAndOrXor.cpp | 72 InstCombiner::BuilderTy *Builder) { in getNewICmpValue() 82 InstCombiner::BuilderTy *Builder) { in getFCmpValue() 97 Value *InstCombiner::SimplifyBSwap(BinaryOperator &I) { in SimplifyBSwap() 150 Instruction *InstCombiner::OptAndOp(Instruction *Op, in OptAndOp() 290 Value *InstCombiner::InsertRangeTest(Value *V, Constant *Lo, Constant *Hi, in InsertRangeTest() 358 Value *InstCombiner::FoldLogicalPlusAnd(Value *LHS, Value *RHS, in FoldLogicalPlusAnd() 692 llvm::InstCombiner::BuilderTy *Builder) { in foldLogOpOfMaskedICmps() 815 Value *InstCombiner::simplifyRangeCheck(ICmpInst *Cmp0, ICmpInst *Cmp1, in simplifyRangeCheck() 868 Value *InstCombiner::FoldAndOfICmps(ICmpInst *LHS, ICmpInst *RHS) { in FoldAndOfICmps() 1098 Value *InstCombiner::FoldAndOfFCmps(FCmpInst *LHS, FCmpInst *RHS) { in FoldAndOfFCmps() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 84 Instruction *InstCombiner::PromoteCastOfAllocation(BitCastInst &CI, in PromoteCastOfAllocation() 162 Value *InstCombiner::EvaluateInDifferentType(Value *V, Type *Ty, in EvaluateInDifferentType() 233 Instruction::CastOps InstCombiner::isEliminableCastPair(const CastInst *CI1, in isEliminableCastPair() 261 Instruction *InstCombiner::commonCastTransforms(CastInst &CI) { in commonCastTransforms() 342 static bool canEvaluateTruncated(Value *V, Type *Ty, InstCombiner &IC, in canEvaluateTruncated() 457 static Instruction *foldVecTruncToExtElt(TruncInst &Trunc, InstCombiner &IC) { in foldVecTruncToExtElt() 496 Instruction *InstCombiner::narrowRotate(TruncInst &Trunc) { in narrowRotate() 580 Instruction *InstCombiner::narrowBinOp(TruncInst &Trunc) { in narrowBinOp() 639 InstCombiner::BuilderTy &Builder) { in shrinkSplatShuffle() 659 InstCombiner::BuilderTy &Builder) { in shrinkInsertElt() [all …]
|
D | InstCombineLoadStoreAlloca.cpp | 182 static Instruction *simplifyAllocaArraySize(InstCombiner &IC, AllocaInst &AI) { in simplifyAllocaArraySize() 253 PointerReplacer(InstCombiner &IC) : IC(IC) {} in PointerReplacer() 263 InstCombiner ⁣ 341 Instruction *InstCombiner::visitAllocaInst(AllocaInst &AI) { in visitAllocaInst() 452 LoadInst *InstCombiner::combineLoadToNewType(LoadInst &LI, Type *NewTy, in combineLoadToNewType() 482 static StoreInst *combineStoreToNewValue(InstCombiner &IC, StoreInst &SI, Value *V) { in combineStoreToNewValue() 574 static Instruction *combineLoadToOperationType(InstCombiner &IC, LoadInst &LI) { in combineLoadToOperationType() 644 static Instruction *unpackLoadToAggregate(InstCombiner &IC, LoadInst &LI) { in unpackLoadToAggregate() 847 static bool canReplaceGEPIdxWithZero(InstCombiner &IC, GetElementPtrInst *GEPI, in canReplaceGEPIdxWithZero() 917 static Instruction *replaceGEPIdxWithZero(InstCombiner &IC, Value *Ptr, in replaceGEPIdxWithZero() [all …]
|
D | InstCombineMulDivRem.cpp | 49 static Value *simplifyValueKnownNonZero(Value *V, InstCombiner &IC, in simplifyValueKnownNonZero() 133 InstCombiner::BuilderTy &Builder) { in foldMulSelectToNegate() 171 Instruction *InstCombiner::visitMul(BinaryOperator &I) { in visitMul() 393 Instruction *InstCombiner::visitFMul(BinaryOperator &I) { in visitFMul() 579 bool InstCombiner::simplifyDivRemOfSelectWithZeroOp(BinaryOperator &I) { in simplifyDivRemOfSelectWithZeroOp() 680 Instruction *InstCombiner::commonIDivTransforms(BinaryOperator &I) { in commonIDivTransforms() 818 InstCombiner &IC); 847 const BinaryOperator &I, InstCombiner &IC) { in foldUDivPow2Cst() 860 InstCombiner &IC) { in foldUDivShl() 920 InstCombiner::BuilderTy &Builder) { in narrowUDivURem() [all …]
|
D | InstCombineAndOrXor.cpp | 56 InstCombiner::BuilderTy &Builder) { in getNewICmpValue() 66 InstCombiner::BuilderTy &Builder) { in getFCmpValue() 83 InstCombiner::BuilderTy &Builder) { in SimplifyBSwap() 117 Instruction *InstCombiner::OptAndOp(BinaryOperator *Op, in OptAndOp() 165 Value *InstCombiner::insertRangeTest(Value *V, const APInt &Lo, const APInt &Hi, in insertRangeTest() 445 llvm::InstCombiner::BuilderTy &Builder) { in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed() 576 llvm::InstCombiner::BuilderTy &Builder) { in foldLogOpOfMaskedICmpsAsymmetric() 607 llvm::InstCombiner::BuilderTy &Builder) { in foldLogOpOfMaskedICmps() 752 Value *InstCombiner::simplifyRangeCheck(ICmpInst *Cmp0, ICmpInst *Cmp1, in simplifyRangeCheck() 806 InstCombiner::BuilderTy &Builder) { in foldAndOrOfEqualityCmpsWithConstants() [all …]
|
D | InstCombineShifts.cpp | 34 Value *InstCombiner::reassociateShiftAmtsOfTwoSameDirectionShifts( in reassociateShiftAmtsOfTwoSameDirectionShifts() 180 InstCombiner::BuilderTy &Builder) { in dropRedundantMaskingOfLeftShiftInput() 324 InstCombiner::BuilderTy &Builder) { in foldShiftOfShiftedLogic() 363 Instruction *InstCombiner::commonShiftTransforms(BinaryOperator &I) { in commonShiftTransforms() 424 Instruction *InnerShift, InstCombiner &IC, in canEvaluateShiftedShift() 476 InstCombiner &IC, Instruction *CxtI) { in canEvaluateShifted() 550 InstCombiner::BuilderTy &Builder) { in foldShiftedShift() 612 InstCombiner &IC, const DataLayout &DL) { in getShiftedValue() 682 Instruction *InstCombiner::FoldShiftByConstant(Value *Op0, Constant *Op1, in FoldShiftByConstant() 925 Instruction *InstCombiner::visitShl(BinaryOperator &I) { in visitShl() [all …]
|
D | InstCombineSelect.cpp | 49 static Value *createMinMax(InstCombiner::BuilderTy &Builder, in createMinMax() 124 InstCombiner::BuilderTy &Builder) { in foldSelectICmpAnd() 282 Instruction *InstCombiner::foldSelectOpOp(SelectInst &SI, Instruction *TI, in foldSelectOpOp() 424 Instruction *InstCombiner::foldSelectIntoOp(SelectInst &SI, Value *TrueVal, in foldSelectIntoOp() 503 InstCombiner::BuilderTy &Builder) { in foldSelectICmpAndAnd() 541 InstCombiner::BuilderTy &Builder) { in foldSelectICmpLshrAshr() 589 InstCombiner::BuilderTy &Builder) { in foldSelectICmpAndOr() 683 InstCombiner::BuilderTy &Builder) { in canonicalizeSaturatedSubtract() 736 InstCombiner::BuilderTy &Builder) { in canonicalizeSaturatedAdd() 813 InstCombiner::BuilderTy &Builder) { in foldSelectCtlzToCttz() [all …]
|
D | InstCombineCompares.cpp | 145 Instruction *InstCombiner::foldCmpLoadFromIndexedGlobal(GetElementPtrInst *GEP, in foldCmpLoadFromIndexedGlobal() 425 static Value *evaluateGEPOffsetExpression(User *GEP, InstCombiner &IC, in evaluateGEPOffsetExpression() 844 Instruction *InstCombiner::foldGEPICmp(GEPOperator *GEPLHS, Value *RHS, in foldGEPICmp() 1024 Instruction *InstCombiner::foldAllocaCmp(ICmpInst &ICI, in foldAllocaCmp() 1102 Instruction *InstCombiner::foldICmpAddOpConst(Value *X, const APInt &C, in foldICmpAddOpConst() 1152 Instruction *InstCombiner::foldICmpShrConstConst(ICmpInst &I, Value *A, in foldICmpShrConstConst() 1211 Instruction *InstCombiner::foldICmpShlConstConst(ICmpInst &I, Value *A, in foldICmpShlConstConst() 1257 InstCombiner &IC) { in processUGT_ADDCST_ADD() 1318 InstCombiner::BuilderTy &Builder = IC.Builder; in processUGT_ADDCST_ADD() 1342 Instruction *InstCombiner::foldIRemByPowerOfTwoToBitTest(ICmpInst &I) { in foldIRemByPowerOfTwoToBitTest() [all …]
|
D | InstructionCombining.cpp | 161 Value *InstCombiner::EmitGEPOffset(User *GEP) { in EmitGEPOffset() 174 bool InstCombiner::shouldChangeType(unsigned FromWidth, in shouldChangeType() 202 bool InstCombiner::shouldChangeType(Type *From, Type *To) const { in shouldChangeType() 328 bool InstCombiner::SimplifyAssociativeOrCommutative(BinaryOperator &I) { in SimplifyAssociativeOrCommutative() 556 Value *InstCombiner::tryFactorization(BinaryOperator &I, in tryFactorization() 661 Value *InstCombiner::SimplifyUsingDistributiveLaws(BinaryOperator &I) { in SimplifyUsingDistributiveLaws() 775 Value *InstCombiner::SimplifySelectsFeedingBinaryOp(BinaryOperator &I, in SimplifySelectsFeedingBinaryOp() 828 Value *InstCombiner::dyn_castNegVal(Value *V) const { in dyn_castNegVal() 860 InstCombiner::BuilderTy &Builder) { in foldOperationIntoSelectOperand() 889 Instruction *InstCombiner::FoldOpIntoSelect(Instruction &Op, SelectInst *SI) { in FoldOpIntoSelect() [all …]
|
D | InstCombinePHI.cpp | 33 void InstCombiner::PHIArgMergedDebugLoc(Instruction *Inst, PHINode &PN) { in PHIArgMergedDebugLoc() 96 Instruction *InstCombiner::FoldIntegerTypedPHI(PHINode &PN) { in FoldIntegerTypedPHI() 295 Instruction *InstCombiner::FoldPHIArgBinOpIntoPHI(PHINode &PN) { in FoldPHIArgBinOpIntoPHI() 388 Instruction *InstCombiner::FoldPHIArgGEPIntoPHI(PHINode &PN) { in FoldPHIArgGEPIntoPHI() 543 Instruction *InstCombiner::FoldPHIArgLoadIntoPHI(PHINode &PN) { in FoldPHIArgLoadIntoPHI() 662 Instruction *InstCombiner::FoldPHIArgZextsIntoPHI(PHINode &Phi) { in FoldPHIArgZextsIntoPHI() 736 Instruction *InstCombiner::FoldPHIArgOpIntoPHI(PHINode &PN) { in FoldPHIArgOpIntoPHI() 963 Instruction *InstCombiner::SliceUpIllegalIntegerPHI(PHINode &FirstPhi) { in SliceUpIllegalIntegerPHI() 1139 Instruction *InstCombiner::visitPHINode(PHINode &PN) { in visitPHINode()
|
D | InstCombineAddSub.cpp | 179 FAddCombine(InstCombiner::BuilderTy &B) : Builder(B) {} in FAddCombine() 211 InstCombiner::BuilderTy &Builder; 770 InstCombiner::BuilderTy &Builder) { in checkForNegativeOperand() 827 InstCombiner::BuilderTy &Builder) { in foldNoWrapAdd() 866 Instruction *InstCombiner::foldAddWithConstant(BinaryOperator &Add) { in foldAddWithConstant() 1027 Value *InstCombiner::SimplifyAddWithRemainder(BinaryOperator &I) { in SimplifyAddWithRemainder() 1065 InstCombiner::BuilderTy &Builder) { in canonicalizeLowbitMask() 1105 InstCombiner::canonicalizeCondSignextOfHighBitExtractToSignextHighBitExtract( in canonicalizeCondSignextOfHighBitExtractToSignextHighBitExtract() 1205 Instruction *InstCombiner::visitAdd(BinaryOperator &I) { in visitAdd() 1416 InstCombiner::BuilderTy &Builder) { in factorizeLerp() [all …]
|
D | InstCombineCalls.cpp | 116 Instruction *InstCombiner::SimplifyAnyMemTransfer(AnyMemTransferInst *MI) { in SimplifyAnyMemTransfer() 233 Instruction *InstCombiner::SimplifyAnyMemSet(AnyMemSetInst *MI) { in SimplifyAnyMemSet() 293 InstCombiner::BuilderTy &Builder) { in simplifyX86immShift() 427 InstCombiner::BuilderTy &Builder) { in simplifyX86varShift() 551 InstCombiner::BuilderTy &Builder, bool IsSigned) { in simplifyX86pack() 617 InstCombiner::BuilderTy &Builder) { in simplifyX86movmsk() 647 InstCombiner::BuilderTy &Builder) { in simplifyX86addcarry() 674 InstCombiner::BuilderTy &Builder) { in simplifyX86insertps() 734 InstCombiner::BuilderTy &Builder) { in simplifyX86extrq() 828 InstCombiner::BuilderTy &Builder) { in simplifyX86insertq() [all …]
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPUTargetTransformInfo.h | 36 class InstCombiner; variable 235 InstCombiner &IC) const; 236 Optional<Instruction *> instCombineIntrinsic(InstCombiner &IC, 239 InstCombiner &IC, IntrinsicInst &II, APInt DemandedElts, APInt &UndefElts,
|
/external/llvm-project/llvm/lib/Target/X86/ |
D | X86TargetTransformInfo.h | 25 class InstCombiner; variable 156 Optional<Instruction *> instCombineIntrinsic(InstCombiner &IC, 159 simplifyDemandedUseBitsIntrinsic(InstCombiner &IC, IntrinsicInst &II, 163 InstCombiner &IC, IntrinsicInst &II, APInt DemandedElts, APInt &UndefElts,
|
D | X86InstCombineIntrinsic.cpp | 56 static Instruction *simplifyX86MaskedLoad(IntrinsicInst &II, InstCombiner &IC) { in simplifyX86MaskedLoad() 86 static bool simplifyX86MaskedStore(IntrinsicInst &II, InstCombiner &IC) { in simplifyX86MaskedStore() 120 InstCombiner::BuilderTy &Builder) { in simplifyX86immShift() 302 InstCombiner::BuilderTy &Builder) { in simplifyX86varShift() 439 InstCombiner::BuilderTy &Builder, bool IsSigned) { in simplifyX86pack() 505 InstCombiner::BuilderTy &Builder) { in simplifyX86movmsk() 535 InstCombiner::BuilderTy &Builder) { in simplifyX86addcarry() 562 InstCombiner::BuilderTy &Builder) { in simplifyX86insertps() 622 InstCombiner::BuilderTy &Builder) { in simplifyX86extrq() 713 InstCombiner::BuilderTy &Builder) { in simplifyX86insertq() [all …]
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 50 static Value *createMinMax(InstCombiner::BuilderTy &Builder, in createMinMax() 125 InstCombiner::BuilderTy &Builder) { in foldSelectICmpAnd() 483 InstCombiner::BuilderTy &Builder) { in foldSelectICmpAndAnd() 521 InstCombiner::BuilderTy &Builder) { in foldSelectICmpLshrAshr() 569 InstCombiner::BuilderTy &Builder) { in foldSelectICmpAndOr() 660 InstCombiner::BuilderTy &Builder) { in foldSetClearBits() 695 InstCombiner::BuilderTy &Builder) { in canonicalizeSaturatedSubtract() 748 InstCombiner::BuilderTy &Builder) { in canonicalizeSaturatedAdd() 827 InstCombiner::BuilderTy &Builder) { in foldSelectCtlzToCttz() 865 InstCombiner::BuilderTy &Builder) { in foldSelectCttzCtlz() [all …]
|
D | InstCombineNegator.cpp | 125 if (I->isCommutative() && InstCombiner::getComplexity(I->getOperand(0)) < in getSortedOperandsOfBinOp() 126 InstCombiner::getComplexity(I->getOperand(1))) in getSortedOperandsOfBinOp() 168 InstCombiner::BuilderTy::InsertPointGuard Guard(Builder); in visitImpl() 515 InstCombiner::BuilderTy::InsertPointGuard Guard(IC.Builder); in Negate()
|