Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DMergedLoadStoreMotion.cpp142 void hoistInstruction(BasicBlock *BB, Instruction *HoistCand,
145 bool hoistLoad(BasicBlock *BB, LoadInst *HoistCand, LoadInst *ElseInst);
289 Instruction *HoistCand, in hoistInstruction() argument
292 dbgs() << "Instruction Left\n"; HoistCand->dump(); dbgs() << "\n"; in hoistInstruction()
295 assert(HoistCand->getParent() != BB); in hoistInstruction()
298 HoistCand->intersectOptionalDataWith(ElseInst); in hoistInstruction()
299 HoistCand->dropUnknownNonDebugMetadata(); in hoistInstruction()
305 Instruction *HoistedInst = HoistCand->clone(); in hoistInstruction()
310 HoistCand->replaceAllUsesWith(HoistedInst); in hoistInstruction()
311 removeInstruction(HoistCand); in hoistInstruction()