Home
last modified time | relevance | path

Searched refs:PHBI (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLoopRotation.cpp298 BranchInst *PHBI = cast<BranchInst>(OrigPreheader->getTerminator()); in rotateLoop() local
299 assert(PHBI->isConditional() && "Should be clone of BI condbr!"); in rotateLoop()
300 if (!isa<ConstantInt>(PHBI->getCondition()) || in rotateLoop()
301 PHBI->getSuccessor(cast<ConstantInt>(PHBI->getCondition())->isZero()) in rotateLoop()
329 BranchInst *NewBI = BranchInst::Create(NewHeader, PHBI); in rotateLoop()
330 NewBI->setDebugLoc(PHBI->getDebugLoc()); in rotateLoop()
331 PHBI->eraseFromParent(); in rotateLoop()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLoopRotationUtils.cpp423 BranchInst *PHBI = cast<BranchInst>(OrigPreheader->getTerminator()); in rotateLoop() local
424 assert(PHBI->isConditional() && "Should be clone of BI condbr!"); in rotateLoop()
425 if (!isa<ConstantInt>(PHBI->getCondition()) || in rotateLoop()
426 PHBI->getSuccessor(cast<ConstantInt>(PHBI->getCondition())->isZero()) != in rotateLoop()
464 BranchInst *NewBI = BranchInst::Create(NewHeader, PHBI); in rotateLoop()
465 NewBI->setDebugLoc(PHBI->getDebugLoc()); in rotateLoop()
466 PHBI->eraseFromParent(); in rotateLoop()
/external/llvm/lib/Transforms/Scalar/
DLoopRotation.cpp361 BranchInst *PHBI = cast<BranchInst>(OrigPreheader->getTerminator()); in rotateLoop() local
362 assert(PHBI->isConditional() && "Should be clone of BI condbr!"); in rotateLoop()
363 if (!isa<ConstantInt>(PHBI->getCondition()) || in rotateLoop()
364 PHBI->getSuccessor(cast<ConstantInt>(PHBI->getCondition())->isZero()) != in rotateLoop()
421 BranchInst *NewBI = BranchInst::Create(NewHeader, PHBI); in rotateLoop()
422 NewBI->setDebugLoc(PHBI->getDebugLoc()); in rotateLoop()
423 PHBI->eraseFromParent(); in rotateLoop()