/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | InlineCost.cpp | 475 bool visitCmpInst(CmpInst &I); 2025 bool CallAnalyzer::visitCmpInst(CmpInst &I) { in visitCmpInst() 2054 auto isImplicitNullCheckCmp = [](const CmpInst &I) { in visitCmpInst() 2066 bool IsNotEqual = I.getPredicate() == CmpInst::ICMP_NE; in visitCmpInst()
|
H A D | MustExecute.cpp | 132 auto *Cond = dyn_cast<CmpInst>(BI->getCondition()); in CanProveNotTakenFirstIteration()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86InstrInfo.h | 42 std::pair<CondCode, bool> getX86ConditionCode(CmpInst::Predicate Predicate);
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopRerollPass.cpp | 459 if (!isa<BranchInst>(TI) || !isa<CmpInst>(I)) in isCompareUsedByBranch() 1454 new ICmpInst(BI, CmpInst::ICMP_EQ, NewIV, TakenCount, "exitcond"); in replace()
|
H A D | LoopInterchange.cpp | 636 if (CmpInst *InnerLoopCmp = in isLoopStructureUnderstood() 637 dyn_cast<CmpInst>(InnerLoopLatchBI->getCondition())) { in isLoopStructureUnderstood()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | FunctionLoweringInfo.cpp | 68 if (const auto *CI = dyn_cast<CmpInst>(U.getUser())) { in getPreferredExtendForValue()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SimplifyIndVar.cpp | 2036 CmpInst::Predicate Pred; in calculatePostIncRange() 2042 CmpInst::Predicate P = in calculatePostIncRange() 2043 TrueDest ? Pred : CmpInst::getInversePredicate(Pred); in calculatePostIncRange()
|
H A D | BasicBlockUtils.cpp | 2193 if (NewCond->hasOneUse() && isa<CmpInst>(NewCond)) { in InvertBranch() 2194 CmpInst *CI = cast<CmpInst>(NewCond); in InvertBranch()
|
H A D | LowerMemIntrinsics.cpp | 479 if (SE->isKnownPredicateAt(CmpInst::ICMP_NE, SrcSCEV, DestSCEV, Memcpy)) in canOverlap()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | VPlanRecipes.cpp | 256 VPInstruction::VPInstruction(unsigned Opcode, CmpInst::Predicate Pred, in VPInstruction() 347 Value *Cmp = Builder.CreateICmp(CmpInst::Predicate::ICMP_UGT, ScalarTC, Step); in generateInstruction() 718 O << " " << CmpInst::getPredicateName(getPredicate()); in printFlags()
|
H A D | LoopVectorize.cpp | 4084 CmpInst::BAD_ICMP_PREDICATE, CostKind); in getDivRemSpeculationCost() 5241 CmpInst::ICMP_UGT, in selectEpilogueVectorizationFactor() 6952 CmpInst::BAD_ICMP_PREDICATE, CostKind); in getInstructionCost() 7055 CmpInst::Predicate Pred = CmpInst::BAD_ICMP_PREDICATE; in getInstructionCost() 7056 if (auto *Cmp = dyn_cast<CmpInst>(SI->getCondition())) in getInstructionCost() 7069 cast<CmpInst>(I)->getPredicate(), CostKind, in getInstructionCost() 7267 VPValue *VPBuilder::createICmp(CmpInst::Predicate Pred, VPValue *A, VPValue *B, in createICmp() 7269 assert(Pred >= CmpInst::FIRST_ICMP_PREDICATE && in createICmp() 7270 Pred <= CmpInst::LAST_ICMP_PREDICATE && "invalid predicate"); in createICmp() 8071 BlockMask = Builder.createICmp(CmpInst::ICMP_ULE, IV, BTC); in createHeaderMask() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 1432 CmpInst::Predicate Pred; in constantFoldOperationIntoSelectOperand() 2304 if (auto *I = dyn_cast<CmpInst>(V)) { in getFreelyInvertedImpl() 3259 CmpInst::Predicate Pred; in visitBranchInst() 3263 auto *Cmp = cast<CmpInst>(Cond); in visitBranchInst() 3264 Cmp->setPredicate(CmpInst::getInversePredicate(Pred)); in visitBranchInst() 3463 CmpInst::Predicate Pred; in foldExtractOfOverflowIntrinsic()
|
H A D | InstCombineVectorOps.cpp | 89 CmpInst::Predicate UnusedPred; in cheapToScalarize() 484 CmpInst::Predicate Pred; in visitExtractElementInst() 490 return CmpInst::Create(cast<CmpInst>(SrcVec)->getOpcode(), Pred, E0, E1); in visitExtractElementInst()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | SafepointIRVerifier.cpp | 816 } else if (isa<CmpInst>(I) && in verifyInstruction()
|
H A D | IRBuilder.cpp | 1056 CmpInst::Predicate P, Value *LHS, Value *RHS, const Twine &Name, in CreateFCmpHelper() 1071 Intrinsic::ID ID, CmpInst::Predicate P, Value *L, Value *R, in CreateConstrainedFPCmp()
|
H A D | IntrinsicInst.cpp | 775 CmpInst::Predicate VPCmpIntrinsic::getPredicate() const { in getPredicate()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | CombinerHelper.h | 896 unsigned getFPMinMaxOpcForSelect(CmpInst::Predicate Pred, LLT DstTy,
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | MachineInstrBuilder.h | 258 const MachineInstrBuilder &addPredicate(CmpInst::Predicate Pred) const { in addPredicate()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/ |
H A D | RISCVLegalizerInfo.cpp | 492 MIB.buildICmp(CmpInst::ICMP_NE, GISFPCLASS, And, ConstZero); in legalizeCustom()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPURegisterBankInfo.cpp | 917 auto CmpReg = B.buildICmp(CmpInst::ICMP_EQ, S1, CurrentLaneParts[i], in executeInWaterfallLoop() 1632 Carry = B.buildICmp(CmpInst::ICMP_SLT, MulHiInVgpr ? S1 : S32, DstHi, Zero) in applyMappingMAD_64_32() 1658 auto Src2Sign = B.buildICmp(CmpInst::ICMP_SLT, CarryType, Src2Hi, Zero); in applyMappingMAD_64_32() 1978 auto Cmp = B.buildICmp(CmpInst::ICMP_EQ, CCTy, Idx, IC); in foldExtractEltToCmpSelect() 2079 auto Cmp = B.buildICmp(CmpInst::ICMP_EQ, CCTy, Idx, IC); in foldInsertEltToCmpSelect() 4235 static_cast<CmpInst::Predicate>(MI.getOperand(1).getPredicate()); in getInstrMapping() 4238 (Pred == CmpInst::ICMP_EQ || Pred == CmpInst::ICMP_NE) && in getInstrMapping()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGExprAgg.cpp | 996 llvm::CmpInst::Predicate FCmp; in EmitCompare() 997 llvm::CmpInst::Predicate SCmp; in EmitCompare() 998 llvm::CmpInst::Predicate UCmp; in EmitCompare()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | OpenMPOpt.cpp | 2925 auto *Cmp = dyn_cast<CmpInst>(Edge->getCondition()); in isInitialThreadOnlyEdge() 4208 ICmpInst::Create(ICmpInst::ICmp, CmpInst::ICMP_NE, ThreadIdInBlock, in forceSingleThreadPerWorkgroupHelper() 4456 ICmpInst::Create(ICmpInst::ICmp, llvm::CmpInst::ICMP_NE, KernelInitCB, in buildCustomStateMachine() 4481 ICmpInst::ICmp, llvm::CmpInst::ICMP_SLT, KernelInitCB, BlockSize, in buildCustomStateMachine() 4536 ICmpInst::Create(ICmpInst::ICmp, llvm::CmpInst::ICMP_EQ, WorkFn, in buildCustomStateMachine() 4580 ICmpInst::ICmp, llvm::CmpInst::ICMP_EQ, WorkFn, ParallelRegion, in buildCustomStateMachine()
|
H A D | AttributorAttributes.cpp | 1804 if (auto *CmpI = dyn_cast<CmpInst>(LoadU.getUser())) { in updateImpl() 5559 if (isa<LoadInst>(UserI) || isa<CmpInst>(UserI) || in updateImpl() 9233 if (isa<BinaryOperator>(&V) || isa<CmpInst>(&V) || isa<CastInst>(&V)) in initialize() 9345 calculateCmpInst(Attributor &A, CmpInst *CmpI, IntegerRangeState &T, in calculateCmpInst() 9461 } else if (auto *CmpI = dyn_cast<CmpInst>(I)) { in updateImpl() 10987 CmpInst::Predicate Pred, ItemInfo II, in handleCmp() 11035 (CmpInst::isTrueWhenEqual(Pred) || CmpInst::isFalseWhenEqual(Pred))) { in handleCmp() 11037 CmpInst::isTrueWhenEqual(Pred)); in handleCmp() 11055 if (!CmpInst::isEquality(Pred)) in handleCmp() 11303 if (auto *CI = dyn_cast<CmpInst>(&I)) in simplifyInstruction() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | TargetTransformInfo.h | 1347 CmpInst::Predicate VecPred, 1992 CmpInst::Predicate VecPred, 2622 CmpInst::Predicate VecPred, in getCmpSelInstrCost()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ExpandVectorPredication.cpp | 249 return Builder.CreateICmp(CmpInst::ICMP_ULT, IdxVec, VLSplat); in convertEVLToMask()
|