Home
last modified time | relevance | path

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

/frameworks/rs/rsov/compiler/
DGlobalMergePass.cpp147 if (Instruction *Inst = dyn_cast<Instruction>(U)) { in ReplaceAllUsesWithNewInstructions() local
149 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() local
158 Inst->insertBefore(UserOfU); in ReplaceAllUsesWithNewInstructions()
159 ReplaceUse(Inst, V, funcCreateAndInsert(Inst)); in ReplaceAllUsesWithNewInstructions()
161 DEBUG(Inst->dump()); in ReplaceAllUsesWithNewInstructions()
162 return Inst; in ReplaceAllUsesWithNewInstructions()
/frameworks/compile/libbcc/lib/
DRSInvariant.cpp113 llvm::Instruction *Inst = llvm::cast<llvm::Instruction>(Use.getUser()); in markInvariantUserLoads() local
122 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()
DRSInvokeHelperPass.cpp196 for (auto &Inst : InstList) { in runOnFunction() local
198 if (llvm::CallInst *call = llvm::dyn_cast<llvm::CallInst>(&Inst)) { in runOnFunction()
/frameworks/compile/slang/BitWriter_2_9_func/
DValueEnumerator.cpp123 unsigned ValueEnumerator::getInstructionID(const Instruction *Inst) const { in getInstructionID()
124 InstructionMapType::const_iterator I = InstructionMap.find(Inst); in getInstructionID()
/frameworks/compile/slang/BitWriter_2_9/
DValueEnumerator.cpp123 unsigned ValueEnumerator::getInstructionID(const Instruction *Inst) const { in getInstructionID()
124 InstructionMapType::const_iterator I = InstructionMap.find(Inst); in getInstructionID()
/frameworks/compile/slang/BitWriter_3_2/
DValueEnumerator.cpp123 unsigned ValueEnumerator::getInstructionID(const Instruction *Inst) const { in getInstructionID()
124 InstructionMapType::const_iterator I = InstructionMap.find(Inst); in getInstructionID()
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
DBitcodeReader.cpp163 InvokeInst *Inst = dyn_cast<InvokeInst>(BB->getTerminator()); in UpgradeExceptionHandling() local
164 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() local
264 Inst->eraseFromParent(); in UpgradeExceptionHandling()
289 Instruction *Inst = &*I++; in UpgradeExceptionHandling() local
290 Inst->eraseFromParent(); in UpgradeExceptionHandling()
2788 Instruction *Inst = InstructionList[Record[0]]; in ParseMetadataAttachment() local
2796 Inst->setMetadata(I->second, cast<MDNode>(Node)); in ParseMetadataAttachment()
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
DBitcodeReader.cpp2525 Instruction *Inst = InstructionList[Record[0]]; in ParseMetadataAttachment() local
2533 Inst->setMetadata(I->second, cast<MDNode>(Node)); in ParseMetadataAttachment()