Home
last modified time | relevance | path

Searched refs:LoopGuard (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/polly/lib/CodeGen/
H A DLoopGenerators.cpp136 Value *LoopGuard; in createLoop() local
137 LoopGuard = Builder.CreateICmp(Predicate, LB, UB); in createLoop()
138 LoopGuard->setName("polly.loop_guard"); in createLoop()
139 Builder.CreateCondBr(LoopGuard, PreHeaderBB, ExitBB); in createLoop()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DHardwareLoops.cpp461 auto *LoopGuard = cast<BranchInst>(BeginBB->getTerminator()); in InsertIterationSetup() local
462 LoopGuard->setCondition(SetCount); in InsertIterationSetup()
463 if (LoopGuard->getSuccessor(0) != L->getLoopPreheader()) in InsertIterationSetup()
464 LoopGuard->swapSuccessors(); in InsertIterationSetup()