Home
last modified time | relevance | path

Searched defs:ICmp (Results 1 – 25 of 45) sorted by relevance

12

/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/Scalar/
H A DLoopBoundSplit.cpp33 ICmpInst *ICmp = nullptr; member
51 static void analyzeICmp(ScalarEvolution &SE, ICmpInst *ICmp, in analyzeICmp()
126 ICmpInst *ICmp, ConditionInfo &Cond, in hasProcessableCondition()
215 ICmpInst *ICmp = cast<ICmpInst>(ExitingBI->getCondition()); in canSplitLoopBound() local
264 ICmpInst *ICmp = cast<ICmpInst>(BI->getCondition()); in findSplitCandidate() local
H A DIndVarSimplify.cpp704 ICmpInst *ICmp = dyn_cast<ICmpInst>(BI->getCondition()); in isLoopExitTestBasedOn() local
1375 createReplacement(ICmpInst *ICmp, const Loop *L, BasicBlock *ExitingBB, in createReplacement()
1473 if (auto *ICmp = dyn_cast<ICmpInst>(Curr)) in optimizeLoopExitWithUnknownExitCount() local
1486 for (auto *ICmp : LeafConditions) { in optimizeLoopExitWithUnknownExitCount() local
1556 auto *ICmp = dyn_cast<ICmpInst>(BI->getCondition()); in canonicalizeExitCondition() local
1602 auto *ICmp = dyn_cast<ICmpInst>(BI->getCondition()); in canonicalizeExitCondition() local
H A DLoopDeletion.cpp337 auto *ICmp = dyn_cast<ICmpInst>(Cond); in canProveExitOnFirstIteration() local
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp175 bool SimplifyIndvar::makeIVComparisonInvariant(ICmpInst *ICmp, in makeIVComparisonInvariant()
245 void SimplifyIndvar::eliminateIVComparison(ICmpInst *ICmp, Value *IVOperand) { in eliminateIVComparison()
344 ICmpInst *ICmp = new ICmpInst(Rem, ICmpInst::ICMP_EQ, N, D); in replaceRemWithNumeratorOrZero() local
618 if (ICmpInst *ICmp = dyn_cast<ICmpInst>(UseInst)) { in eliminateIVUser() local
/aosp_15_r20/external/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp150 void SimplifyIndvar::eliminateIVComparison(ICmpInst *ICmp, Value *IVOperand) { in eliminateIVComparison()
303 ICmpInst *ICmp = new ICmpInst(Rem, ICmpInst::ICMP_EQ, in eliminateIVRemainder() local
425 if (ICmpInst *ICmp = dyn_cast<ICmpInst>(UseInst)) { in eliminateIVUser() local
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp191 bool SimplifyIndvar::makeIVComparisonInvariant(ICmpInst *ICmp, in makeIVComparisonInvariant()
235 void SimplifyIndvar::eliminateIVComparison(ICmpInst *ICmp, in eliminateIVComparison()
336 ICmpInst *ICmp = new ICmpInst(Rem, ICmpInst::ICMP_EQ, N, D); in replaceRemWithNumeratorOrZero() local
576 if (ICmpInst *ICmp = dyn_cast<ICmpInst>(UseInst)) { in eliminateIVUser() local
1560 if (auto *ICmp = dyn_cast<ICmpInst>(User)) { in widenWithVariantUse() local
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
H A DHardwareLoops.cpp356 auto ICmp = cast<ICmpInst>(BI->getCondition()); in CanGenerateTest() local
361 auto IsCompareZero = [](ICmpInst *ICmp, Value *Count, unsigned OpIdx) { in CanGenerateTest()
H A DTypePromotion.cpp268 if (auto *ICmp = dyn_cast<ICmpInst>(V)) in isSink() local
965 auto *ICmp = cast<ICmpInst>(&I); in runOnFunction() local
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/CodeGen/
H A DHardwareLoops.cpp354 auto ICmp = cast<ICmpInst>(BI->getCondition()); in CanGenerateTest() local
359 auto IsCompareZero = [](ICmpInst *ICmp, Value *Count, unsigned OpIdx) { in CanGenerateTest()
H A DTypePromotion.cpp269 if (auto *ICmp = dyn_cast<ICmpInst>(V)) in isSink() local
974 } else if (auto *ICmp = dyn_cast<ICmpInst>(&I)) { in run() local
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
H A DScalarEvolutionExpander.cpp1673 Value *ICmp = Builder.CreateICmpSGT(LHS, RHS); in visitSMaxExpr() local
1698 Value *ICmp = Builder.CreateICmpUGT(LHS, RHS); in visitUMaxExpr() local
1723 Value *ICmp = Builder.CreateICmpSLT(LHS, RHS); in visitSMinExpr() local
1748 Value *ICmp = Builder.CreateICmpULT(LHS, RHS); in visitUMinExpr() local
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/BPF/
H A DBPFCheckAndAdjustIR.cpp155 auto *ICmp = new ICmpInst(Opcode, Arg1, Arg2); in removeCompareBuiltin() local
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp420 if (const auto *ICmp = dyn_cast<ICmpInst>(V)) in getRegForI1Value() local
1000 const auto *ICmp = cast<ICmpInst>(I); in selectICmp() local
/aosp_15_r20/external/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp366 if (const ICmpInst *ICmp = dyn_cast<ICmpInst>(V)) in getRegForI1Value() local
819 const ICmpInst *ICmp = cast<ICmpInst>(I); in selectICmp() local
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp425 if (const auto *ICmp = dyn_cast<ICmpInst>(V)) in getRegForI1Value() local
1027 const auto *ICmp = cast<ICmpInst>(I); in selectICmp() local
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
H A DSystemZTDC.cpp364 Value *ICmp = IRB.CreateICmp(CmpInst::ICMP_NE, TDC, Zero32); in runOnFunction() local
/aosp_15_r20/external/llvm/lib/Target/SystemZ/
H A DSystemZTDC.cpp364 Value *ICmp = IRB.CreateICmp(CmpInst::ICMP_NE, TDC, Zero32); in runOnFunction() local
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/SystemZ/
H A DSystemZTDC.cpp374 Value *ICmp = IRB.CreateICmp(CmpInst::ICMP_NE, TDC, Zero32); in runOnFunction() local
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp1507 static bool negateICmpIfUsedByBranchOrSelectOnly(ICmpInst *ICmp, in negateICmpIfUsedByBranchOrSelectOnly()
1959 auto *ICmp = dyn_cast<ICmpInst>(Cond); in addToMergedCondition() local
/aosp_15_r20/external/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp582 if (ICmpInst *ICmp = dyn_cast<ICmpInst>(UseInst)) { in collectUsesWithPtrTypes() local
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp568 if (ICmpInst *ICmp = dyn_cast<ICmpInst>(UseInst)) { in collectUsesWithPtrTypes() local
H A DAMDGPUInstructionSelector.cpp755 MachineInstr *ICmp = BuildMI(*BB, &I, DL, TII.get(Opcode)) in selectG_ICMP() local
771 MachineInstr *ICmp = BuildMI(*BB, &I, DL, TII.get(Opcode), in selectG_ICMP() local
/aosp_15_r20/external/llvm/lib/Analysis/
H A DScalarEvolutionExpander.cpp1574 Value *ICmp = Builder.CreateICmpSGT(LHS, RHS); in visitSMaxExpr() local
1598 Value *ICmp = Builder.CreateICmpUGT(LHS, RHS); in visitUMaxExpr() local
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp1529 static bool negateICmpIfUsedByBranchOrSelectOnly(ICmpInst *ICmp, in negateICmpIfUsedByBranchOrSelectOnly()
1969 if (auto *ICmp = dyn_cast<ICmpInst>(Cond)) in addToMergedCondition() local
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp4740 if (Instruction *ICmp = foldICmpIntrinsicWithIntrinsic(I)) in foldICmpEquality() local
4800 static Instruction *foldICmpWithTrunc(ICmpInst &ICmp, in foldICmpWithTrunc()
4842 Instruction *InstCombinerImpl::foldICmpWithZextOrSext(ICmpInst &ICmp) { in foldICmpWithZextOrSext()
4946 Instruction *InstCombinerImpl::foldICmpWithCastOp(ICmpInst &ICmp) { in foldICmpWithCastOp()

12