Home
last modified time | relevance | path

Searched refs:CtxI (Results 1 – 25 of 35) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLoads.cpp37 const DataLayout &DL, const Instruction *CtxI, AssumptionCache *AC, in isDereferenceableAndAlignedPointerViaAssumption() argument
44 if (!CtxI || Ptr->canBeFreed()) in isDereferenceableAndAlignedPointerViaAssumption()
54 if (!isValidAssumeForContext(Assume, CtxI, DT)) in isDereferenceableAndAlignedPointerViaAssumption()
72 const Instruction *CtxI, AssumptionCache *AC, const DominatorTree *DT, in isDereferenceableAndAlignedPointer() argument
108 CtxI, AC, DT, TLI, Visited, MaxDepth); in isDereferenceableAndAlignedPointer()
115 BC->getOperand(0), Alignment, Size, DL, CtxI, AC, DT, TLI, in isDereferenceableAndAlignedPointer()
122 Size, DL, CtxI, AC, DT, TLI, in isDereferenceableAndAlignedPointer()
125 Size, DL, CtxI, AC, DT, TLI, in isDereferenceableAndAlignedPointer()
136 !isKnownNonZero(V, SimplifyQuery(DL, DT, AC, CtxI))) in isDereferenceableAndAlignedPointer()
148 return CtxI && isValidAssumeForContext(I, CtxI, DT); in isDereferenceableAndAlignedPointer()
[all …]
H A DAssumeBundleQueries.cpp189 AssumptionCache &AC, const Instruction *CtxI, const DominatorTree *DT) { in getKnowledgeValidInContext() argument
192 return isValidAssumeForContext(I, CtxI, DT); in getKnowledgeValidInContext()
H A DGlobalsModRef.cpp717 const Instruction *CtxI) { in isNonEscapingGlobalNoAlias() argument
772 if (CtxI) in isNonEscapingGlobalNoAlias()
775 const Function *F = CtxI->getFunction(); in isNonEscapingGlobalNoAlias()
838 AAQueryInfo &AAQI, const Instruction *CtxI) { in alias() argument
874 if (isNonEscapingGlobalNoAlias(GV, UV, CtxI)) in alias()
H A DScalarEvolution.cpp2305 const Instruction *CtxI) { in willNotOverflow() argument
2339 if (!CtxI) in willNotOverflow()
2369 return isKnownPredicateAt(Pred, getConstant(Limit), LHS, CtxI); in willNotOverflow()
2375 return isKnownPredicateAt(Pred, LHS, getConstant(Limit), CtxI); in willNotOverflow()
2403 const Instruction *CtxI = in getStrengthenedNoWrapFlagsFromBinOp() local
2407 /* Signed */ false, LHS, RHS, CtxI)) { in getStrengthenedNoWrapFlagsFromBinOp()
2414 /* Signed */ true, LHS, RHS, CtxI)) { in getStrengthenedNoWrapFlagsFromBinOp()
11113 const Instruction *CtxI) { in isKnownPredicateAt() argument
11116 isBasicBlockEntryGuardedByCond(CtxI->getParent(), Pred, LHS, RHS); in isKnownPredicateAt()
11121 const SCEV *RHS, const Instruction *CtxI) { in evaluatePredicateAt() argument
[all …]
H A DValueTracking.cpp2679 const Instruction *CtxI, in isKnownNonNullFromDominatingCondition() argument
2683 if (!CtxI || !DT) in isKnownNonNullFromDominatingCondition()
2701 DT->dominates(CB, CtxI)) in isKnownNonNullFromDominatingCondition()
2710 DT->dominates(UI, CtxI)) in isKnownNonNullFromDominatingCondition()
2716 isValidAssumeForContext(UI, CtxI, DT)) in isKnownNonNullFromDominatingCondition()
2761 if (Edge.isSingleEdge() && DT->dominates(Edge, CtxI->getParent())) in isKnownNonNullFromDominatingCondition()
2764 DT->dominates(cast<Instruction>(Curr), CtxI)) { in isKnownNonNullFromDominatingCondition()
6925 const Instruction *Inst, const Instruction *CtxI, AssumptionCache *AC, in isSafeToSpeculativelyExecute() argument
6928 return isSafeToSpeculativelyExecuteWithOpcode(Inst->getOpcode(), Inst, CtxI, in isSafeToSpeculativelyExecute()
6934 unsigned Opcode, const Instruction *Inst, const Instruction *CtxI, in isSafeToSpeculativelyExecuteWithOpcode() argument
[all …]
H A DBasicAliasAnalysis.cpp906 const Instruction *CtxI) { in alias() argument
909 return aliasCheck(LocA.Ptr, LocA.Size, LocB.Ptr, LocB.Size, AAQI, CtxI); in alias()
1578 const Instruction *CtxI) { in aliasCheck() argument
1691 if ((CtxI && isValidAssumeForContext(Assume, CtxI, DT, in aliasCheck()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DValueTracking.h546 const Instruction *I, const Instruction *CtxI = nullptr,
552 BasicBlock::iterator CtxI,
559 return isSafeToSpeculativelyExecute(I, &*CtxI, AC, DT, TLI, UseVariableInfo,
590 unsigned Opcode, const Instruction *Inst, const Instruction *CtxI = nullptr,
670 const Instruction *CtxI = nullptr,
787 const Instruction *CtxI = nullptr,
794 const Instruction *CtxI = nullptr,
799 BasicBlock::iterator CtxI,
804 return isGuaranteedNotToBePoison(V, AC, &*CtxI, DT, Depth);
810 const Instruction *CtxI = nullptr,
H A DLoads.h40 const Instruction *CtxI = nullptr,
51 const Instruction *CtxI = nullptr, AssumptionCache *AC = nullptr,
60 const Instruction *CtxI = nullptr, AssumptionCache *AC = nullptr,
H A DGlobalsModRef.h99 const Instruction *CtxI);
125 const Instruction *CtxI);
H A DBasicAliasAnalysis.h74 const Instruction *CtxI);
148 const Instruction *CtxI);
H A DObjCARCAliasAnalysis.h53 AAQueryInfo &AAQI, const Instruction *CtxI);
H A DScalarEvolutionAliasAnalysis.h37 const Instruction *CtxI);
H A DScopedNoAliasAA.h42 const Instruction *CtxI);
H A DTypeBasedAliasAnalysis.h52 const Instruction *CtxI);
H A DAliasAnalysis.h587 const Instruction *CtxI = nullptr);
745 const Instruction *CtxI) = 0;
804 AAQueryInfo &AAQI, const Instruction *CtxI) override {
805 return Result.alias(LocA, LocB, AAQI, CtxI);
H A DScalarEvolution.h536 const Instruction *CtxI = nullptr);
1125 const SCEV *RHS, const Instruction *CtxI);
1133 const Instruction *CtxI);
1233 const Loop *L, const Instruction *CtxI = nullptr);
1244 const Instruction *CtxI,
1250 const Instruction *CtxI, const SCEV *MaxIter);
2026 const Instruction *CtxI);
2100 const Instruction *CtxI);
H A DAssumeBundleQueries.h172 AssumptionCache &AC, const Instruction *CtxI,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp622 const Instruction *CtxI, in followUsesInContext() argument
625 auto EIt = Explorer.begin(CtxI), EEnd = Explorer.end(CtxI); in followUsesInContext()
647 Instruction &CtxI) { in followUsesInMBEC() argument
662 followUsesInContext<AAType>(AA, A, *Explorer, &CtxI, Uses, S); in followUsesInMBEC()
707 Explorer->checkForAllContext(&CtxI, Pred); in followUsesInMBEC()
2604 if (Instruction *CtxI = getCtxI()) in initialize() local
2605 followUsesInMBEC(*this, A, getState(), *CtxI); in initialize()
4958 if (Instruction *CtxI = getCtxI()) in initialize() local
4959 followUsesInMBEC(*this, A, getState(), *CtxI); in initialize()
5271 if (Instruction *CtxI = getCtxI()) in initialize() local
[all …]
H A DAttributor.cpp297 const Instruction *CtxI = VAC.getCtxI(); in isValidAtPosition() local
298 if (CtxI) in isValidAtPosition()
299 Scope = CtxI->getFunction(); in isValidAtPosition()
307 return DT->dominates(I, CtxI); in isValidAtPosition()
309 if (CtxI && I->getParent() == CtxI->getParent()) in isValidAtPosition()
312 [&](const Instruction &AfterI) { return &AfterI == CtxI; }); in isValidAtPosition()
923 const Instruction *CtxI) { in isPotentiallyAffectedByBarrier() argument
1688 Instruction *CtxI = IRP.getCtxI(); in isAssumedDead() local
1689 if (CtxI && in isAssumedDead()
1690 isAssumedDead(*CtxI, QueryingAA, FnLivenessAA, UsedAssumedInformation, in isAssumedDead()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DAssumeBundleBuilder.h54 Instruction *CtxI, AssumptionCache *AC = nullptr,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineInternal.h205 const Instruction *CtxI = nullptr,
208 Val, FMF, Interested, getSimplifyQuery().getWithInstruction(CtxI),
214 const Instruction *CtxI = nullptr,
217 Val, Interested, getSimplifyQuery().getWithInstruction(CtxI), Depth);
223 const Instruction *CtxI) const;
277 Instruction &CtxI, Value *&OperationResult,
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAliasAnalysis.h41 AAQueryInfo &AAQI, const Instruction *CtxI);
H A DAMDGPUCodeGenPrepare.cpp182 const Instruction *CtxI) const { in computeKnownFPClass()
183 return llvm::computeKnownFPClass(V, DL, Interested, TLI, AC, CtxI, DT); in computeKnownFPClass()
186 bool canIgnoreDenormalInput(const Value *V, const Instruction *CtxI) const { in canIgnoreDenormalInput()
188 computeKnownFPClass(V, fcSubnormal, CtxI).isKnownNeverSubnormal(); in canIgnoreDenormalInput()
295 const Instruction *CtxI) const;
298 FastMathFlags FMF, const Instruction *CtxI) const;
908 const FastMathFlags SqrtFMF, const Instruction *CtxI) const { in optimizeWithRsq()
930 canIgnoreDenormalInput(Den, CtxI)) { in optimizeWithRsq()
951 const Instruction *CtxI) const { in optimizeWithRcp()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXAliasAnalysis.h35 AAQueryInfo &AAQI, const Instruction *CtxI = nullptr);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DAssumeBundleBuilder.cpp310 Instruction *CtxI, AssumptionCache *AC, in buildAssumeFromKnowledge() argument
312 AssumeBuilderState Builder(CtxI->getModule(), CtxI, AC, DT); in buildAssumeFromKnowledge()

12