Searched refs:Inst (Results 1 – 8 of 8) sorted by relevance
147 if (Instruction *Inst = dyn_cast<Instruction>(U)) { in ReplaceAllUsesWithNewInstructions() local149 DEBUG(Inst->dump()); in ReplaceAllUsesWithNewInstructions()152 ReplaceUse(U, V, funcCreateAndInsert(Inst)); in ReplaceAllUsesWithNewInstructions()154 DEBUG(Inst->dump()); in ReplaceAllUsesWithNewInstructions()157 Instruction *Inst = CE->getAsInstruction(); in ReplaceAllUsesWithNewInstructions() local158 Inst->insertBefore(UserOfU); in ReplaceAllUsesWithNewInstructions()159 ReplaceUse(Inst, V, funcCreateAndInsert(Inst)); in ReplaceAllUsesWithNewInstructions()161 DEBUG(Inst->dump()); in ReplaceAllUsesWithNewInstructions()162 return Inst; in ReplaceAllUsesWithNewInstructions()
113 llvm::Instruction *Inst = llvm::cast<llvm::Instruction>(Use.getUser()); in markInvariantUserLoads() local122 if (auto BitCast = llvm::dyn_cast<llvm::BitCastInst>(Inst)) { in markInvariantUserLoads()124 } else if (auto GetElementPtr = llvm::dyn_cast<llvm::GetElementPtrInst>(Inst)) { in markInvariantUserLoads()127 } else if (auto Load = llvm::dyn_cast<llvm::LoadInst>(Inst)) { in markInvariantUserLoads()
196 for (auto &Inst : InstList) { in runOnFunction() local198 if (llvm::CallInst *call = llvm::dyn_cast<llvm::CallInst>(&Inst)) { in runOnFunction()
123 unsigned ValueEnumerator::getInstructionID(const Instruction *Inst) const { in getInstructionID()124 InstructionMapType::const_iterator I = InstructionMap.find(Inst); in getInstructionID()
163 InvokeInst *Inst = dyn_cast<InvokeInst>(BB->getTerminator()); in UpgradeExceptionHandling() local164 if (!Inst) continue; in UpgradeExceptionHandling()165 BasicBlock *UnwindDest = Inst->getUnwindDest(); in UpgradeExceptionHandling()173 InvokeToIntrinsicsMap[Inst] = std::make_pair(Exn, Sel); in UpgradeExceptionHandling()263 Instruction *Inst = *I; in UpgradeExceptionHandling() local264 Inst->eraseFromParent(); in UpgradeExceptionHandling()289 Instruction *Inst = &*I++; in UpgradeExceptionHandling() local290 Inst->eraseFromParent(); in UpgradeExceptionHandling()2788 Instruction *Inst = InstructionList[Record[0]]; in ParseMetadataAttachment() local2796 Inst->setMetadata(I->second, cast<MDNode>(Node)); in ParseMetadataAttachment()
2525 Instruction *Inst = InstructionList[Record[0]]; in ParseMetadataAttachment() local2533 Inst->setMetadata(I->second, cast<MDNode>(Node)); in ParseMetadataAttachment()