Home
last modified time | relevance | path

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

1234567

/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/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/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/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()
DTypeBasedAliasAnalysis.cpp330 if (const MDNode *M = CS.getInstruction()->getMetadata(LLVMContext::MD_tbaa)) in getModRefBehavior()
350 CS.getInstruction()->getMetadata(LLVMContext::MD_tbaa)) in getModRefInfo()
363 CS1.getInstruction()->getMetadata(LLVMContext::MD_tbaa)) in getModRefInfo()
365 CS2.getInstruction()->getMetadata(LLVMContext::MD_tbaa)) in getModRefInfo()
DCallGraph.cpp206 if (I->first == CS.getInstruction()) { in removeCallEdgeFor()
250 if (I->first == CS.getInstruction()) { in replaceCallEdge()
252 I->first = NewCS.getInstruction(); in replaceCallEdge()
DInlineCost.cpp605 Instruction *Instr = CS.getInstruction(); in allowSizeGrowth()
638 if (CS.getInstruction()->extractProfTotalWeight(TotalWeight) && in updateThreshold()
875 SimplifiedValues[CS.getInstruction()] = C; in simplifyCallSite()
889 if (CS.isCall() && cast<CallInst>(CS.getInstruction())->cannotDuplicate()) in visitCallSite()
899 if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(CS.getInstruction())) { in visitCallSite()
920 if (F == CS.getInstruction()->getParent()->getParent()) { in visitCallSite()
1274 Function *Caller = CS.getInstruction()->getParent()->getParent(); in analyzeCall()
1280 Instruction *I = Site.getInstruction(); in analyzeCall()
1540 cast<CallInst>(CS.getInstruction())->canReturnTwice()) in isInlineViable()
/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/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/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()
DAliasAnalysis.cpp90 MDNode *CSTag = CS.getInstruction()->getMetadata(LLVMContext::MD_tbaa); in getModRefInfo()
148 MDNode *CS2Tag = CS2.getInstruction()->getMetadata(LLVMContext::MD_tbaa); in getModRefInfo()
168 MDNode *CS1Tag = CS1.getInstruction()->getMetadata(LLVMContext::MD_tbaa); in getModRefInfo()
DAliasAnalysisEvaluator.cpp121 errs() << " " << Msg << ": " << *CSA.getInstruction() in PrintModRefResults()
122 << " <-> " << *CSB.getInstruction() << '\n'; in PrintModRefResults()
205 Instruction *I = C->getInstruction(); in runOnFunction()
/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()
/external/llvm/lib/Transforms/Scalar/
DRewriteStatepointsForGC.cpp280 Instruction *Inst = CS.getInstruction(); in analyzeParsePointLiveness()
1288 Instruction *InsertBefore = CS.getInstruction(); in makeStatepointExplicitImpl()
1345 CallInst *ToReplace = cast<CallInst>(CS.getInstruction()); in makeStatepointExplicitImpl()
1369 InvokeInst *ToReplace = cast<InvokeInst>(CS.getInstruction()); in makeStatepointExplicitImpl()
1426 DeferredReplacement::createDeoptimizeReplacement(CS.getInstruction())); in makeStatepointExplicitImpl()
1429 if (!CS.getType()->isVoidTy() && !CS.getInstruction()->use_empty()) { in makeStatepointExplicitImpl()
1431 CS.getInstruction()->hasName() ? CS.getInstruction()->getName() : ""; in makeStatepointExplicitImpl()
1442 DeferredReplacement::createRAUW(CS.getInstruction(), GCResult)); in makeStatepointExplicitImpl()
1445 DeferredReplacement::createDelete(CS.getInstruction())); in makeStatepointExplicitImpl()
1756 Module *M = CS.getInstruction()->getModule(); in insertUseHolderAfter()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCalls.cpp917 Instruction *OldCall = CS.getInstruction(); in visitCallSite()
941 CS.getInstruction()); in visitCallSite()
945 if (!CS.getInstruction()->getType()->isVoidTy()) in visitCallSite()
946 ReplaceInstUsesWith(*CS.getInstruction(), in visitCallSite()
947 UndefValue::get(CS.getInstruction()->getType())); in visitCallSite()
949 if (InvokeInst *II = dyn_cast<InvokeInst>(CS.getInstruction())) { in visitCallSite()
954 return EraseInstFromFunction(*CS.getInstruction()); in visitCallSite()
985 if (CallInst *CI = dyn_cast<CallInst>(CS.getInstruction())) { in visitCallSite()
992 return Changed ? CS.getInstruction() : 0; in visitCallSite()
1003 Instruction *Caller = CS.getInstruction(); in transformConstExprCastCall()
[all …]
/external/swiftshader/third_party/LLVM/lib/Analysis/IPA/
DCallGraph.cpp285 if (I->first == CS.getInstruction()) { in removeCallEdgeFor()
329 if (I->first == CS.getInstruction()) { in replaceCallEdge()
331 I->first = NewCS.getInstruction(); in replaceCallEdge()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/flow/
DLabelInfoTest.java44 assertNull(LabelInfo.getInstruction(label)); in testDefaults()
164 assertSame(instruction, LabelInfo.getInstruction(label)); in testSetInstruction()
/external/llvm/lib/Target/WebAssembly/Disassembler/
DWebAssemblyDisassembler.cpp36 DecodeStatus getInstruction(MCInst &Instr, uint64_t &Size,
63 MCDisassembler::DecodeStatus WebAssemblyDisassembler::getInstruction( in getInstruction() function in WebAssemblyDisassembler
/external/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp1400 visitOperandShadowInst(*CS.getInstruction()); in visitCallSite()
1409 IRBuilder<> IRB(CS.getInstruction()); in visitCallSite()
1420 DFSF.setShadow(CS.getInstruction(), DFSF.DFS.ZeroShadow); in visitCallSite()
1425 DFSF.setShadow(CS.getInstruction(), DFSF.DFS.ZeroShadow); in visitCallSite()
1430 visitOperandShadowInst(*CS.getInstruction()); in visitCallSite()
1437 if (CallInst *CI = dyn_cast<CallInst>(CS.getInstruction())) { in visitCallSite()
1529 DFSF.getArgTLS(i, CS.getInstruction())); in visitCallSite()
1535 if (InvokeInst *II = dyn_cast<InvokeInst>(CS.getInstruction())) { in visitCallSite()
1552 DFSF.setShadow(CS.getInstruction(), LI); in visitCallSite()
1588 if (InvokeInst *II = dyn_cast<InvokeInst>(CS.getInstruction())) { in visitCallSite()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DStatepointLowering.cpp779 SI.StatepointInstr = ISP.getInstruction(); in LowerStatepoint()
810 FuncInfo.ValueMap[ISP.getInstruction()] = Reg; in LowerStatepoint()
816 setValue(ISP.getInstruction(), ReturnValue); in LowerStatepoint()
820 setValue(ISP.getInstruction(), DAG.getIntPtrConstant(-1, getCurSDLoc())); in LowerStatepoint()
828 unsigned ArgBeginIndex = CS.arg_begin() - CS.getInstruction()->op_begin(); in LowerCallSiteWithDeoptBundleImpl()
852 const Instruction *Inst = CS.getInstruction(); in LowerCallSiteWithDeoptBundleImpl()
/external/llvm/lib/Target/Lanai/Disassembler/
DLanaiDisassembler.h34 getInstruction(MCInst &Instr, uint64_t &Size, ArrayRef<uint8_t> Bytes,
/external/llvm/lib/Target/AArch64/Disassembler/
DAArch64Disassembler.h32 getInstruction(MCInst &Instr, uint64_t &Size, ArrayRef<uint8_t> Bytes,

1234567