Home
last modified time | relevance | path

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

12

/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopBoundSplit.cpp33 ICmpInst *ICmp = nullptr; member
51 static void analyzeICmp(ScalarEvolution &SE, ICmpInst *ICmp, in analyzeICmp() argument
126 ICmpInst *ICmp, ConditionInfo &Cond, in hasProcessableCondition() argument
215 ICmpInst *ICmp = cast<ICmpInst>(ExitingBI->getCondition()); canSplitLoopBound() local
264 ICmpInst *ICmp = cast<ICmpInst>(BI->getCondition()); findSplitCandidate() local
[all...]
H A DIndVarSimplify.cpp1265 ICmpInst::Predicate Pred = ICmp->getPredicate(); in createReplacement() argument
704 ICmpInst *ICmp = dyn_cast<ICmpInst>(BI->getCondition()); isLoopExitTestBasedOn() local
1363 if (auto *ICmp = dyn_cast<ICmpInst>(Curr)) optimizeLoopExitWithUnknownExitCount() local
1376 for (auto *ICmp : LeafConditions) { optimizeLoopExitWithUnknownExitCount() local
1445 auto *ICmp = dyn_cast<ICmpInst>(BI->getCondition()); canonicalizeExitCondition() local
1491 auto *ICmp = dyn_cast<ICmpInst>(BI->getCondition()); canonicalizeExitCondition() local
[all...]
H A DLoopDeletion.cpp335 auto *ICmp = dyn_cast<ICmpInst>(Cond); in canProveExitOnFirstIteration() local
H A DCorrelatedValuePropagation.cpp334 if (auto *ICmp = dyn_cast<ICmpInst>(Cmp)) processCmp() local
H A DLICM.cpp2535 hoistAdd(ICmpInst::Predicate Pred,Value * VariantLHS,Value * InvariantRHS,ICmpInst & ICmp,Loop & L,ICFLoopSafetyInfo & SafetyInfo,MemorySSAUpdater & MSSAU,AssumptionCache * AC,DominatorTree * DT) hoistAdd() argument
2582 hoistSub(ICmpInst::Predicate Pred,Value * VariantLHS,Value * InvariantRHS,ICmpInst & ICmp,Loop & L,ICFLoopSafetyInfo & SafetyInfo,MemorySSAUpdater & MSSAU,AssumptionCache * AC,DominatorTree * DT) hoistSub() argument
[all...]
/llvm-project/llvm/lib/Target/BPF/
H A DBPFCheckAndAdjustIR.cpp166 Call->replaceAllUsesWith(ICmp); in removeCompareBuiltin() local
256 if (!ICmp in sinkMinMaxInBB() local
176 ICmpInst *ICmp; global() member
274 ICmpInst *ICmp = Info.ICmp; sinkMinMaxInBB() local
[all...]
/llvm-project/llvm/unittests/Analysis/
H A DCaptureTrackingTest.cpp108 Instruction *ICmp = CmpXChg->getNextNode(); in TEST() local
/llvm-project/llvm/unittests/Transforms/Vectorize/
H A DVPlanHCFGTest.cpp91 VPInstruction *ICmp = dyn_cast<VPInstruction>(&*Iter++); TEST_F() local
/llvm-project/llvm/lib/CodeGen/
H A DHardwareLoops.cpp416 LLVM_DEBUG(dbgs() << " - Found condition: " << *ICmp << "\n"); in CanGenerateTest() local
421 if (auto *Const = dyn_cast<ConstantInt>(ICmp->getOperand(OpIdx))) in CanGenerateTest() argument
[all...]
H A DTypePromotion.cpp268 if (auto *ICmp = dyn_cast<ICmpInst>(V)) in isSink() local
985 } else if (auto *ICmp = dyn_cast<ICmpInst>(&I)) { run() local
[all...]
/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTDC.cpp374 Value *ICmp = IRB.CreateICmp(CmpInst::ICMP_NE, TDC, Zero32); runOnFunction() local
/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp202 bool SimplifyIndvar::makeIVComparisonInvariant(ICmpInst *ICmp, in makeIVComparisonInvariant() argument
249 eliminateIVComparison(ICmpInst * ICmp,Instruction * IVOperand) eliminateIVComparison() argument
352 ICmpInst *ICmp = new ICmpInst(Rem->getIterator(), ICmpInst::ICMP_EQ, N, D); replaceRemWithNumeratorOrZero() local
594 if (ICmpInst *ICmp = dyn_cast<ICmpInst>(UseInst)) { eliminateIVUser() local
1702 if (auto *ICmp = dyn_cast<ICmpInst>(User)) { widenWithVariantUse() local
[all...]
H A DScalarEvolutionExpander.cpp1374 Value *ICmp = expandMinMaxExpr() local
/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp429 if (const auto *ICmp = dyn_cast<ICmpInst>(V)) getRegForI1Value() local
1034 const auto *ICmp = cast<ICmpInst>(I); selectICmp() local
[all...]
/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp1963 if (!ICmp || in addToMergedCondition() local
1507 negateICmpIfUsedByBranchOrSelectOnly(ICmpInst * ICmp,Instruction * ExcludedUser,CHRScope * Scope) negateICmpIfUsedByBranchOrSelectOnly() argument
[all...]
/llvm-project/llvm/unittests/FuzzMutate/
H A DStrategiesTest.cpp247 TEST(InstModificationIRStrategyTest, ICmp) { in TEST() argument
/llvm-project/polly/lib/Support/
H A DSCEVValidator.cpp644 if (auto *ICmp = dyn_cast<ICmpInst>(V)) { in isAffineConstraint() local
/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp861 auto *ICmp = dyn_cast<ICmpInst>(U->getUser()); foldAllocaCmp() local
5737 if (Instruction *ICmp = foldICmpIntrinsicWithIntrinsic(I, Builder)) foldICmpEquality() local
5820 foldICmpWithTrunc(ICmpInst & ICmp) foldICmpWithTrunc() argument
5880 foldICmpWithZextOrSext(ICmpInst & ICmp) foldICmpWithZextOrSext() argument
5993 foldICmpWithCastOp(ICmpInst & ICmp) foldICmpWithCastOp() argument
[all...]
H A DInstCombineAndOrXor.cpp781 __anon78e012730402(ICmpInst *ICmp, Value *&X, APInt &SignBitMask) foldSignedTruncationCheck() argument
809 __anon78e012730502(ICmpInst *ICmp, Value *&X, APInt &UnsetBitsMask) foldSignedTruncationCheck() argument
[all...]
/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp1190 if (ICmpInst *ICmp = dyn_cast<ICmpInst>(UseInst)) { in collectUsesWithPtrTypes() local
/llvm-project/llvm/bindings/ocaml/llvm/
H A Dllvm.ml228 | ICmp Constructor
/llvm-project/polly/lib/Analysis/
H A DScopDetection.cpp615 ICmpInst *ICmp = cast<ICmpInst>(Condition); isValidBranch() local
[all...]
/llvm-project/llvm/unittests/IR/
H A DPatternMatch.cpp2238 TYPED_TEST(MutableConstTest,ICmp) TYPED_TEST() argument
/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp7059 auto ICmp = B.buildICmp(NewPred, CmpTy, Add, NewCon); tryFoldAndOrOrICmpsUsingRanges() local
7065 auto ICmp = B.buildICmp(NewPred, CmpTy, And, NewCon); tryFoldAndOrOrICmpsUsingRanges() local
7071 auto ICmp = B.buildICmp(NewPred, CmpTy, Add, NewCon); tryFoldAndOrOrICmpsUsingRanges() local
7075 auto ICmp = B.buildICmp(NewPred, CmpTy, R1, NewCon); tryFoldAndOrOrICmpsUsingRanges() local
/llvm-project/llvm/lib/Transforms/IPO/
H A DLowerTypeTests.cpp1411 Value *ICmp = Builder.CreateICmp(CmpInst::ICMP_NE, F, replaceWeakDeclarationWithJumpTablePtr() local

12