Searched refs:OldBr (Results 1 – 3 of 3) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | ScalarizeMaskedMemIntrin.cpp | 218 Instruction *OldBr = IfBlock->getTerminator(); in scalarizeMaskedLoad() local 219 BranchInst::Create(CondBlock, NewIfBlock, Cmp, OldBr); in scalarizeMaskedLoad() 220 OldBr->eraseFromParent(); in scalarizeMaskedLoad() 341 Instruction *OldBr = IfBlock->getTerminator(); in scalarizeMaskedStore() local 342 BranchInst::Create(CondBlock, NewIfBlock, Cmp, OldBr); in scalarizeMaskedStore() 343 OldBr->eraseFromParent(); in scalarizeMaskedStore() 469 Instruction *OldBr = IfBlock->getTerminator(); in scalarizeMaskedGather() local 470 BranchInst::Create(CondBlock, NewIfBlock, Cmp, OldBr); in scalarizeMaskedGather() 471 OldBr->eraseFromParent(); in scalarizeMaskedGather() 580 Instruction *OldBr = IfBlock->getTerminator(); in scalarizeMaskedScatter() local [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | LoopUtils.cpp | 1366 auto *OldBr = dyn_cast<BranchInst>(Preheader->getTerminator()); in deleteDeadLoop() local 1367 assert(OldBr && "Preheader must end with a branch"); in deleteDeadLoop() 1368 assert(OldBr->isUnconditional() && "Preheader must have a single successor"); in deleteDeadLoop() 1394 IRBuilder<> Builder(OldBr); in deleteDeadLoop() 1397 OldBr->eraseFromParent(); in deleteDeadLoop()
|
/external/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 1281 Instruction *OldBr = IfBlock->getTerminator(); in scalarizeMaskedLoad() local 1282 BranchInst::Create(CondBlock, NewIfBlock, Cmp, OldBr); in scalarizeMaskedLoad() 1283 OldBr->eraseFromParent(); in scalarizeMaskedLoad() 1404 Instruction *OldBr = IfBlock->getTerminator(); in scalarizeMaskedStore() local 1405 BranchInst::Create(CondBlock, NewIfBlock, Cmp, OldBr); in scalarizeMaskedStore() 1406 OldBr->eraseFromParent(); in scalarizeMaskedStore() 1535 Instruction *OldBr = IfBlock->getTerminator(); in scalarizeMaskedGather() local 1536 BranchInst::Create(CondBlock, NewIfBlock, Cmp, OldBr); in scalarizeMaskedGather() 1537 OldBr->eraseFromParent(); in scalarizeMaskedGather() 1648 Instruction *OldBr = IfBlock->getTerminator(); in scalarizeMaskedScatter() local [all …]
|