Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/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
1265 createReplacement(ICmpInst *ICmp, const Loop *L, BasicBlock *ExitingBB, in createReplacement()
1363 if (auto *ICmp = dyn_cast<ICmpInst>(Curr)) in optimizeLoopExitWithUnknownExitCount() local
1376 for (auto *ICmp : LeafConditions) { in optimizeLoopExitWithUnknownExitCount() local
1445 auto *ICmp = dyn_cast<ICmpInst>(BI->getCondition()); in canonicalizeExitCondition() local
1491 auto *ICmp = dyn_cast<ICmpInst>(BI->getCondition()); in canonicalizeExitCondition() local
H A DLoopDeletion.cpp335 auto *ICmp = dyn_cast<ICmpInst>(Cond); in canProveExitOnFirstIteration() local
H A DCorrelatedValuePropagation.cpp334 if (auto *ICmp = dyn_cast<ICmpInst>(Cmp)) in processCmp() local
H A DLICM.cpp2538 Value *InvariantRHS, ICmpInst &ICmp, Loop &L, in hoistAdd()
2585 Value *InvariantRHS, ICmpInst &ICmp, Loop &L, in hoistSub()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFCheckAndAdjustIR.cpp166 auto *ICmp = new ICmpInst(Opcode, Arg1, Arg2); in removeCompareBuiltin() local
176 ICmpInst *ICmp; member
256 ICmpInst *ICmp = dyn_cast<ICmpInst>(&I); in sinkMinMaxInBB() local
274 ICmpInst *ICmp = Info.ICmp; in sinkMinMaxInBB() local
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DHardwareLoops.cpp416 auto ICmp = cast<ICmpInst>(BI->getCondition()); in CanGenerateTest() local
421 auto IsCompareZero = [](ICmpInst *ICmp, Value *Count, unsigned OpIdx) { in CanGenerateTest()
H A DTypePromotion.cpp268 if (auto *ICmp = dyn_cast<ICmpInst>(V)) in isSink() local
985 } else if (auto *ICmp = dyn_cast<ICmpInst>(&I)) { in run() local
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTDC.cpp374 Value *ICmp = IRB.CreateICmp(CmpInst::ICMP_NE, TDC, Zero32); in runOnFunction() local
H A DSystemZISelLowering.cpp7590 auto *ICmp = CCReg.getNode(); in combineCCMask() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp202 bool SimplifyIndvar::makeIVComparisonInvariant(ICmpInst *ICmp, in makeIVComparisonInvariant()
249 void SimplifyIndvar::eliminateIVComparison(ICmpInst *ICmp, in eliminateIVComparison()
352 ICmpInst *ICmp = new ICmpInst(Rem->getIterator(), ICmpInst::ICMP_EQ, N, D); in replaceRemWithNumeratorOrZero() local
596 if (ICmpInst *ICmp = dyn_cast<ICmpInst>(UseInst)) { in eliminateIVUser() local
1704 if (auto *ICmp = dyn_cast<ICmpInst>(User)) { in widenWithVariantUse() local
H A DScalarEvolutionExpander.cpp1374 Value *ICmp = in expandMinMaxExpr() local
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp429 if (const auto *ICmp = dyn_cast<ICmpInst>(V)) in getRegForI1Value() local
1034 const auto *ICmp = cast<ICmpInst>(I); in selectICmp() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp1507 static bool negateICmpIfUsedByBranchOrSelectOnly(ICmpInst *ICmp, in negateICmpIfUsedByBranchOrSelectOnly()
1963 auto *ICmp = dyn_cast<ICmpInst>(Cond); in addToMergedCondition() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp861 auto *ICmp = dyn_cast<ICmpInst>(U->getUser()); in foldAllocaCmp() local
5737 if (Instruction *ICmp = foldICmpIntrinsicWithIntrinsic(I, Builder)) in foldICmpEquality() local
5820 Instruction *InstCombinerImpl::foldICmpWithTrunc(ICmpInst &ICmp) { in foldICmpWithTrunc()
5880 Instruction *InstCombinerImpl::foldICmpWithZextOrSext(ICmpInst &ICmp) { in foldICmpWithZextOrSext()
5993 Instruction *InstCombinerImpl::foldICmpWithCastOp(ICmpInst &ICmp) { in foldICmpWithCastOp()
H A DInstCombineAndOrXor.cpp820 APInt &SignBitMask) -> bool { in foldSignedTruncationCheck()
848 APInt &UnsetBitsMask) -> bool { in foldSignedTruncationCheck()
H A DInstructionCombining.cpp1756 const ICmpInst *ICmp = dyn_cast<ICmpInst>(&I); in simplifyInstructionWithPHI() local
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp1190 if (ICmpInst *ICmp = dyn_cast<ICmpInst>(UseInst)) { in collectUsesWithPtrTypes() local
H A DAMDGPUInstructionSelector.cpp1313 MachineInstr *ICmp = BuildMI(*BB, &I, DL, TII.get(Opcode)) in selectG_ICMP_or_FCMP() local
1332 MachineInstr *ICmp = BuildMI(*BB, &I, DL, TII.get(Opcode), in selectG_ICMP_or_FCMP() local
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp7115 auto ICmp = B.buildICmp(NewPred, CmpTy, Add, NewCon); in tryFoldAndOrOrICmpsUsingRanges() local
7121 auto ICmp = B.buildICmp(NewPred, CmpTy, And, NewCon); in tryFoldAndOrOrICmpsUsingRanges() local
7127 auto ICmp = B.buildICmp(NewPred, CmpTy, Add, NewCon); in tryFoldAndOrOrICmpsUsingRanges() local
7131 auto ICmp = B.buildICmp(NewPred, CmpTy, R1, NewCon); in tryFoldAndOrOrICmpsUsingRanges() local
H A DLegalizerHelper.cpp6423 auto ICmp = MIRBuilder.buildICmp( in lowerBitCount() local
6471 auto ICmp = MIRBuilder.buildICmp( in lowerBitCount() local
8581 auto ICmp = MIRBuilder.buildICmp(CmpInst::ICMP_SGT, IType, SrcReg, Zero); in lowerAbsToCNeg() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DLowerTypeTests.cpp1411 Value *ICmp = Builder.CreateICmp(CmpInst::ICMP_NE, F, in replaceWeakDeclarationWithJumpTablePtr() local
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp1702 MachineInstr &I, MachineInstr &ICmp, MachineIRBuilder &MIB) const { in tryOptCompareBranchFedByICmp()
1797 MachineInstr &I, MachineInstr &ICmp, MachineIRBuilder &MIB) const { in selectCompareBranchFedByICmp()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionSimplify.cpp2843 if (auto *ICmp = dyn_cast<ICmpInst>(U->getUser())) { in computePointerICmp() local
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp21174 Value *ICmp = Builder.CreateICmpSLT(Vec, Zero, "abscond"); in EmitWebAssemblyBuiltinExpr() local
21191 Value *ICmp; in EmitWebAssemblyBuiltinExpr() local

12