Home
last modified time | relevance | path

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

12345678910

/external/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 …]
/external/llvm/include/llvm/IR/
DCallSite.h82 bool isInvoke() const { return getInstruction() && !I.getInt(); } in isInvoke()
84 InstrTy *getInstruction() const { return I.getPointer(); } in getInstruction() function
89 BBTy* getParent() const { return getInstruction()->getParent(); } in getParent()
94 assert(getInstruction() && "Not a call or invoke instruction!"); in getCalledValue()
108 assert(getInstruction() && "Not a call or invoke instruction!"); in setCalledFunction()
129 assert(getInstruction() == U->getUser()); in isArgOperand()
140 assert(getInstruction() == U->getUser()); in isBundleOperand()
164 assert(getInstruction() && "Not a call or invoke instruction!"); in setArgument()
166 getInstruction()->setOperand(ArgNo, newVal); in setArgument()
178 assert(getInstruction() && "Not a call or invoke instruction!"); in getArgumentNo()
[all …]
DStatepoint.h125 InstructionTy *getInstruction() const { in getInstruction() function
126 return getCallSite().getInstruction(); in getInstruction()
238 return gc_args_begin() - getInstruction()->op_begin(); in gcArgsStartIdx()
256 for (auto *U : getInstruction()->users()) in getGCResult()
409 for (const User *U : getInstruction()->users()) in getRelocates()
418 cast<InvokeInst>(getInstruction())->getLandingPadInst(); in getRelocates()
/external/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 …]
/external/apache-commons-bcel/src/main/java/org/apache/bcel/verifier/structurals/
DControlFlowGraph.java113 return exceptionhandlers.getExceptionHandlers(getInstruction()); in getExceptionHandlers()
173 …if ( (lastExecutionJSR() == null) && (subroutines.subroutineOf(getInstruction()) != subroutines.ge… in execute()
176 …if ( (lastExecutionJSR() != null) && (subroutines.subroutineOf(getInstruction()) == subroutines.ge… in execute()
204 getInstruction().accept(icv); in execute()
207 ce.extendMessage("","\nInstructionHandle: "+getInstruction()+"\n"); in execute()
217 getInstruction().accept(ev); in execute()
233 final String ret = getInstruction().toString(false)+"\t[InstructionContext]"; in toString()
284 public InstructionHandle getInstruction() { in getInstruction() method in ControlFlowGraph.InstructionContextImpl
302 final Instruction currentlast = current.getInstruction().getInstruction(); in lastExecutionJSR()
333 final Instruction inst = getInstruction().getInstruction(); in _getSuccessors()
[all …]
DSubroutines.java152 if (actual.getInstruction() instanceof RET) { in setLeavingRET()
163 if (((RET) ret.getInstruction()).getIndex() != localVariable) { in setLeavingRET()
186 if ( (jsrInst == null) || (! (jsrInst.getInstruction() instanceof JsrInstruction))) { in addEnteringJsrInstruction()
195 …localVariable != ((ASTORE) (((JsrInstruction) jsrInst.getInstruction()).getTarget().getInstruction in addEnteringJsrInstruction()
281 …if (ih.getInstruction() instanceof LocalVariableInstruction || ih.getInstruction() instanceof RET)… in getAccessedLocalsIndices()
282 final int idx = ((IndexedInstruction) (ih.getInstruction())).getIndex(); in getAccessedLocalsIndices()
288 if (ih.getInstruction() instanceof LocalVariableInstruction) { in getAccessedLocalsIndices()
289 … final int s = ((LocalVariableInstruction) ih.getInstruction()).getType(null).getSize(); in getAccessedLocalsIndices()
321 final Instruction inst = ih.getInstruction(); in subSubs()
403 final Instruction inst = element.getInstruction(); in Subroutines()
[all …]
DPass3bVerifier.java163 if ((u.getInstruction().getInstruction()) instanceof RET) { in circulationPump()
167 final RET ret = (RET) (u.getInstruction().getInstruction()); in circulationPump()
179 … if ((oldchain.get(ss)).getInstruction().getInstruction() instanceof JsrInstruction) { in circulationPump()
186 if ((oldchain.get(ss)).getInstruction().getInstruction() instanceof RET) { in circulationPump()
193 … final JsrInstruction jsr = (JsrInstruction) (lastJSR.getInstruction().getInstruction()); in circulationPump()
195 …throw new AssertionViolatedException("RET '"+u.getInstruction()+"' info inconsistent: jump back to… in circulationPump()
247 InstructionHandle ih = start.getInstruction(); in circulationPump()
249 if ((ih.getInstruction() instanceof ReturnInstruction) && (!(cfg.isDead(ih)))) { in circulationPump()
/external/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()
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/
DPreInstructionRegisterInfoMethodItem.java108 if (analyzedInstruction.getInstruction() instanceof RegisterRangeInstruction) { in addArgsRegs()
109 …isterRangeInstruction instruction = (RegisterRangeInstruction)analyzedInstruction.getInstruction(); in addArgsRegs()
113 } else if (analyzedInstruction.getInstruction() instanceof FiveRegisterInstruction) { in addArgsRegs()
114 …iveRegisterInstruction instruction = (FiveRegisterInstruction)analyzedInstruction.getInstruction(); in addArgsRegs()
132 } else if (analyzedInstruction.getInstruction() instanceof ThreeRegisterInstruction) { in addArgsRegs()
133 …eeRegisterInstruction instruction = (ThreeRegisterInstruction)analyzedInstruction.getInstruction(); in addArgsRegs()
137 } else if (analyzedInstruction.getInstruction() instanceof TwoRegisterInstruction) { in addArgsRegs()
138 … TwoRegisterInstruction instruction = (TwoRegisterInstruction)analyzedInstruction.getInstruction(); in addArgsRegs()
141 } else if (analyzedInstruction.getInstruction() instanceof OneRegisterInstruction) { in addArgsRegs()
142 … OneRegisterInstruction instruction = (OneRegisterInstruction)analyzedInstruction.getInstruction(); in addArgsRegs()
/external/google-smali/third_party/baksmali/src/main/java/com/android/tools/smali/baksmali/Adaptors/
DPreInstructionRegisterInfoMethodItem.java111 if (analyzedInstruction.getInstruction() instanceof RegisterRangeInstruction) { in addArgsRegs()
112 …isterRangeInstruction instruction = (RegisterRangeInstruction)analyzedInstruction.getInstruction(); in addArgsRegs()
116 } else if (analyzedInstruction.getInstruction() instanceof FiveRegisterInstruction) { in addArgsRegs()
117 …iveRegisterInstruction instruction = (FiveRegisterInstruction)analyzedInstruction.getInstruction(); in addArgsRegs()
135 } else if (analyzedInstruction.getInstruction() instanceof ThreeRegisterInstruction) { in addArgsRegs()
136 …eeRegisterInstruction instruction = (ThreeRegisterInstruction)analyzedInstruction.getInstruction(); in addArgsRegs()
140 } else if (analyzedInstruction.getInstruction() instanceof TwoRegisterInstruction) { in addArgsRegs()
141 … TwoRegisterInstruction instruction = (TwoRegisterInstruction)analyzedInstruction.getInstruction(); in addArgsRegs()
144 } else if (analyzedInstruction.getInstruction() instanceof OneRegisterInstruction) { in addArgsRegs()
145 … OneRegisterInstruction instruction = (OneRegisterInstruction)analyzedInstruction.getInstruction(); in addArgsRegs()
/external/llvm/lib/IR/
DStatepoint.cpp22 if (!CS.getInstruction()) in getCalledFunction()
44 return CS.getInstruction() && isa<GCRelocateInst>(CS.getInstruction()); in isGCRelocate()
48 return CS.getInstruction() && isa<GCResultInst>(CS.getInstruction()); in isGCResult()
/external/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()
/external/llvm/lib/Analysis/
DScopedNoAliasAA.cpp100 if (!mayAliasInScopes(Loc.AATags.Scope, CS.getInstruction()->getMetadata( in getModRefInfo()
105 CS.getInstruction()->getMetadata(LLVMContext::MD_alias_scope), in getModRefInfo()
118 CS1.getInstruction()->getMetadata(LLVMContext::MD_alias_scope), in getModRefInfo()
119 CS2.getInstruction()->getMetadata(LLVMContext::MD_noalias))) in getModRefInfo()
123 CS2.getInstruction()->getMetadata(LLVMContext::MD_alias_scope), in getModRefInfo()
124 CS1.getInstruction()->getMetadata(LLVMContext::MD_noalias))) in getModRefInfo()
/external/llvm/lib/Transforms/IPO/
DInliner.cpp228 DebugLoc DLoc = CS.getInstruction()->getDebugLoc(); in emitAnalysis()
308 << ", Call: " << *CS.getInstruction() << "\n"); in shouldInline()
316 << ", Call: " << *CS.getInstruction() << "\n"); in shouldInline()
326 << ", Call: " << *CS.getInstruction() << "\n"); in shouldInline()
336 DEBUG(dbgs() << " NOT Inlining: " << *CS.getInstruction() in shouldInline()
348 << ", Call: " << *CS.getInstruction() << '\n'); in shouldInline()
461 if (isInstructionTriviallyDead(CS.getInstruction(), &TLI)) { in inlineCalls()
463 << *CS.getInstruction() << "\n"); in inlineCalls()
466 CS.getInstruction()->eraseFromParent(); in inlineCalls()
485 DebugLoc DLoc = CS.getInstruction()->getDebugLoc(); in inlineCalls()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DInstructionList.java193 final BranchInstruction bi = (BranchInstruction) ihs[i].getInstruction(); in InstructionList()
714 ih.getInstruction().dispose(); // e.g. BranchInstructions release their targets in remove()
803 if (ih.getInstruction() == i) { in findInstruction1()
819 if (ih.getInstruction() == i) { in findInstruction2()
863 final Instruction i = ih.getInstruction(); in setPositions()
865 Instruction inst = ((BranchInstruction) i).getTarget().getInstruction(); in setPositions()
872 inst = target.getInstruction(); in setPositions()
889 final Instruction i = ih.getInstruction(); in setPositions()
920 final Instruction i = ih.getInstruction(); in setPositions()
941 final Instruction i = ih.getInstruction(); in getByteCode()
[all …]
DPUSH.java41 instruction = InstructionConst.getInstruction(Const.ICONST_0 + value); in PUSH()
57 instruction = InstructionConst.getInstruction(Const.ICONST_0 + (value ? 1 : 0)); in PUSH()
180 public final Instruction getInstruction() { in getInstruction() method in PUSH
DJsrInstruction.java67 while (ih.getInstruction() != this) { in physicalSuccessor()
73 if ((ih != null) && (ih.getInstruction() == this)) { in physicalSuccessor()
/external/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()
/external/angle/third_party/vulkan-deps/glslang/src/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()
472 const Instruction *instr = module.getInstruction(id); in postProcessFeatures()
/external/deqp-deps/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()
472 const Instruction *instr = module.getInstruction(id); in postProcessFeatures()
/external/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()
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/
DSmaliLabel.java54 public SmaliInstruction getInstruction() { in getInstruction() method in SmaliLabel
64 SmaliInstruction instruction = getInstruction(); in getOffset()

12345678910