Lines Matching refs:LoadCmpBlocks

83   std::vector<BasicBlock *> LoadCmpBlocks;  member in __anon455dbdd30111::MemCmpExpansion
311 LoadCmpBlocks.push_back(BB); in createLoadCmpBlocks()
378 BasicBlock *BB = LoadCmpBlocks[BlockIndex]; in emitLoadCompareByteBlock()
387 if (BlockIndex < (LoadCmpBlocks.size() - 1)) { in emitLoadCompareByteBlock()
393 BranchInst::Create(EndBlock, LoadCmpBlocks[BlockIndex + 1], Cmp); in emitLoadCompareByteBlock()
398 {DominatorTree::Insert, BB, LoadCmpBlocks[BlockIndex + 1]}}); in emitLoadCompareByteBlock()
422 if (LoadCmpBlocks.empty()) in getCompareLoadPairs()
425 Builder.SetInsertPoint(LoadCmpBlocks[BlockIndex]); in getCompareLoadPairs()
484 BasicBlock *NextBB = (BlockIndex == (LoadCmpBlocks.size() - 1)) in emitLoadCompareBlockMultipleLoads()
486 : LoadCmpBlocks[BlockIndex + 1]; in emitLoadCompareBlockMultipleLoads()
499 if (BlockIndex == LoadCmpBlocks.size() - 1) { in emitLoadCompareBlockMultipleLoads()
501 PhiRes->addIncoming(Zero, LoadCmpBlocks[BlockIndex]); in emitLoadCompareBlockMultipleLoads()
535 Builder.SetInsertPoint(LoadCmpBlocks[BlockIndex]); in emitLoadCompareBlock()
543 ResBlock.PhiSrc1->addIncoming(Loads.Lhs, LoadCmpBlocks[BlockIndex]); in emitLoadCompareBlock()
544 ResBlock.PhiSrc2->addIncoming(Loads.Rhs, LoadCmpBlocks[BlockIndex]); in emitLoadCompareBlock()
548 BasicBlock *NextBB = (BlockIndex == (LoadCmpBlocks.size() - 1)) in emitLoadCompareBlock()
550 : LoadCmpBlocks[BlockIndex + 1]; in emitLoadCompareBlock()
563 if (BlockIndex == LoadCmpBlocks.size() - 1) { in emitLoadCompareBlock()
565 PhiRes->addIncoming(Zero, LoadCmpBlocks[BlockIndex]); in emitLoadCompareBlock()
734 StartBlock->getTerminator()->setSuccessor(0, LoadCmpBlocks[0]); in getMemCmpExpansion()
736 DTU->applyUpdates({{DominatorTree::Insert, StartBlock, LoadCmpBlocks[0]}, in getMemCmpExpansion()