Home
last modified time | relevance | path

Searched refs:Pred (Results 1 – 25 of 431) sorted by relevance

12345678910>>...18

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCoreEngine.cpp182 void CoreEngine::dispatchWorkItem(ExplodedNode* Pred, ProgramPoint Loc, in dispatchWorkItem() argument
187 HandleBlockEdge(Loc.castAs<BlockEdge>(), Pred); in dispatchWorkItem()
191 HandleBlockEntrance(Loc.castAs<BlockEntrance>(), Pred); in dispatchWorkItem()
199 HandleCallEnter(Loc.castAs<CallEnter>(), Pred); in dispatchWorkItem()
203 ExprEng.processCallExit(Pred); in dispatchWorkItem()
207 assert(Pred->hasSinglePred() && in dispatchWorkItem()
209 ExplodedNode *PNode = Pred->getFirstPred(); in dispatchWorkItem()
210 dispatchWorkItem(Pred, PNode->getLocation(), WU); in dispatchWorkItem()
220 HandlePostStmt(WU.getBlock(), WU.getIndex(), Pred); in dispatchWorkItem()
225 void CoreEngine::HandleBlockEdge(const BlockEdge &L, ExplodedNode *Pred) { in HandleBlockEdge() argument
[all …]
H A DExprEngine.cpp966 void ExprEngine::processCFGElement(const CFGElement E, ExplodedNode *Pred, in processCFGElement() argument
968 PrettyStackTraceLocationContext CrashInfo(Pred->getLocationContext()); in processCFGElement()
976 ProcessStmt(E.castAs<CFGStmt>().getStmt(), Pred); in processCFGElement()
979 ProcessInitializer(E.castAs<CFGInitializer>(), Pred); in processCFGElement()
983 Pred); in processCFGElement()
990 ProcessImplicitDtor(E.castAs<CFGImplicitDtor>(), Pred); in processCFGElement()
993 ProcessLoopExit(E.castAs<CFGLoopExit>().getLoopStmt(), Pred); in processCFGElement()
1005 const ExplodedNode *Pred, in shouldRemoveDeadBindings() argument
1012 if (Pred->getLocation().getAs<BlockEntrance>()) in shouldRemoveDeadBindings()
1029 void ExprEngine::removeDead(ExplodedNode *Pred, ExplodedNodeSet &Out, in removeDead() argument
[all …]
H A DExprEngineCXX.cpp31 ExplodedNode *Pred, in CreateCXXTemporaryObject() argument
33 StmtNodeBuilder Bldr(Pred, Dst, *currBldrCtx); in CreateCXXTemporaryObject()
35 ProgramStateRef state = Pred->getState(); in CreateCXXTemporaryObject()
36 const LocationContext *LCtx = Pred->getLocationContext(); in CreateCXXTemporaryObject()
39 Bldr.generateNode(ME, Pred, state); in CreateCXXTemporaryObject()
44 void ExprEngine::performTrivialCopy(NodeBuilder &Bldr, ExplodedNode *Pred, in performTrivialCopy() argument
64 const LocationContext *LCtx = Pred->getLocationContext(); in performTrivialCopy()
68 Bldr.takeNodes(Pred); in performTrivialCopy()
81 V = Pred->getState()->getSVal(*L); in performTrivialCopy()
84 evalBind(Dst, CallExpr, Pred, ThisVal, V, true); in performTrivialCopy()
[all …]
H A DExprEngineC.cpp41 ExplodedNode *Pred, in VisitBinaryOperator() argument
50 getCheckerManager().runCheckersForPreStmt(CheckedSet, Pred, B, *this); in VisitBinaryOperator()
193 void ExprEngine::VisitBlockExpr(const BlockExpr *BE, ExplodedNode *Pred, in VisitBlockExpr() argument
201 Pred->getLocationContext(), in VisitBlockExpr()
204 ProgramStateRef State = Pred->getState(); in VisitBlockExpr()
233 const LocationContext *LCtx = Pred->getLocationContext(); in VisitBlockExpr()
245 StmtNodeBuilder Bldr(Pred, Tmp, *currBldrCtx); in VisitBlockExpr()
246 Bldr.generateNode(BE, Pred, in VisitBlockExpr()
247 State->BindExpr(BE, Pred->getLocationContext(), V), in VisitBlockExpr()
257 ExplodedNode* Pred) { in handleLValueBitCast() argument
[all …]
H A DExprEngineCallAndReturn.cpp45 ExplodedNode *Pred) { in processCallEnter() argument
61 ProgramStateRef state = Pred->getState(); in processCallEnter()
67 Node->addPredecessor(Pred, G); in processCallEnter()
166 ExplodedNode *Pred, in removeDeadOnEndOfFunction() argument
171 std::tie(LastSt, Blk) = getLastStmt(Pred); in removeDeadOnEndOfFunction()
173 Dst.Add(Pred); in removeDeadOnEndOfFunction()
183 const LocationContext *LCtx = Pred->getLocationContext(); in removeDeadOnEndOfFunction()
184 removeDead(Pred, Dst, dyn_cast<ReturnStmt>(LastSt), LCtx, in removeDeadOnEndOfFunction()
503 NodeBuilder &Bldr, ExplodedNode *Pred, in REGISTER_MAP_WITH_PROGRAMSTATE()
512 inlineCall(Engine.getWorkList(), Call, D, Bldr, Pred, State); in REGISTER_MAP_WITH_PROGRAMSTATE()
[all …]
H A DCheckerManager.cpp168 NodeBuilder &Bldr, ExplodedNode *Pred) { in runChecker()
173 Pred->getLocationContext(), checkFn.Checker); in runChecker()
174 CheckerContext C(Bldr, Eng, Pred, L, WasInlined); in runChecker()
215 NodeBuilder &Bldr, ExplodedNode *Pred) { in runChecker()
229 CheckerContext C(Bldr, Eng, Pred, L, WasInlined); in runChecker()
231 checkFn(*Msg.cloneWithState<ObjCMethodCall>(Pred->getState()), C); in runChecker()
285 NodeBuilder &Bldr, ExplodedNode *Pred) { in runChecker()
287 CheckerContext C(Bldr, Eng, Pred, L, WasInlined); in runChecker()
289 checkFn(*Call.cloneWithState(Pred->getState()), C); in runChecker()
332 NodeBuilder &Bldr, ExplodedNode *Pred) { in runChecker()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/FuzzMutate/
H A DOpDescriptor.h55 PredT Pred;
60 SourcePred(PredT Pred, MakeT Make) : Pred(Pred), Make(Make) {} in SourcePred() argument
61 SourcePred(PredT Pred, std::nullopt_t) : Pred(Pred) { in SourcePred() argument
62 Make = [Pred](ArrayRef<Value *> Cur, ArrayRef<Type *> BaseTypes) { in SourcePred()
67 if (Pred(Cur, V)) in SourcePred()
78 return Pred(Cur, New); in matches()
96 auto Pred = [Only](ArrayRef<Value *>, const Value *V) { in onlyType()
102 return {Pred, Make}; in onlyType()
106 auto Pred = [](ArrayRef<Value *>, const Value *V) { in anyType()
110 return {Pred, Make}; in anyType()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DCmpInstAnalysis.cpp21 unsigned llvm::getICmpCode(CmpInst::Predicate Pred) { in getICmpCode() argument
22 switch (Pred) { in getICmpCode()
41 CmpInst::Predicate &Pred) { in getPredForICmpCode() argument
46 case 1: Pred = Sign ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; break; in getPredForICmpCode()
47 case 2: Pred = ICmpInst::ICMP_EQ; break; in getPredForICmpCode()
48 case 3: Pred = Sign ? ICmpInst::ICMP_SGE : ICmpInst::ICMP_UGE; break; in getPredForICmpCode()
49 case 4: Pred = Sign ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; break; in getPredForICmpCode()
50 case 5: Pred = ICmpInst::ICMP_NE; break; in getPredForICmpCode()
51 case 6: Pred = Sign ? ICmpInst::ICMP_SLE : ICmpInst::ICMP_ULE; break; in getPredForICmpCode()
65 CmpInst::Predicate &Pred) { in getPredForFCmpCode() argument
[all …]
H A DScalarEvolutionNormalization.cpp37 const NormalizePredTy Pred; member
39 NormalizeDenormalizeRewriter(TransformKind Kind, NormalizePredTy Pred, in NormalizeDenormalizeRewriter()
42 Pred(Pred) {} in NormalizeDenormalizeRewriter()
54 if (!Pred(AR)) in visitAddRecExpr()
103 auto Pred = [&](const SCEVAddRecExpr *AR) { in normalizeForPostIncUse() local
107 NormalizeDenormalizeRewriter(Normalize, Pred, SE).visit(S); in normalizeForPostIncUse()
115 const SCEV *llvm::normalizeForPostIncUseIf(const SCEV *S, NormalizePredTy Pred, in normalizeForPostIncUseIf() argument
117 return NormalizeDenormalizeRewriter(Normalize, Pred, SE).visit(S); in normalizeForPostIncUseIf()
125 auto Pred = [&](const SCEVAddRecExpr *AR) { in denormalizeForPostIncUse() local
128 return NormalizeDenormalizeRewriter(Denormalize, Pred, SE).visit(S); in denormalizeForPostIncUse()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExprEngine.h291 void processCFGElement(const CFGElement E, ExplodedNode *Pred,
294 void ProcessStmt(const Stmt *S, ExplodedNode *Pred);
296 void ProcessLoopExit(const Stmt* S, ExplodedNode *Pred);
298 void ProcessInitializer(const CFGInitializer I, ExplodedNode *Pred);
300 void ProcessImplicitDtor(const CFGImplicitDtor D, ExplodedNode *Pred);
302 void ProcessNewAllocator(const CXXNewExpr *NE, ExplodedNode *Pred);
305 ExplodedNode *Pred, ExplodedNodeSet &Dst);
307 ExplodedNode *Pred, ExplodedNodeSet &Dst);
309 ExplodedNode *Pred, ExplodedNodeSet &Dst);
311 ExplodedNode *Pred, ExplodedNodeSet &Dst);
[all …]
H A DCoreEngine.h110 ExplodedNode *Pred);
112 void HandleBlockEdge(const BlockEdge &E, ExplodedNode *Pred);
113 void HandleBlockEntrance(const BlockEntrance &E, ExplodedNode *Pred);
114 void HandleBlockExit(const CFGBlock *B, ExplodedNode *Pred);
116 void HandleCallEnter(const CallEnter &CE, ExplodedNode *Pred);
118 void HandlePostStmt(const CFGBlock *B, unsigned StmtIdx, ExplodedNode *Pred);
121 ExplodedNode *Pred);
123 const CFGBlock *B, ExplodedNode *Pred);
127 ExplodedNode *Pred);
129 void HandleVirtualBaseBranch(const CFGBlock *B, ExplodedNode *Pred);
[all …]
H A DCheckerContext.h27 ExplodedNode *Pred; variable
47 Pred(pred), in Eng()
52 assert(Pred->getState() && in Eng()
71 ExplodedNode *getPredecessor() { return Pred; } in getPredecessor()
72 const ProgramStateRef &getState() const { return Pred->getState(); } in getState()
95 return Pred->getLocationContext(); in getLocationContext()
99 return Pred->getStackFrame(); in getStackFrame()
128 return Pred->getLocationContext()->getAnalysisDeclContext(); in getCurrentAnalysisDeclContext()
150 return Pred->getSVal(S); in getSVal()
181 ExplodedNode *addTransition(ProgramStateRef State, ExplodedNode *Pred,
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFixIrreducibleControlFlow.cpp92 for (auto *Pred : MBB->predecessors()) { in ReachabilityGraph() local
93 assert(inRegion(Pred)); in ReachabilityGraph()
159 for (auto *Pred : MBB->predecessors()) { in calculate() local
160 if (Reachable[Pred].insert(Succ).second) { in calculate()
161 WorkList.emplace_back(Pred, Succ); in calculate()
178 for (auto *Pred : Looper->predecessors()) { in calculate() local
181 if (!canReach(Looper, Pred)) { in calculate()
183 LoopEnterers[Looper].insert(Pred); in calculate()
213 for (auto *Pred : Entry->predecessors()) { in calculate() local
214 if (!Enterers.count(Pred)) { in calculate()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp81 static bool isSignTest(ICmpInst::Predicate &Pred, const APInt &C) { in isSignTest() argument
82 if (!ICmpInst::isSigned(Pred)) in isSignTest()
86 return ICmpInst::isRelational(Pred); in isSignTest()
89 if (Pred == ICmpInst::ICMP_SLT) { in isSignTest()
90 Pred = ICmpInst::ICMP_SLE; in isSignTest()
94 if (Pred == ICmpInst::ICMP_SGT) { in isSignTest()
95 Pred = ICmpInst::ICMP_SGE; in isSignTest()
913 ICmpInst::Predicate Pred) { in foldICmpAddOpConst() argument
922 if (Pred == ICmpInst::ICMP_ULT || Pred == ICmpInst::ICMP_ULE) { in foldICmpAddOpConst()
931 if (Pred == ICmpInst::ICMP_UGT || Pred == ICmpInst::ICMP_UGE) in foldICmpAddOpConst()
[all …]
H A DInstCombineSelect.cpp61 CmpInst::Predicate Pred; in foldSelectBinOpIdentity() local
62 if (!match(Sel.getCondition(), m_Cmp(Pred, m_Value(X), m_Constant(C)))) in foldSelectBinOpIdentity()
66 if (ICmpInst::isEquality(Pred)) in foldSelectBinOpIdentity()
67 IsEq = Pred == ICmpInst::ICMP_EQ; in foldSelectBinOpIdentity()
68 else if (Pred == FCmpInst::FCMP_OEQ) in foldSelectBinOpIdentity()
70 else if (Pred == FCmpInst::FCMP_UNE) in foldSelectBinOpIdentity()
85 if (!IdC || !CmpInst::isFPPredicate(Pred)) in foldSelectBinOpIdentity()
137 ICmpInst::Predicate Pred = Cmp->getPredicate(); in foldSelectICmpAnd() local
138 if (ICmpInst::isEquality(Pred)) { in foldSelectICmpAnd()
149 Pred, V, AndMask)) { in foldSelectICmpAnd()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DConstraintElimination.cpp91 CmpInst::Predicate Pred; member
96 : Pred(CmpInst::BAD_ICMP_PREDICATE), Op0(nullptr), Op1(nullptr) {} in ConditionTy()
97 ConditionTy(CmpInst::Predicate Pred, Value *Op0, Value *Op1) in ConditionTy()
98 : Pred(Pred), Op0(Op0), Op1(Op1) {} in ConditionTy()
139 FactOrCheck(DomTreeNode *DTN, CmpInst::Predicate Pred, Value *Op0, Value *Op1, in FactOrCheck()
141 : Cond(Pred, Op0, Op1), DoesHold(Precond), NumIn(DTN->getDFSNumIn()), in FactOrCheck()
144 static FactOrCheck getConditionFact(DomTreeNode *DTN, CmpInst::Predicate Pred, in getConditionFact()
147 return FactOrCheck(DTN, Pred, Op0, Op1, Precond); in getConditionFact()
307 bool doesHold(CmpInst::Predicate Pred, Value *A, Value *B) const;
309 void addFact(CmpInst::Predicate Pred, Value *A, Value *B, unsigned NumIn,
[all …]
H A DLoopPredication.cpp247 /// icmp Pred, <induction variable>, <loop invariant limit>
249 ICmpInst::Predicate Pred; member
252 LoopICmp(ICmpInst::Predicate Pred, const SCEVAddRecExpr *IV, in LoopICmp()
254 : Pred(Pred), IV(IV), Limit(Limit) {} in LoopICmp()
257 dbgs() << "LoopICmp Pred = " << Pred << ", IV = " << *IV in dump()
296 ICmpInst::Predicate Pred, const SCEV *LHS,
350 auto Pred = ICI->getPredicate(); in runOnLoop()
365 Pred in INITIALIZE_PASS_DEPENDENCY()
390 auto Pred = ICI->getPredicate(); parseLoopICmp() local
417 expandCheck(SCEVExpander & Expander,Instruction * Guard,ICmpInst::Predicate Pred,const SCEV * LHS,const SCEV * RHS) expandCheck() argument
876 for (auto *Pred : predecessors(IfTrueBB)) widenWidenableBranchGuardConditions() local
936 __anon4970eb7f0202(const SCEV *Step, ICmpInst::Predicate Pred) parseLoopLatchICmp() argument
1064 if (BasicBlock *Pred = BB->getSinglePredecessor()) FindWidenableTerminatorAboveLoop() local
1072 if (BasicBlock *Pred = BB->getSinglePredecessor()) { FindWidenableTerminatorAboveLoop() local
[all...]
H A DLoopBoundSplit.cpp35 ICmpInst::Predicate Pred = ICmpInst::BAD_ICMP_PREDICATE; member
54 if (match(ICmp, m_ICmp(Cond.Pred, m_Value(Cond.AddRecValue), in analyzeICmp()
64 Cond.Pred = ICmpInst::getSwappedPredicate(Cond.Pred); in analyzeICmp()
92 if (Cond.Pred == ICmpInst::ICMP_SLT || Cond.Pred == ICmpInst::ICMP_ULT) in calculateUpperBound()
98 if (Cond.Pred != ICmpInst::ICMP_ULE && Cond.Pred != ICmpInst::ICMP_SLE) in calculateUpperBound()
104 APInt Max = ICmpInst::isSigned(Cond.Pred) in calculateUpperBound()
109 ICmpInst::Predicate Pred = in calculateUpperBound() local
110 ICmpInst::isSigned(Cond.Pred) ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; in calculateUpperBound()
111 if (SE.isKnownPredicate(Pred, Cond.BoundSCEV, MaxSCEV)) { in calculateUpperBound()
115 Cond.Pred = Pred; in calculateUpperBound()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSSAUpdaterImpl.h139 BlkT *Pred = Preds[p]; in BuildBlockList() local
142 BBMap.FindAndConstruct(Pred); in BuildBlockList()
149 ValT PredVal = AvailableVals->lookup(Pred); in BuildBlockList()
150 BBInfo *PredInfo = new (Allocator) BBInfo(Pred, PredVal); in BuildBlockList()
252 BBInfo *Pred = Info->Preds[p]; in FindDominators() local
255 if (Pred->BlkNum == 0) { in FindDominators()
256 Pred->AvailableVal = Traits::GetPoisonVal(Pred->BB, Updater); in FindDominators()
257 (*AvailableVals)[Pred->BB] = Pred->AvailableVal; in FindDominators()
258 Pred->DefBB = Pred; in FindDominators()
259 Pred->BlkNum = PseudoEntry->BlkNum; in FindDominators()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopConstrainer.cpp20 const SCEV *Step, ICmpInst::Predicate Pred, in isSafeDecreasingBound() argument
23 if (Pred != ICmpInst::ICMP_SLT && Pred != ICmpInst::ICMP_SGT && in isSafeDecreasingBound()
24 Pred != ICmpInst::ICMP_ULT && Pred != ICmpInst::ICMP_UGT) in isSafeDecreasingBound()
36 LLVM_DEBUG(dbgs() << "Pred: " << Pred << "\n"); in isSafeDecreasingBound()
39 bool IsSigned = ICmpInst::isSigned(Pred); in isSafeDecreasingBound()
69 const SCEV *Step, ICmpInst::Predicate Pred, in isSafeIncreasingBound() argument
72 if (Pred != ICmpInst::ICMP_SLT && Pred != ICmpInst::ICMP_SGT && in isSafeIncreasingBound()
73 Pred != ICmpInst::ICMP_ULT && Pred != ICmpInst::ICMP_UGT) in isSafeIncreasingBound()
83 LLVM_DEBUG(dbgs() << "Pred: " << Pred << "\n"); in isSafeIncreasingBound()
86 bool IsSigned = ICmpInst::isSigned(Pred); in isSafeIncreasingBound()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUExportClustering.cpp69 for (const SDep &Pred : SUb->Preds) { in buildCluster() local
70 SUnit *PredSU = Pred.getSUnit(); in buildCluster()
71 if (!isExport(*PredSU) && !Pred.isWeak()) in buildCluster()
85 for (const SDep &Pred : SU.Preds) { in removeExportDependencies() local
86 SUnit *PredSU = Pred.getSUnit(); in removeExportDependencies()
87 if (Pred.isBarrier() && isExport(*PredSU)) { in removeExportDependencies()
88 ToRemove.push_back(Pred); in removeExportDependencies()
102 for (SDep Pred : ToRemove) in removeExportDependencies() local
103 SU.removePred(Pred); in removeExportDependencies()
104 for (SDep Pred : ToAdd) in removeExportDependencies() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCEarlyReturn.cpp65 for (MachineBasicBlock *Pred : ReturnMBB.predecessors()) { in processBlock()
68 if (Pred->empty()) in processBlock()
71 for (MachineBasicBlock::iterator J = Pred->getLastNonDebugInstr();;) { in processBlock()
72 if (J == Pred->end()) in processBlock()
80 Pred->insert(J, MI); in processBlock()
97 Pred->insert(J, MI); in processBlock()
114 Pred->insert(J, MI); in processBlock()
134 if (J == Pred->begin()) in processBlock()
140 if (Pred->canFallThrough() && Pred->isLayoutSuccessor(&ReturnMBB)) in processBlock()
145 PredToRemove.push_back(Pred); in processBlock()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineBlockPlacement.cpp476 bool isBestSuccessor(MachineBasicBlock *BB, MachineBasicBlock *Pred,
1162 for (MachineBasicBlock *Pred : Succ->predecessors()) { in canTailDuplicateUnplacedPreds()
1166 if (Pred == BB || (BlockFilter && !BlockFilter->count(Pred)) in canTailDuplicateUnplacedPreds()
1167 || (BlockToChain[Pred] == &Chain && !Succ->succ_empty())) in canTailDuplicateUnplacedPreds()
1169 if (!TailDup.canTailDuplicate(Succ, Pred)) { in canTailDuplicateUnplacedPreds()
1170 if (Successors.size() > 1 && hasSameSuccessors(*Pred, Successors)) in canTailDuplicateUnplacedPreds()
1323 for (MachineBasicBlock* Pred : PDom->predecessors()) { in precomputeTriangleChains()
1324 if (Pred == &BB) in precomputeTriangleChains()
1326 if (!TailDup.canTailDuplicate(PDom, Pred)) { in precomputeTriangleChains()
1545 for (MachineBasicBlock *Pred : Succ->predecessors()) { in hasBetterLayoutPredecessor()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTDC.cpp129 auto Pred = I.getPredicate(); in convertFCmp() local
148 if ((Pred & CmpInst::FCMP_OGE) != CmpInst::FCMP_OGE && in convertFCmp()
149 (Pred & CmpInst::FCMP_OGE) != 0) in convertFCmp()
154 if ((Pred & CmpInst::FCMP_OLE) != CmpInst::FCMP_OLE && in convertFCmp()
155 (Pred & CmpInst::FCMP_OLE) != 0) in convertFCmp()
209 if (Pred & CmpInst::FCMP_OEQ) in convertFCmp()
211 if (Pred & CmpInst::FCMP_OGT) in convertFCmp()
213 if (Pred & CmpInst::FCMP_OLT) in convertFCmp()
215 if (Pred & CmpInst::FCMP_UNO) in convertFCmp()
239 auto Pred = I.getPredicate(); in convertICmp() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DScheduleDAGFast.cpp158 for (SDep &Pred : SU->Preds) { in ReleasePredecessors()
159 ReleasePred(SU, &Pred); in ReleasePredecessors()
160 if (Pred.isAssignedRegDep()) { in ReleasePredecessors()
165 if (!LiveRegDefs[Pred.getReg()]) { in ReleasePredecessors()
167 LiveRegDefs[Pred.getReg()] = Pred.getSUnit(); in ReleasePredecessors()
168 LiveRegCycles[Pred.getReg()] = CurCycle; in ReleasePredecessors()
278 for (SDep &Pred : SU->Preds) { in CopyAndMoveSuccessors()
279 if (Pred.isCtrl()) in CopyAndMoveSuccessors()
280 ChainPred = Pred; in CopyAndMoveSuccessors()
281 else if (Pred.getSUnit()->getNode() && in CopyAndMoveSuccessors()
[all …]

12345678910>>...18