Home
last modified time | relevance | path

Searched refs:getInstruction (Results 1 – 25 of 109) sorted by relevance

12345

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DCallSite.h91 bool isInvoke() const { return getInstruction() && I.getInt() == 0; } in isInvoke()
96 InstrTy *getInstruction() const { return I.getPointer(); } in getInstruction() function
101 BBTy* getParent() const { return getInstruction()->getParent(); } in getParent()
105 assert(getInstruction() && "Not a call, invoke or callbr instruction!"); in getCalledValue()
122 if (const CallBase *CB = dyn_cast<CallBase>(getInstruction())) in isIndirectCall()
131 assert(getInstruction() && "Not a call, callbr, or invoke instruction!"); in setCalledFunction()
133 cast<CallBase>(getInstruction())->getFunctionType() && in setCalledFunction()
164 assert(getInstruction() == U->getUser()); in isArgOperand()
175 assert(getInstruction() == U->getUser()); in isBundleOperand()
199 assert(getInstruction() && "Not a call, invoke or callbr instruction!"); in setArgument()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DCallPromotionUtils.cpp166 for (User *U : CS.getInstruction()->users()) in createRetBitCast()
172 if (auto *Invoke = dyn_cast<InvokeInst>(CS.getInstruction())) in createRetBitCast()
176 InsertBefore = &*std::next(CS.getInstruction()->getIterator()); in createRetBitCast()
179 auto *Cast = CastInst::CreateBitOrPointerCast(CS.getInstruction(), RetTy, "", in createRetBitCast()
186 U->replaceUsesOfWith(CS.getInstruction(), Cast); in createRetBitCast()
259 IRBuilder<> Builder(CS.getInstruction()); in versionCallSite()
260 Instruction *OrigInst = CS.getInstruction(); in versionCallSite()
274 SplitBlockAndInsertIfThenElse(Cond, CS.getInstruction(), &ThenTerm, &ElseTerm, in versionCallSite()
327 Type *CallRetTy = CS.getInstruction()->getType(); in isLegalToPromote()
371 cast<CallBase>(CS.getInstruction())->setCalledOperand(Callee); in promoteCall()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/HardwareUnits/
DScheduler.cpp42 Resources->canBeDispatched(IR.getInstruction()->getUsedBuffers()); in isAvailable()
73 Instruction *IS = IR.getInstruction(); in issueInstructionImpl()
104 const Instruction &Inst = *IR.getInstruction(); in issueInstruction()
129 Instruction &IS = *IR.getInstruction(); in promoteToReadySet()
166 Instruction &IS = *IR.getInstruction(); in promoteToPendingSet()
198 Instruction &IS = *IR.getInstruction(); in select()
224 Instruction &IS = *IR.getInstruction(); in updateIssuedSet()
252 const Instruction &IS = *IR.getInstruction(); in analyzeDataDependencies()
274 IR.getInstruction()->cycleEvent(); in cycleEvent()
278 IR.getInstruction()->cycleEvent(); in cycleEvent()
[all …]
DRetireControlUnit.cpp42 const Instruction &Inst = *IR.getInstruction(); in dispatch()
58 const Instruction *Inst = Current.IR.getInstruction(); in getCurrentToken()
76 Current.IR.getInstruction()->retire(); in consumeCurrentToken()
87 assert(Queue[TokenID].IR.getInstruction() && "Instruction was not dispatched!"); in onInstructionExecuted()
DLSUnit.cpp70 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in dispatch()
154 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in isAvailable()
163 unsigned GroupID = IR.getInstruction()->getLSUTokenID(); in onInstructionExecuted()
172 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in onInstructionRetired()
191 const Instruction &IS = *IR.getInstruction(); in onInstructionExecuted()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/HardwareUnits/
DLSUnit.h107 unsigned Cycles = IR.getInstruction()->getCyclesLeft(); in onGroupIssued()
125 const Instruction &IS = *IR.getInstruction(); in onInstructionIssued()
127 const Instruction &OtherIS = *CriticalMemoryInstruction.getInstruction(); in onInstructionIssued()
251 unsigned GroupID = IR.getInstruction()->getLSUTokenID(); in isReady()
259 unsigned GroupID = IR.getInstruction()->getLSUTokenID(); in isPending()
267 unsigned GroupID = IR.getInstruction()->getLSUTokenID(); in isWaiting()
273 unsigned GroupID = IR.getInstruction()->getLSUTokenID(); in hasDependentUsers()
303 unsigned GroupID = IR.getInstruction()->getLSUTokenID(); in onInstructionIssued()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/Stages/
DExecuteStage.cpp59 Instruction &IS = *IR.getInstruction(); in issueInstruction()
162 const Instruction &Inst = *IR.getInstruction(); in verifyInstructionEliminated()
180 IR.getInstruction()->forceExecuted(); in handleInstructionEliminated()
194 if (IR.getInstruction()->isEliminated()) in execute()
202 const Instruction &Inst = *IR.getInstruction(); in execute()
274 uint64_t UsedBuffers = IR.getInstruction()->getDesc().UsedBuffers; in notifyReservedOrReleasedBuffers()
DDispatchStage.cpp48 for (const WriteState &RegDef : IR.getInstruction()->getDefs()) in checkPRF()
63 const unsigned NumMicroOps = IR.getInstruction()->getNumMicroOps(); in checkRCU()
80 Instruction &IS = *IR.getInstruction(); in dispatch()
159 const Instruction &Inst = *IR.getInstruction(); in isAvailable()
DRetireStage.cpp46 RCU.onInstructionExecuted(IR.getInstruction()->getRCUTokenID()); in execute()
53 const Instruction &Inst = *IR.getInstruction(); in notifyInstructionRetired()
/third_party/glslang/SPIRV/
DSpvPostProcess.cpp248 Instruction *accessChain = module.getInstruction(inst.getIdOperand(0)); in postProcess()
250 Instruction *base = module.getInstruction(accessChain->getIdOperand(0)); in postProcess()
253 Instruction *type = module.getInstruction(typeId); in postProcess()
260 type = module.getInstruction(typeId); in postProcess()
267 Instruction *idx = module.getInstruction(accessChain->getIdOperand(i)); in postProcess()
284 type = module.getInstruction(typeId); in postProcess()
297 type = module.getInstruction(typeId); in postProcess()
470 const Instruction *instr = module.getInstruction(id); in postProcessFeatures()
DSpvBuilder.h254 Op getOpCode(Id id) const { return module.getInstruction(id)->getOpCode(); } in getOpCode()
265 { return (ImageFormat)module.getInstruction(typeId)->getImmediateOperand(6); } in getImageTypeFormat()
267 …Id getIdOperand(Id resultId, int idx) { return module.getInstruction(resultId)->getIdOperand(idx);… in getIdOperand()
280 …{ return getTypeClass(typeId) == OpTypeInt && module.getInstruction(typeId)->getImmediateOperand(1… in isIntType()
282 …{ return getTypeClass(typeId) == OpTypeInt && module.getInstruction(typeId)->getImmediateOperand(1… in isUintType()
310 { return module.getInstruction(resultId)->getImmediateOperand(0); } in getConstantScalar()
326 return module.getInstruction(scalarTypeId)->getImmediateOperand(0); in getScalarTypeWidth()
345 return (Dim)module.getInstruction(typeId)->getImmediateOperand(1); in getTypeDimensionality()
351 return isSampledImageType(typeId) ? module.getInstruction(typeId)->getIdOperand(0) : typeId; in getImageType()
356 return module.getInstruction(typeId)->getImmediateOperand(3) != 0; in isArrayedImageType()
DInReadableOrder.cpp86 mergeBlock = block->getParent().getParent().getInstruction(mergeId)->getBlock(); in visit()
91 block->getParent().getParent().getInstruction(continueId)->getBlock(); in visit()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DCallSiteSplitting.cpp193 Instruction *Instr = CS.getInstruction(); in canSplitCallSite()
310 Instruction *Instr = CS.getInstruction(); in splitCallSite()
422 Instruction *Instr = CS.getInstruction(); in isPredicatedOnPHI()
455 auto Preds = getTwoPredecessors(CS.getInstruction()->getParent()); in shouldSplitOnPHIPredicatedArgument()
464 auto Preds = getTwoPredecessors(CS.getInstruction()->getParent()); in shouldSplitOnPredicatedArgument()
473 auto *CSDTNode = DTU.getDomTree().getNode(CS.getInstruction()->getParent()); in shouldSplitOnPredicatedArgument()
480 recordCondition(CS, Pred, CS.getInstruction()->getParent(), Conditions); in shouldSplitOnPredicatedArgument()
DMemCpyOptimizer.cpp1258 CS.getInstruction()->getIterator(), CS.getInstruction()->getParent()); in processByValArgument()
1286 CS.getInstruction(), &AC, &DT) < ByValAlign) in processByValArgument()
1305 CS.getInstruction()->getIterator(), MDep->getParent()); in processByValArgument()
1312 "tmpcast", CS.getInstruction()); in processByValArgument()
1316 << " " << *CS.getInstruction() << "\n"); in processByValArgument()
DCorrelatedValuePropagation.cpp542 if (auto *WO = dyn_cast<WithOverflowInst>(CS.getInstruction())) { in processCallSite()
549 if (auto *SI = dyn_cast<SaturatingInst>(CS.getInstruction())) { in processCallSite()
571 Constant *C = LVI->getConstant(V, CS.getParent(), CS.getInstruction()); in processCallSite()
589 CS.getInstruction()) == LazyValueInfo::False) in processCallSite()
600 LLVMContext &Ctx = CS.getInstruction()->getContext(); in processCallSite()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DInliner.cpp424 Instruction *Call = CS.getInstruction(); in shouldInline()
430 << ", Call: " << *CS.getInstruction() << "\n"); in shouldInline()
436 << ", Call: " << *CS.getInstruction() << "\n"); in shouldInline()
448 << ", Call: " << *CS.getInstruction() << "\n"); in shouldInline()
459 LLVM_DEBUG(dbgs() << " NOT Inlining: " << *CS.getInstruction() in shouldInline()
476 << ", Call: " << *CS.getInstruction() << '\n'); in shouldInline()
628 Instruction *Instr = CS.getInstruction(); in inlineCallsImpl()
676 CG[Caller]->removeCallEdgeFor(*cast<CallBase>(CS.getInstruction())); in inlineCallsImpl()
1016 return getInlineCost(cast<CallBase>(*CS.getInstruction()), Params, in run()
DDeadArgumentElimination.cpp181 Instruction *Call = CS.getInstruction(); in DeleteDeadVarargs()
205 cast<CallInst>(NewCS.getInstruction()) in DeleteDeadVarargs()
218 Call->replaceAllUsesWith(NewCS.getInstruction()); in DeleteDeadVarargs()
570 const Instruction *TheCall = CS.getInstruction(); in SurveyFunction()
880 Instruction *Call = CS.getInstruction(); in RemoveDeadStuffFromFunction()
943 cast<CallInst>(NewCS.getInstruction()) in RemoveDeadStuffFromFunction()
955 Instruction *New = NewCS.getInstruction(); in RemoveDeadStuffFromFunction()
DArgumentPromotion.cpp246 Instruction *Call = CS.getInstruction(); in doPromotion()
353 Call->replaceAllUsesWith(NewCS.getInstruction()); in doPromotion()
910 if (CS.getInstruction() == nullptr || !CS.isCallee(&U)) in promoteArguments()
917 if (CS.getInstruction()->getParent()->getParent() == F) in promoteArguments()
1139 Function *Caller = OldCS.getInstruction()->getParent()->getParent(); in runOnSCC()
1143 CallerNode->replaceCallEdge(*cast<CallBase>(OldCS.getInstruction()), in runOnSCC()
1144 *cast<CallBase>(NewCS.getInstruction()), in runOnSCC()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/Disassembler/
DAVRDisassembler.cpp41 DecodeStatus getInstruction(MCInst &Instr, uint64_t &Size,
113 DecodeStatus AVRDisassembler::getInstruction(MCInst &Instr, uint64_t &Size, in getInstruction() function in AVRDisassembler
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp1542 visitOperandShadowInst(*CS.getInstruction()); in visitCallSite()
1551 IRBuilder<> IRB(CS.getInstruction()); in visitCallSite()
1562 DFSF.setShadow(CS.getInstruction(), DFSF.DFS.ZeroShadow); in visitCallSite()
1566 DFSF.setShadow(CS.getInstruction(), DFSF.DFS.ZeroShadow); in visitCallSite()
1570 visitOperandShadowInst(*CS.getInstruction()); in visitCallSite()
1576 if (CallInst *CI = dyn_cast<CallInst>(CS.getInstruction())) { in visitCallSite()
1681 DFSF.getArgTLS(i, CS.getInstruction())); in visitCallSite()
1687 if (InvokeInst *II = dyn_cast<InvokeInst>(CS.getInstruction())) { in visitCallSite()
1704 DFSF.setShadow(CS.getInstruction(), LI); in visitCallSite()
1741 if (InvokeInst *II = dyn_cast<InvokeInst>(CS.getInstruction())) { in visitCallSite()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/Disassembler/
DBPFDisassembler.cpp68 DecodeStatus getInstruction(MCInst &Instr, uint64_t &Size,
161 DecodeStatus BPFDisassembler::getInstruction(MCInst &Instr, uint64_t &Size, in getInstruction() function in BPFDisassembler
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/Disassembler/
DLanaiDisassembler.h30 getInstruction(MCInst &Instr, uint64_t &Size, ArrayRef<uint8_t> Bytes,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/Disassembler/
DAArch64Disassembler.h27 getInstruction(MCInst &Instr, uint64_t &Size, ArrayRef<uint8_t> Bytes,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/Stages/
DMicroOpQueueStage.h57 IR.getInstruction()->getDesc().NumMicroOps); in getNormalizedOpcodes()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyOptimizeReturned.cpp61 Instruction *Inst = CS.getInstruction(); in visitCallSite()

12345