Home
last modified time | relevance | path

Searched refs:DT (Results 1 – 25 of 598) sorted by relevance

12345678910>>...24

/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DGenericDomTreeConstruction.h133 TreeNodePtr getNodeForBlock(NodePtr BB, DomTreeT &DT) { in getNodeForBlock()
134 if (TreeNodePtr Node = DT.getNode(BB)) return Node; in getNodeForBlock()
140 assert(IDom || DT.DomTreeNodes[nullptr]); in getNodeForBlock()
141 TreeNodePtr IDomNode = getNodeForBlock(IDom, DT); in getNodeForBlock()
145 return DT.createChild(BB, IDomNode); in getNodeForBlock()
328 static NodePtr GetEntryNode(const DomTreeT &DT) { in GetEntryNode()
329 assert(DT.Parent && "Parent not set"); in GetEntryNode()
330 return GraphTraits<typename DomTreeT::ParentPtr>::getEntryNode(DT.Parent); in GetEntryNode()
336 static RootsT FindRoots(const DomTreeT &DT, BatchUpdatePtr BUI) { in FindRoots()
337 assert(DT.Parent && "Parent pointer is not set"); in FindRoots()
[all …]
H A DGenericIteratedDominanceFrontier.h65 IDFCalculatorBase(DominatorTreeBase<NodeTy, IsPostDom> &DT) : DT(DT) {} in IDFCalculatorBase() argument
67 IDFCalculatorBase(DominatorTreeBase<NodeTy, IsPostDom> &DT, in IDFCalculatorBase() argument
69 : DT(DT), ChildrenGetter(C) {} in IDFCalculatorBase()
106 DominatorTreeBase<NodeTy, IsPostDom> &DT;
145 DT.updateDFSNumbers(); in calculate()
152 if (DomTreeNodeBase<NodeTy> *Node = DT.getNode(BB)) { in calculate()
177 DomTreeNodeBase<NodeTy> *SuccNode = DT.getNode(Succ); in calculate()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeMoverUtils.cpp64 const DominatorTree &DT,
95 static bool domTreeLevelBefore(DominatorTree *DT, const Instruction *InstA, in domTreeLevelBefore() argument
102 DomTreeNode *DA = DT->getNode(InstA->getParent()); in domTreeLevelBefore()
103 DomTreeNode *DB = DT->getNode(InstB->getParent()); in domTreeLevelBefore()
110 const DominatorTree &DT, in collectControlConditions() argument
113 assert(DT.dominates(&Dominator, &BB) && "Expecting Dominator to dominate BB"); in collectControlConditions()
126 assert(DT.getNode(CurBlock) && "Expecting a valid DT node for CurBlock"); in collectControlConditions()
127 BasicBlock *IDom = DT.getNode(CurBlock)->getIDom()->getBlock(); in collectControlConditions()
128 assert(DT.dominates(&Dominator, IDom) && in collectControlConditions()
232 const DominatorTree &DT, in isControlFlowEquivalent() argument
[all …]
H A DFixIrreducible.cpp164 static void createNaturalLoopInternal(LoopInfo &LI, DominatorTree &DT,
193 DomTreeUpdater DTU(DT, DomTreeUpdater::UpdateStrategy::Eager); in createNaturalLoopInternal()
196 assert(DT.verify(DominatorTree::VerificationLevel::Full)); in createNaturalLoopInternal()
198 assert(DT.verify(DominatorTree::VerificationLevel::Fast)); in createNaturalLoopInternal()
240 LI.verify(DT); in createNaturalLoopInternal()
253 static void createNaturalLoop(LoopInfo &LI, DominatorTree &DT, Function *F, in unwrapBlock()
256 createNaturalLoopInternal(LI, DT, nullptr, Blocks, Headers); in createNaturalLoop() argument
259 static void createNaturalLoop(LoopInfo &LI, DominatorTree &DT, Loop &L, in createNaturalLoop()
262 createNaturalLoopInternal(LI, DT, &L, Blocks, Headers); in createNaturalLoop() argument
267 static bool makeReducible(LoopInfo &LI, DominatorTree &DT, Grap in createNaturalLoop()
167 createNaturalLoopInternal(LoopInfo & LI,DominatorTree & DT,Loop * ParentLoop,SetVector<BasicBlock * > & Blocks,SetVector<BasicBlock * > & Headers) createNaturalLoopInternal() argument
270 makeReducible(LoopInfo & LI,DominatorTree & DT,Graph && G) makeReducible() argument
316 FixIrreducibleImpl(Function & F,LoopInfo & LI,DominatorTree & DT) FixIrreducibleImpl() argument
345 auto &DT = getAnalysis<DominatorTreeWrapperPass>().getDomTree(); runOnFunction() local
352 auto &DT = AM.getResult<DominatorTreeAnalysis>(F); run() local
[all...]
H A DLoopUnrollRuntime.cpp87 ValueToValueMapTy &VMap, DominatorTree *DT, in ConnectProlog() argument
161 SplitBlockPredecessors(PrologExit, PrologExitPreds, ".unr-lcssa", DT, LI, in ConnectProlog()
180 SplitBlockPredecessors(OriginalLoopLatchExit, Preds, ".unr-lcssa", DT, LI, in ConnectProlog()
192 if (DT) { in ConnectProlog()
193 auto *NewDom = DT->findNearestCommonDominator(OriginalLoopLatchExit, in ConnectProlog()
195 DT->changeImmediateDominator(OriginalLoopLatchExit, NewDom); in ConnectProlog()
214 ValueToValueMapTy &VMap, DominatorTree *DT, in ConnectEpilog() argument
310 SplitBlockPredecessors(Exit, Preds, ".epilog-lcssa", DT, LI, nullptr, in ConnectEpilog()
321 if (DT) { in ConnectEpilog()
322 auto *NewDom = DT->findNearestCommonDominator(Exit, NewExit); in ConnectEpilog()
[all …]
H A DUnifyLoopExits.cpp88 static void restoreSSA(const DominatorTree &DT, const Loop *L, in INITIALIZE_PASS_DEPENDENCY()
125 if (Def->getParent() == In || DT.dominates(Def, In)) { in INITIALIZE_PASS_DEPENDENCY()
143 static bool unifyLoopExits(DominatorTree &DT, LoopInfo &LI, Loop *L) { in unifyLoopExits() argument
186 DomTreeUpdater DTU(DT, DomTreeUpdater::UpdateStrategy::Eager); in unifyLoopExits()
191 restoreSSA(DT, L, ExitingBlocks, LoopExitBlock); in unifyLoopExits()
194 assert(DT.verify(DominatorTree::VerificationLevel::Full)); in unifyLoopExits()
196 assert(DT.verify(DominatorTree::VerificationLevel::Fast)); in unifyLoopExits()
210 LI.verify(DT); in unifyLoopExits()
216 static bool runImpl(LoopInfo &LI, DominatorTree &DT) { in runImpl() argument
223 Changed |= unifyLoopExits(DT, LI, L); in runImpl()
[all …]
H A DLCSSA.cpp78 const DominatorTree &DT, const LoopInfo &LI, in formLCSSAForInstructions() argument
113 if (!DT.isReachableFromEntry(UserBB)) { in formLCSSAForInstructions()
142 const DomTreeNode *DomNode = DT.getNode(DomBB); in formLCSSAForInstructions()
156 if (!DT.dominates(DomNode, DT.getNode(ExitBB))) in formLCSSAForInstructions()
322 Loop &L, const DominatorTree &DT, SmallVector<BasicBlock *, 8> &ExitBlocks, in computeBlocksDominatingExits() argument
337 BasicBlock *IDomBB = DT.getNode(BB)->getIDom()->getBlock(); in computeBlocksDominatingExits()
363 bool llvm::formLCSSA(Loop &L, const DominatorTree &DT, const LoopInfo *LI, in formLCSSA() argument
371 assert(SubLoop->isRecursivelyLCSSAForm(DT, *LI) && "Subloop not in LCSSA!"); in formLCSSA()
387 computeBlocksDominatingExits(L, DT, ExitBlocks, BlocksDominatingExits); in formLCSSA()
417 Changed = formLCSSAForInstructions(Worklist, DT, *LI, SE); in formLCSSA()
[all …]
H A DLoopSimplify.cpp118 BasicBlock *llvm::InsertPreheaderForLoop(Loop *L, DominatorTree *DT, in InsertPreheaderForLoop() argument
140 PreheaderBB = SplitBlockPredecessors(Header, OutsideBlocks, ".preheader", DT, in InsertPreheaderForLoop()
173 static PHINode *findPHIToPartitionLoops(Loop *L, DominatorTree *DT, in findPHIToPartitionLoops() argument
179 if (Value *V = simplifyInstruction(PN, {DL, nullptr, DT, AC})) { in findPHIToPartitionLoops()
216 DominatorTree *DT, LoopInfo *LI, in separateNestedLoop() argument
248 PHINode *PN = findPHIToPartitionLoops(L, DT, AC); in separateNestedLoop()
273 DT, LI, MSSAU, PreserveLCSSA); in separateNestedLoop()
302 if (DT->dominates(Header, P)) in separateNestedLoop()
334 formDedicatedExitBlocks(L, DT, LI, MSSAU, PreserveLCSSA); in separateNestedLoop()
343 formLCSSA(*L, *DT, LI, SE); in separateNestedLoop()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCallBrPrepare.cpp57 static bool SplitCriticalEdges(ArrayRef<CallBrInst *> CBRs, DominatorTree &DT);
59 DominatorTree &DT);
60 static void UpdateSSA(DominatorTree &DT, CallBrInst *CBR, CallInst *Intrinsic,
84 auto &DT = FAM.getResult<DominatorTreeAnalysis>(Fn); in run() local
86 Changed |= SplitCriticalEdges(CBRs, DT); in run()
87 Changed |= InsertIntrinsicCalls(CBRs, DT); in run()
118 bool SplitCriticalEdges(ArrayRef<CallBrInst *> CBRs, DominatorTree &DT) { in SplitCriticalEdges() argument
120 CriticalEdgeSplittingOptions Options(&DT); in SplitCriticalEdges()
140 bool InsertIntrinsicCalls(ArrayRef<CallBrInst *> CBRs, DominatorTree &DT) { in InsertIntrinsicCalls() argument
160 UpdateSSA(DT, CBR, Intrinsic, SSAUpdate); in InsertIntrinsicCalls()
[all …]
H A DMachineDominators.cpp43 template void Calculate<MBBDomTree>(MBBDomTree &DT);
44 template void CalculateWithUpdates<MBBDomTree>(MBBDomTree &DT, MBBUpdates U);
46 template void InsertEdge<MBBDomTree>(MBBDomTree &DT, MachineBasicBlock *From,
49 template void DeleteEdge<MBBDomTree>(MBBDomTree &DT, MachineBasicBlock *From,
52 template void ApplyUpdates<MBBDomTree>(MBBDomTree &DT, MBBDomTreeGraphDiff &,
55 template bool Verify<MBBDomTree>(const MBBDomTree &DT,
107 DT = MachineDominatorTree(F); in runOnMachineFunction()
111 void MachineDominatorTreeWrapperPass::releaseMemory() { DT.reset(); } in releaseMemory()
114 if (VerifyMachineDomInfo && DT) in verifyAnalysis()
115 if (!DT->verify(MachineDominatorTree::VerificationLevel::Basic)) in verifyAnalysis()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DCFG.cpp137 const DominatorTree *DT, const LoopInfo *LI) { in isReachableImpl() argument
140 if (DT) { in isReachableImpl()
142 if (!DT->isReachableFromEntry(BB)) { in isReachableImpl()
143 DT = nullptr; in isReachableImpl()
152 DT = nullptr; in isReachableImpl()
183 if (DT) { in isReachableImpl()
185 return DT->dominates(BB, StopBB); in isReachableImpl()
241 const SmallPtrSetImpl<BasicBlock *> *ExclusionSet, const DominatorTree *DT, in isPotentiallyReachableFromMany() argument
244 Worklist, SingleEntrySet<const BasicBlock *>(StopBB), ExclusionSet, DT, in isPotentiallyReachableFromMany()
251 const SmallPtrSetImpl<BasicBlock *> *ExclusionSet, const DominatorTree *DT, in isManyPotentiallyReachableFromMany() argument
[all …]
H A DPHITransAddr.cpp132 const DominatorTree *DT) { in translateSubExpr() argument
174 Value *PHIIn = translateSubExpr(Cast->getOperand(0), CurBB, PredBB, DT); in translateSubExpr()
183 {DL, TLI, DT, AC})) { in translateSubExpr()
194 (!DT || DT->dominates(CastI->getParent(), PredBB))) in translateSubExpr()
205 Value *GEPOp = translateSubExpr(Op, CurBB, PredBB, DT); in translateSubExpr()
218 GEP->getNoWrapFlags(), {DL, TLI, DT, AC})) { in translateSubExpr()
233 (!DT || DT->dominates(GEPI->getParent(), PredBB))) { in translateSubExpr()
249 Value *LHS = translateSubExpr(Inst->getOperand(0), CurBB, PredBB, DT); in translateSubExpr()
268 if (Value *Res = simplifyAddInst(LHS, RHS, isNSW, isNUW, {DL, TLI, DT, AC})) { in translateSubExpr()
285 (!DT || DT->dominates(BO->getParent(), PredBB))) in translateSubExpr()
[all …]
H A DCaptureTracking.cpp106 const DominatorTree *DT, bool IncludeI, const LoopInfo *LI) in CapturesBefore()
107 : BeforeHere(I), DT(DT), ReturnCaptures(ReturnCaptures), in CapturesBefore()
118 if (!DT->isReachableFromEntry(I->getParent())) in isSafeToPrune()
122 return !isPotentiallyReachable(I, BeforeHere, nullptr, DT, LI); in isSafeToPrune()
141 const DominatorTree *DT; member
161 EarliestCaptures(bool ReturnCaptures, Function &F, const DominatorTree &DT) in EarliestCaptures()
162 : DT(DT), ReturnCaptures(ReturnCaptures), F(F) {} in EarliestCaptures()
177 EarliestCapture = DT.findNearestCommonDominator(EarliestCapture, I); in captured()
187 const DominatorTree &DT; member
239 const DominatorTree *DT, bool IncludeI, in PointerMayBeCapturedBefore() argument
[all …]
H A DLoads.cpp39 const Instruction *CtxI, AssumptionCache *AC, const DominatorTree *DT, in isDereferenceableAndAlignedPointer() argument
75 CtxI, AC, DT, TLI, Visited, MaxDepth); in isDereferenceableAndAlignedPointer()
82 BC->getOperand(0), Alignment, Size, DL, CtxI, AC, DT, TLI, in isDereferenceableAndAlignedPointer()
89 Size, DL, CtxI, AC, DT, TLI, in isDereferenceableAndAlignedPointer()
92 Size, DL, CtxI, AC, DT, TLI, in isDereferenceableAndAlignedPointer()
103 isKnownNonZero(V, SimplifyQuery(DL, DT, AC, CtxI))) { in isDereferenceableAndAlignedPointer()
118 AC, DT, TLI, Visited, MaxDepth); in isDereferenceableAndAlignedPointer()
137 isKnownNonZero(V, SimplifyQuery(DL, DT, AC, CtxI)) && in isDereferenceableAndAlignedPointer()
152 Alignment, Size, DL, CtxI, AC, DT, in isDereferenceableAndAlignedPointer()
157 Size, DL, CtxI, AC, DT, TLI, in isDereferenceableAndAlignedPointer()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSink.cpp66 DominatorTree &DT, LoopInfo &LI) { in IsAcceptableTarget() argument
87 if (!DT.dominates(Inst->getParent(), SuccToSinkTo)) in IsAcceptableTarget()
104 DominatorTree &DT, LoopInfo &LI, AAResults &AA) { in SinkInstruction()
140 if (!DT.isReachableFromEntry(UseBlock)) in SinkInstruction()
144 SuccToSinkTo = DT.findNearestCommonDominator(SuccToSinkTo, UseBlock); in SinkInstruction()
148 if (!DT.dominates(BB, SuccToSinkTo)) in SinkInstruction()
156 !IsAcceptableTarget(Inst, SuccToSinkTo, DT, LI)) in SinkInstruction()
157 SuccToSinkTo = DT.getNode(SuccToSinkTo)->getIDom()->getBlock(); in SinkInstruction()
175 static bool ProcessBlock(BasicBlock &BB, DominatorTree &DT, LoopInfo &LI, in ProcessBlock() argument
180 if (!DT in ProcessBlock()
105 SinkInstruction(Instruction * Inst,SmallPtrSetImpl<Instruction * > & Stores,DominatorTree & DT,LoopInfo & LI,AAResults & AA) SinkInstruction() argument
212 iterativelySinkInstructions(Function & F,DominatorTree & DT,LoopInfo & LI,AAResults & AA) iterativelySinkInstructions() argument
230 auto &DT = AM.getResult<DominatorTreeAnalysis>(F); run() local
251 auto &DT = getAnalysis<DominatorTreeWrapperPass>().getDomTree(); runOnFunction() local
[all...]
H A DSimplifyCFGPass.cpp271 DominatorTree *DT, in simplifyFunctionCFGImpl() argument
273 DomTreeUpdater DTU(DT, DomTreeUpdater::UpdateStrategy::Eager); in simplifyFunctionCFGImpl()
275 bool EverChanged = removeUnreachableBlocks(F, DT ? &DTU : nullptr); in simplifyFunctionCFGImpl()
277 tailMergeBlocksWithSimilarFunctionTerminators(F, DT ? &DTU : nullptr); in simplifyFunctionCFGImpl()
278 EverChanged |= iterativelySimplifyCFG(F, TTI, DT ? &DTU : nullptr, Options); in simplifyFunctionCFGImpl()
288 if (!removeUnreachableBlocks(F, DT ? &DTU : nullptr)) in simplifyFunctionCFGImpl()
292 EverChanged = iterativelySimplifyCFG(F, TTI, DT ? &DTU : nullptr, Options); in simplifyFunctionCFGImpl()
293 EverChanged |= removeUnreachableBlocks(F, DT ? &DTU : nullptr); in simplifyFunctionCFGImpl()
300 DominatorTree *DT, in simplifyFunctionCFG() argument
303 (DT && DT->verify(DominatorTree::VerificationLevel::Full))) && in simplifyFunctionCFG()
[all …]
H A DLICM.cpp175 static void hoist(Instruction &I, const DominatorTree *DT, const Loop *CurLoop,
179 static bool sink(Instruction &I, LoopInfo *LI, DominatorTree *DT,
183 Instruction &Inst, const DominatorTree *DT, const TargetLibraryInfo *TLI,
197 DominatorTree *DT);
218 bool runOnLoop(Loop *L, AAResults *AA, LoopInfo *LI, DominatorTree *DT,
307 if (!LICM.runOnLoop(&L, &AR.AA, &AR.LI, &AR.DT, &AR.AC, &AR.TLI, &AR.TTI, in run()
343 bool Changed = LICM.runOnLoop(&OutermostLoop, &AR.AA, &AR.LI, &AR.DT, &AR.AC, in run()
409 DominatorTree *DT, AssumptionCache *AC, in runOnLoop() argument
417 assert(L->isLCSSAForm(*DT) && "Loop is not in LCSSA form."); in runOnLoop()
464 ? sinkRegionForLoopNest(DT->getNode(L->getHeader()), AA, LI, DT, in runOnLoop()
[all …]
H A DLoopSimplifyCFG.cpp113 DominatorTree &DT; member in __anona0e87c8a0111::ConstantTerminatorFoldingImpl
353 Preheader, Preheader->getTerminator(), &DT, &LI, MSSAU); in handleDeadExits()
413 MSSAU->applyUpdates(DTUpdates, DT, /*UpdateDT=*/true); in handleDeadExits()
417 formLCSSARecursively(*FixLCSSALoop, DT, &LI, &SE); in handleDeadExits()
424 MSSAU->applyUpdates(DTUpdates, DT, /*UpdateDT=*/true); in handleDeadExits()
528 ConstantTerminatorFoldingImpl(Loop &L, LoopInfo &LI, DominatorTree &DT, in ConstantTerminatorFoldingImpl() argument
531 : L(L), LI(LI), DT(DT), SE(SE), MSSAU(MSSAU), DFS(&L), in ConstantTerminatorFoldingImpl()
532 DTU(DT, DomTreeUpdater::UpdateStrategy::Eager) {} in ConstantTerminatorFoldingImpl()
582 if (!DeadExitBlocks.empty() && !L.isLCSSAForm(DT, /*IgnoreTokens*/ false)) { in run()
583 assert(L.isLCSSAForm(DT, /*IgnoreTokens*/ true) && in run()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DGenericDomTreeUpdaterImpl.h30 if (DT) in recalculate()
31 DT->recalculate(F); in recalculate()
46 if (DT) in recalculate()
47 DT->recalculate(F); in recalculate()
60 if (!DT && !PDT) in applyUpdates()
72 if (DT) in applyUpdates()
73 DT->applyUpdates(Updates); in applyUpdates()
81 if (!DT && !PDT) in applyUpdatesPermissive()
127 if (DT) in applyUpdatesPermissive()
128 DT->applyUpdates(DeduplicatedUpdates); in applyUpdatesPermissive()
[all …]
H A DBasicAliasAnalysis.h57 DominatorTree *DT = nullptr) in BasicAAResult()
58 : DL(DL), F(F), TLI(TLI), AC(AC), DT_(DT) {} in BasicAAResult()
108 AssumptionCache *AC, DominatorTree *DT);
120 DominatorTree *DT, const AAQueryInfo &AAQI);
47 DominatorTree *DT; global() variable
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDominators.h61 extern template void Calculate<BBDomTree>(BBDomTree &DT);
62 extern template void CalculateWithUpdates<BBDomTree>(BBDomTree &DT,
65 extern template void Calculate<BBPostDomTree>(BBPostDomTree &DT);
67 extern template void InsertEdge<BBDomTree>(BBDomTree &DT, BasicBlock *From,
69 extern template void InsertEdge<BBPostDomTree>(BBPostDomTree &DT,
73 extern template void DeleteEdge<BBDomTree>(BBDomTree &DT, BasicBlock *From,
75 extern template void DeleteEdge<BBPostDomTree>(BBPostDomTree &DT,
79 extern template void ApplyUpdates<BBDomTree>(BBDomTree &DT,
82 extern template void ApplyUpdates<BBPostDomTree>(BBPostDomTree &DT,
86 extern template bool Verify<BBDomTree>(const BBDomTree &DT,
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDominators.cpp80 DomTreeBuilder::BBDomTree &DT);
83 DomTreeBuilder::BBDomTree &DT, BBUpdates U);
86 DomTreeBuilder::BBPostDomTree &DT);
90 DomTreeBuilder::BBDomTree &DT, BasicBlock *From, BasicBlock *To);
92 DomTreeBuilder::BBPostDomTree &DT, BasicBlock *From, BasicBlock *To);
95 DomTreeBuilder::BBDomTree &DT, BasicBlock *From, BasicBlock *To);
97 DomTreeBuilder::BBPostDomTree &DT, BasicBlock *From, BasicBlock *To);
100 DomTreeBuilder::BBDomTree &DT, DomTreeBuilder::BBDomTreeGraphDiff &,
103 DomTreeBuilder::BBPostDomTree &DT, DomTreeBuilder::BBPostDomTreeGraphDiff &,
107 const DomTreeBuilder::BBDomTree &DT,
373 DominatorTree DT; run() local
392 auto &DT = AM.getResult<DominatorTreeAnalysis>(F); run() local
[all...]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DCodeMoverUtils.h32 const DominatorTree &DT,
39 const DominatorTree &DT,
44 DominatorTree &DT,
52 DominatorTree &DT,
59 DominatorTree &DT,
66 DominatorTree &DT, const PostDominatorTree &PDT,
75 const DominatorTree *DT,
80 const DominatorTree *DT, const PostDominatorTree *PDT);
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/Analysis/
H A DSPIRVConvergenceRegionAnalysis.cpp123 ConvergenceRegion::ConvergenceRegion(DominatorTree &DT, LoopInfo &LI, in ConvergenceRegion() argument
125 : DT(DT), LI(LI), Parent(nullptr) { in ConvergenceRegion()
136 DominatorTree &DT, LoopInfo &LI, in ConvergenceRegion() argument
139 : DT(DT), LI(LI), ConvergenceToken(ConvergenceToken), Entry(Entry), in ConvergenceRegion()
201 ConvergenceRegionAnalyzer(Function &F, DominatorTree &DT, LoopInfo &LI) in ConvergenceRegionAnalyzer() argument
202 : DT(DT), LI(LI), F(F) {} in ConvergenceRegionAnalyzer()
271 ConvergenceRegion *TopLevelRegion = new ConvergenceRegion(DT, LI, F); in analyze()
300 DT, LI, CT, L->getHeader(), std::move(RegionBlocks), in analyze()
311 DominatorTree &DT; member in llvm::SPIRV::ConvergenceRegionAnalyzer
316 ConvergenceRegionInfo getConvergenceRegions(Function &F, DominatorTree &DT, in getConvergenceRegions() argument
[all …]
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPPExpressions.cpp102 static bool EvaluateDefined(PPValue &Result, Token &PeekTok, DefinedTracker &DT, in EvaluateDefined() argument
134 DT.IncludedUndefinedIds = !Macro; in EvaluateDefined()
220 DT.State = DefinedTracker::DefinedMacro; in EvaluateDefined()
221 DT.TheMacro = II; in EvaluateDefined()
233 static bool EvaluateValue(PPValue &Result, Token &PeekTok, DefinedTracker &DT, in EvaluateValue() argument
235 DT.State = DefinedTracker::Unknown; in EvaluateValue()
254 return EvaluateDefined(Result, PeekTok, DT, ValueLive, PP); in EvaluateValue()
282 DT.IncludedUndefinedIds = true; in EvaluateValue()
445 if (EvaluateValue(Result, PeekTok, DT, ValueLive, PP)) return true; in EvaluateValue()
454 DT.IncludedUndefinedIds, PP)) in EvaluateValue()
[all …]

12345678910>>...24