Home
last modified time | relevance | path

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

12345678910>>...14

/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-7.0/llvm/include/llvm/IR/
DCallSite.h90 bool isInvoke() const { return getInstruction() && !I.getInt(); } in isInvoke()
92 InstrTy *getInstruction() const { return I.getPointer(); } in getInstruction() function
97 BBTy* getParent() const { return getInstruction()->getParent(); } in getParent()
101 assert(getInstruction() && "Not a call or invoke instruction!"); in getCalledValue()
118 if (const CallInst *CI = dyn_cast<CallInst>(getInstruction())) { in isIndirectCall()
127 assert(getInstruction() && "Not a call or invoke instruction!"); in setCalledFunction()
157 assert(getInstruction() == U->getUser()); in isArgOperand()
168 assert(getInstruction() == U->getUser()); in isBundleOperand()
192 assert(getInstruction() && "Not a call or invoke instruction!"); in setArgument()
194 getInstruction()->setOperand(ArgNo, newVal); in setArgument()
[all …]
DStatepoint.h145 InstructionTy *getInstruction() const { in getInstruction() function
146 return getCallSite().getInstruction(); in getInstruction()
258 return gc_args_begin() - getInstruction()->op_begin(); in gcArgsStartIdx()
276 for (auto *U : getInstruction()->users()) in getGCResult()
433 for (const User *U : getInstruction()->users()) in getRelocates()
442 cast<InvokeInst>(getInstruction())->getLandingPadInst(); in getRelocates()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DCallSite.h78 bool isInvoke() const { return getInstruction() && !I.getInt(); } in isInvoke()
80 InstrTy *getInstruction() const { return I.getPointer(); } in getInstruction() function
87 assert(getInstruction() && "Not a call or invoke instruction!"); in getCalledValue()
101 assert(getInstruction() && "Not a call or invoke instruction!"); in setCalledFunction()
118 assert(getInstruction() && "Not a call or invoke instruction!"); in setArgument()
120 getInstruction()->setOperand(ArgNo, newVal); in setArgument()
126 assert(getInstruction() && "Not a call or invoke instruction!"); in getArgumentNo()
139 assert(getInstruction() && "Not a call or invoke instruction!"); in arg_begin()
157 InstrTy *II = getInstruction(); \
163 InstrTy *II = getInstruction(); \
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DCallPromotionUtils.cpp167 for (User *U : CS.getInstruction()->users()) in createRetBitCast()
173 if (auto *Invoke = dyn_cast<InvokeInst>(CS.getInstruction())) in createRetBitCast()
177 InsertBefore = &*std::next(CS.getInstruction()->getIterator()); in createRetBitCast()
180 auto *Cast = CastInst::Create(Instruction::BitCast, CS.getInstruction(), in createRetBitCast()
187 U->replaceUsesOfWith(CS.getInstruction(), Cast); in createRetBitCast()
260 IRBuilder<> Builder(CS.getInstruction()); in versionCallSite()
261 Instruction *OrigInst = CS.getInstruction(); in versionCallSite()
275 SplitBlockAndInsertIfThenElse(Cond, CS.getInstruction(), &ThenTerm, &ElseTerm, in versionCallSite()
326 Type *CallRetTy = CS.getInstruction()->getType(); in isLegalToPromote()
374 CS.getInstruction()->setMetadata(LLVMContext::MD_prof, nullptr); 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-7.0/llvm/unittests/tools/llvm-cfi-verify/
DFileAnalysis.cpp112 EXPECT_EQ(nullptr, Analysis.getInstruction(0x0)); in TEST_F()
113 EXPECT_EQ(nullptr, Analysis.getInstruction(0x1000)); in TEST_F()
116 const auto *InstrMeta = Analysis.getInstruction(0xDEADBEEF); in TEST_F()
127 InstrMeta = Analysis.getInstruction(0xDEADBEEF + 1); in TEST_F()
139 InstrMeta = Analysis.getInstruction(0xDEADBEEF + 3); in TEST_F()
151 InstrMeta = Analysis.getInstruction(0xDEADBEEF + 6); in TEST_F()
163 InstrMeta = Analysis.getInstruction(0xDEADBEEF + 10); in TEST_F()
175 InstrMeta = Analysis.getInstruction(0xDEADBEEF + 20); in TEST_F()
185 InstrMeta = Analysis.getInstruction(0xDEADBEEF + 21); in TEST_F()
195 InstrMeta = Analysis.getInstruction(0xDEADBEEF + 23); in TEST_F()
[all …]
/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/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-7.0/llvm/lib/IR/
DStatepoint.cpp22 if (!CS.getInstruction()) in getCalledFunction()
44 return CS.getInstruction() && isa<GCRelocateInst>(CS.getInstruction()); in isGCRelocate()
54 return CS.getInstruction() && isa<GCResultInst>(CS.getInstruction()); in isGCResult()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DScopedNoAliasAA.cpp103 if (!mayAliasInScopes(Loc.AATags.Scope, CS.getInstruction()->getMetadata( in getModRefInfo()
108 CS.getInstruction()->getMetadata(LLVMContext::MD_alias_scope), in getModRefInfo()
121 CS1.getInstruction()->getMetadata(LLVMContext::MD_alias_scope), in getModRefInfo()
122 CS2.getInstruction()->getMetadata(LLVMContext::MD_noalias))) in getModRefInfo()
126 CS2.getInstruction()->getMetadata(LLVMContext::MD_alias_scope), in getModRefInfo()
127 CS1.getInstruction()->getMetadata(LLVMContext::MD_noalias))) in getModRefInfo()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DBasicInliner.cpp105 CS.getInstruction()->getParent()->getParent() == Callee) { in inlineFunctions()
113 <<", call: " << *CS.getInstruction()); in inlineFunctions()
116 <<", call: " << *CS.getInstruction()); in inlineFunctions()
123 << ", call: " << *CS.getInstruction()); in inlineFunctions()
127 << ", call: " << *CS.getInstruction()); in inlineFunctions()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mca/
DExecuteStage.cpp59 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in issueReadyInstructions()
62 if (IR.getInstruction()->isExecuted()) in issueReadyInstructions()
108 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in execute()
148 if (IR.getInstruction()->isExecuted()) in execute()
159 RCU.onInstructionExecuted(IR.getInstruction()->getRCUTokenID()); in notifyInstructionExecuted()
DDispatchStage.cpp39 IR.getInstruction()->getDefs()) in checkPRF()
54 const unsigned NumMicroOps = IR.getInstruction()->getDesc().NumMicroOps; in checkRCU()
92 Instruction &IS = *IR.getInstruction(); in dispatch()
140 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in execute()
DScheduler.cpp239 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in canBeDispatched()
263 Instruction *IS = IR.getInstruction(); in issueInstructionImpl()
282 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in issueInstruction()
384 if (!IR.getInstruction()->isReady() || (Reserved && !LSU->isReady(IR))) { in reserveResources()
386 WaitQueue[IR.getSourceIndex()] = IR.getInstruction(); in reserveResources()
393 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in issueImmediately()
397 ReadyQueue[IR.getSourceIndex()] = IR.getInstruction(); in issueImmediately()
/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/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DInliner.cpp223 << ", Call: " << *CS.getInstruction() << "\n"); in shouldInline()
229 << ", Call: " << *CS.getInstruction() << "\n"); in shouldInline()
241 << ", Call: " << *CS.getInstruction() << "\n"); in shouldInline()
302 DEBUG(dbgs() << " NOT Inlining: " << *CS.getInstruction() << in shouldInline()
311 << ", Call: " << *CS.getInstruction() << '\n'); in shouldInline()
411 if (isInstructionTriviallyDead(CS.getInstruction())) { in runOnSCC()
413 << *CS.getInstruction() << "\n"); in runOnSCC()
416 CS.getInstruction()->eraseFromParent(); in runOnSCC()
/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
/external/deqp-deps/glslang/SPIRV/
DSpvPostProcess.cpp203 Instruction *accessChain = module.getInstruction(inst.getIdOperand(0)); in postProcess()
205 Instruction *base = module.getInstruction(accessChain->getIdOperand(0)); in postProcess()
208 Instruction *type = module.getInstruction(typeId); in postProcess()
215 type = module.getInstruction(typeId); in postProcess()
222 Instruction *idx = module.getInstruction(accessChain->getIdOperand(i)); in postProcess()
239 type = module.getInstruction(typeId); in postProcess()
252 type = module.getInstruction(typeId); in postProcess()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DTypeBasedAliasAnalysis.cpp258 if (const MDNode *M = CS.getInstruction()->getMetadata(LLVMContext::MD_tbaa)) in getModRefBehavior()
279 CS.getInstruction()->getMetadata(LLVMContext::MD_tbaa)) in getModRefInfo()
293 CS1.getInstruction()->getMetadata(LLVMContext::MD_tbaa)) in getModRefInfo()
295 CS2.getInstruction()->getMetadata(LLVMContext::MD_tbaa)) in getModRefInfo()

12345678910>>...14