Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DLoads.cpp41 const Instruction *CtxI, AssumptionCache *AC, const DominatorTree *DT, in isDereferenceableAndAlignedPointer() argument
77 CtxI, AC, DT, TLI, Visited, MaxDepth); in isDereferenceableAndAlignedPointer()
84 BC->getOperand(0), Alignment, Size, DL, CtxI, AC, DT, TLI, in isDereferenceableAndAlignedPointer()
91 Size, DL, CtxI, AC, DT, TLI, in isDereferenceableAndAlignedPointer()
94 Size, DL, CtxI, AC, DT, TLI, in isDereferenceableAndAlignedPointer()
104 if (!CheckForNonNull || isKnownNonZero(V, DL, 0, AC, CtxI, DT)) { in isDereferenceableAndAlignedPointer()
118 return isDereferenceableAndAlignedPointer(RP, Alignment, Size, DL, CtxI, in isDereferenceableAndAlignedPointer()
138 isKnownNonZero(V, DL, 0, AC, CtxI, DT) && !V->canBeFreed()) { in isDereferenceableAndAlignedPointer()
152 Alignment, Size, DL, CtxI, AC, DT, in isDereferenceableAndAlignedPointer()
157 Size, DL, CtxI, AC, DT, TLI, in isDereferenceableAndAlignedPointer()
[all …]
H A DAssumeBundleQueries.cpp198 const Instruction *CtxI, const DominatorTree *DT, AssumptionCache *AC) { in getKnowledgeValidInContext() argument
201 return isValidAssumeForContext(I, CtxI, DT); in getKnowledgeValidInContext()
H A DScalarEvolution.cpp2344 const Instruction *CtxI) { in willNotOverflow() argument
2378 if (!CtxI) in willNotOverflow()
2398 return isKnownPredicateAt(Pred, LHS, getConstant(Limit), CtxI); in willNotOverflow()
2425 const Instruction *CtxI = in getStrengthenedNoWrapFlagsFromBinOp() local
2429 /* Signed */ false, LHS, RHS, CtxI)) { in getStrengthenedNoWrapFlagsFromBinOp()
2436 /* Signed */ true, LHS, RHS, CtxI)) { in getStrengthenedNoWrapFlagsFromBinOp()
10931 const Instruction *CtxI) { in isKnownPredicateAt() argument
10934 isBasicBlockEntryGuardedByCond(CtxI->getParent(), Pred, LHS, RHS); in isKnownPredicateAt()
10939 const SCEV *RHS, const Instruction *CtxI) { in evaluatePredicateAt() argument
10944 if (isBasicBlockEntryGuardedByCond(CtxI->getParent(), Pred, LHS, RHS)) in evaluatePredicateAt()
[all …]
H A DValueTracking.cpp2303 const Instruction *CtxI, in isKnownNonNullFromDominatingCondition() argument
2308 if (!CtxI || !DT) in isKnownNonNullFromDominatingCondition()
2325 DT->dominates(CB, CtxI)) in isKnownNonNullFromDominatingCondition()
2333 DT->dominates(I, CtxI)) in isKnownNonNullFromDominatingCondition()
2379 if (Edge.isSingleEdge() && DT->dominates(Edge, CtxI->getParent())) in isKnownNonNullFromDominatingCondition()
2382 DT->dominates(cast<Instruction>(Curr), CtxI)) { in isKnownNonNullFromDominatingCondition()
4801 const Instruction *CtxI, in isSafeToSpeculativelyExecute() argument
4805 return isSafeToSpeculativelyExecuteWithOpcode(Inst->getOpcode(), Inst, CtxI, in isSafeToSpeculativelyExecute()
4810 unsigned Opcode, const Instruction *Inst, const Instruction *CtxI, in isSafeToSpeculativelyExecuteWithOpcode() argument
4872 CtxI, AC, DT, TLI); in isSafeToSpeculativelyExecuteWithOpcode()
[all …]
H A DBasicAliasAnalysis.cpp830 const Instruction *CtxI) { in alias() argument
833 return aliasCheck(LocA.Ptr, LocA.Size, LocB.Ptr, LocB.Size, AAQI, CtxI); in alias()
1422 const Instruction *CtxI) { in aliasCheck() argument
1506 if (CtxI && EnableSeparateStorageAnalysis) { in aliasCheck()
1524 isValidAssumeForContext(Assume, CtxI, DT)) in aliasCheck()
H A DAliasAnalysis.cpp113 const Instruction *CtxI) { in alias() argument
125 Result = AA->alias(LocA, LocB, AAQI, CtxI); in alias()
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DLoads.h36 const Instruction *CtxI = nullptr,
47 const Instruction *CtxI = nullptr,
58 const Instruction *CtxI = nullptr,
183 Instruction *CtxI);
H A DValueTracking.h453 const Instruction *CtxI = nullptr,
476 unsigned Opcode, const Instruction *Inst, const Instruction *CtxI = nullptr,
562 const Instruction *CtxI = nullptr,
681 const Instruction *CtxI = nullptr,
685 const Instruction *CtxI = nullptr,
H A DBasicAliasAnalysis.h68 AAQueryInfo &AAQI, const Instruction *CtxI);
139 const Instruction *CtxI);
H A DObjCARCAliasAnalysis.h54 AAQueryInfo &AAQI, const Instruction *CtxI);
H A DScopedNoAliasAA.h40 AAQueryInfo &AAQI, const Instruction *CtxI);
H A DScalarEvolutionAliasAnalysis.h35 AAQueryInfo &AAQI, const Instruction *CtxI);
H A DTypeBasedAliasAnalysis.h42 AAQueryInfo &AAQI, const Instruction *CtxI);
H A DScalarEvolution.h539 const Instruction *CtxI = nullptr);
1063 const SCEV *RHS, const Instruction *CtxI);
1070 const Instruction *CtxI);
1176 const Instruction *CtxI = nullptr);
1187 const Instruction *CtxI,
1193 const Instruction *CtxI, const SCEV *MaxIter);
1907 const Instruction *CtxI);
1982 const Instruction *CtxI);
H A DAliasAnalysis.h563 AAQueryInfo &AAQI, const Instruction *CtxI = nullptr);
700 const Instruction *CtxI) = 0;
759 AAQueryInfo &AAQI, const Instruction *CtxI) override {
760 return Result.alias(LocA, LocB, AAQI, CtxI);
H A DAssumeBundleQueries.h166 const Instruction *CtxI, const DominatorTree *DT = nullptr,
H A DGlobalsModRef.h97 AAQueryInfo &AAQI, const Instruction *CtxI);
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp561 const Instruction *CtxI, in followUsesInContext() argument
564 auto EIt = Explorer.begin(CtxI), EEnd = Explorer.end(CtxI); in followUsesInContext()
587 Instruction &CtxI) { in followUsesInMBEC() argument
597 followUsesInContext<AAType>(AA, A, Explorer, &CtxI, Uses, S); in followUsesInMBEC()
642 Explorer.checkForAllContext(&CtxI, Pred); in followUsesInMBEC()
2725 if (Instruction *CtxI = getCtxI()) in initialize() local
2726 followUsesInMBEC(*this, A, getState(), *CtxI); in initialize()
2780 auto VisitValueCB = [&](Value &V, const Instruction *CtxI) -> bool { in updateImpl() argument
2784 if (!isKnownNonZero(&V, DL, 0, AC, CtxI, DT)) in updateImpl()
4865 if (Instruction *CtxI = getCtxI()) in initialize() local
[all …]
H A DAttributor.cpp265 const Instruction *CtxI = VAC.getCtxI(); in isValidAtPosition() local
266 if (CtxI) in isValidAtPosition()
267 Scope = CtxI->getFunction(); in isValidAtPosition()
275 return DT->dominates(I, CtxI); in isValidAtPosition()
277 if (CtxI && I->getParent() == CtxI->getParent()) in isValidAtPosition()
280 [&](const Instruction &AfterI) { return &AfterI == CtxI; }); in isValidAtPosition()
837 const Instruction *CtxI) { in isPotentiallyAffectedByBarrier() argument
1494 Instruction *CtxI = IRP.getCtxI(); in isAssumedDead() local
1495 if (CtxI && in isAssumedDead()
1496 isAssumedDead(*CtxI, QueryingAA, FnLivenessAA, UsedAssumedInformation, in isAssumedDead()
/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Utils/
H A DAssumeBundleBuilder.h49 Instruction *CtxI,
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUAliasAnalysis.h40 AAQueryInfo &AAQI, const Instruction *CtxI);
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DAssumeBundleBuilder.cpp308 Instruction *CtxI, AssumptionCache *AC, in buildAssumeFromKnowledge() argument
310 AssumeBuilderState Builder(CtxI->getModule(), CtxI, AC, DT); in buildAssumeFromKnowledge()
H A DSimplifyIndVar.cpp258 const Instruction *CtxI = findCommonDominator(Users, *DT); in eliminateIVComparison() local
259 if (auto Ev = SE->evaluatePredicateAt(Pred, S, X, CtxI)) { in eliminateIVComparison()
1589 const Instruction *CtxI = findCommonDominator(ExtUsers, *DT); in widenWithVariantUse() local
1606 SE->getNegativeSCEV(RHS), CtxI); in widenWithVariantUse()
/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/IPO/
H A DAttributor.h178 ValueAndContext(Value &V, const Instruction *CtxI) : Base(&V, CtxI) {} in ValueAndContext()
179 ValueAndContext(Value &V, const Instruction &CtxI) : Base(&V, &CtxI) {} in ValueAndContext()
385 const Instruction *CtxI);
4473 const Instruction *CtxI = nullptr) const = 0;
4479 const Instruction *CtxI = nullptr) const = 0;
4484 getAssumedConstant(Attributor &A, const Instruction *CtxI = nullptr) const {
4485 ConstantRange RangeV = getAssumedConstantRange(A, CtxI);
4735 getAssumedConstant(Attributor &A, const Instruction *CtxI = nullptr) const {
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonVectorCombine.cpp137 const Instruction *CtxI = nullptr) const;
139 const Instruction *CtxI = nullptr) const;
2380 const Instruction *CtxI) const in getNumSignificantBits()
2382 return ComputeMaxSignificantBits(V, DL, /*Depth=*/0, &AC, CtxI, &DT); in getNumSignificantBits()
2386 const Instruction *CtxI) const in getKnownBits()
2388 return computeKnownBits(V, DL, /*Depth=*/0, &AC, CtxI, &DT, /*ORE=*/nullptr, in getKnownBits()

12