Home
last modified time | relevance | path

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

1234

/external/llvm/include/llvm/IR/
DCallSite.h77 bool isInvoke() const { return getInstruction() && !I.getInt(); } in isInvoke()
79 InstrTy *getInstruction() const { return I.getPointer(); } in getInstruction() function
86 assert(getInstruction() && "Not a call or invoke instruction!"); in getCalledValue()
100 assert(getInstruction() && "Not a call or invoke instruction!"); in setCalledFunction()
119 assert(getInstruction() && "Not a call or invoke instruction!"); in setArgument()
121 getInstruction()->setOperand(ArgNo, newVal); in setArgument()
133 assert(getInstruction() && "Not a call or invoke instruction!"); in getArgumentNo()
146 assert(getInstruction() && "Not a call or invoke instruction!"); in arg_begin()
166 return isCall() && cast<CallInst>(getInstruction())->isMustTailCall(); in isMustTailCall()
171 return isCall() && cast<CallInst>(getInstruction())->isTailCall(); in isTailCall()
[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()
DMethodDefinition.java406 this, currentCodeAddress, instruction.getInstruction()); in addAnalyzedInstructionMethodItems()
410 … if (instruction.getInstruction().getOpcode().format == Format.UnresolvedOdexInstruction) { in addAnalyzedInstructionMethodItems()
438 !instruction.getInstruction().getOpcode().format.isPayloadFormat) { in addAnalyzedInstructionMethodItems()
447 currentCodeAddress += instruction.getInstruction().getCodeUnits(); in addAnalyzedInstructionMethodItems()
/external/llvm/lib/Transforms/IPO/
DInliner.cpp307 DebugLoc DLoc = CS.getInstruction()->getDebugLoc(); in emitAnalysis()
318 << ", Call: " << *CS.getInstruction() << "\n"); in shouldInline()
326 << ", Call: " << *CS.getInstruction() << "\n"); in shouldInline()
336 << ", Call: " << *CS.getInstruction() << "\n"); in shouldInline()
405 DEBUG(dbgs() << " NOT Inlining: " << *CS.getInstruction() << in shouldInline()
419 << ", Call: " << *CS.getInstruction() << '\n'); in shouldInline()
524 if (isInstructionTriviallyDead(CS.getInstruction(), TLI)) { in runOnSCC()
526 << *CS.getInstruction() << "\n"); in runOnSCC()
529 CS.getInstruction()->eraseFromParent(); in runOnSCC()
548 DebugLoc DLoc = CS.getInstruction()->getDebugLoc(); in runOnSCC()
/external/llvm/lib/Analysis/IPA/
DCallGraph.cpp185 if (I->first == CS.getInstruction()) { in removeCallEdgeFor()
229 if (I->first == CS.getInstruction()) { in replaceCallEdge()
231 I->first = NewCS.getInstruction(); in replaceCallEdge()
DInlineCost.cpp702 SimplifiedValues[CS.getInstruction()] = C; in simplifyCallSite()
718 cast<CallInst>(CS.getInstruction())->cannotDuplicate()) in visitCallSite()
728 if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(CS.getInstruction())) { in visitCallSite()
741 if (F == CS.getInstruction()->getParent()->getParent()) { in visitCallSite()
1043 Instruction *Instr = CS.getInstruction(); in analyzeCall()
1062 Function *Caller = CS.getInstruction()->getParent()->getParent(); in analyzeCall()
1068 Instruction *I = Site.getInstruction(); in analyzeCall()
1330 cast<CallInst>(CS.getInstruction())->canReturnTwice()) in isInlineViable()
/external/llvm/lib/Analysis/
DTypeBasedAliasAnalysis.cpp496 if (const MDNode *M = CS.getInstruction()->getMetadata(LLVMContext::MD_tbaa)) in getModRefBehavior()
518 CS.getInstruction()->getMetadata(LLVMContext::MD_tbaa)) in getModRefInfo()
532 CS1.getInstruction()->getMetadata(LLVMContext::MD_tbaa)) in getModRefInfo()
534 CS2.getInstruction()->getMetadata(LLVMContext::MD_tbaa)) in getModRefInfo()
DNoAliasAnalysis.cpp61 CS.getInstruction()->getMetadata(LLVMContext::MD_tbaa)); in getArgLocation()
DAliasAnalysisEvaluator.cpp122 errs() << " " << Msg << ": " << *CSA.getInstruction() in PrintModRefResults()
123 << " <-> " << *CSB.getInstruction() << '\n'; in PrintModRefResults()
274 Instruction *I = C->getInstruction(); in runOnFunction()
DMemoryDependenceAnalysis.cpp229 CS.getInstruction()->isIdenticalToWhenDefined(Inst)) in getCallSiteDependencyFrom()
634 assert(getDependency(QueryCS.getInstruction()).isNonLocal() && in getNonLocalCallDependency()
636 PerInstNLInfo &CacheP = NonLocalDeps[QueryCS.getInstruction()]; in getNonLocalCallDependency()
668 BasicBlock *QueryBB = QueryCS.getInstruction()->getParent(); in getNonLocalCallDependency()
720 QueryCS.getInstruction()); in getNonLocalCallDependency()
750 ReverseNonLocalDeps[Inst].insert(QueryCS.getInstruction()); in getNonLocalCallDependency()
DAliasAnalysisCounter.cpp167 errs() << "\t<->" << *CS.getInstruction() << '\n'; in getModRefInfo()
/external/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp1252 visitOperandShadowInst(*CS.getInstruction()); in visitCallSite()
1256 IRBuilder<> IRB(CS.getInstruction()); in visitCallSite()
1267 DFSF.setShadow(CS.getInstruction(), DFSF.DFS.ZeroShadow); in visitCallSite()
1272 DFSF.setShadow(CS.getInstruction(), DFSF.DFS.ZeroShadow); in visitCallSite()
1277 visitOperandShadowInst(*CS.getInstruction()); in visitCallSite()
1284 if (CallInst *CI = dyn_cast<CallInst>(CS.getInstruction())) { in visitCallSite()
1359 DFSF.getArgTLS(i, CS.getInstruction())); in visitCallSite()
1365 if (InvokeInst *II = dyn_cast<InvokeInst>(CS.getInstruction())) { in visitCallSite()
1381 DFSF.setShadow(CS.getInstruction(), LI); in visitCallSite()
1416 if (InvokeInst *II = dyn_cast<InvokeInst>(CS.getInstruction())) { in visitCallSite()
[all …]
/external/llvm/lib/Target/AArch64/Disassembler/
DAArch64Disassembler.h33 getInstruction(MCInst &instr, uint64_t &size, const MemoryObject &region,
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp1127 if (isAllocLikeFn(CS.getInstruction(), TLI)) in visitCallSite()
1128 return visitAllocSite(*CS.getInstruction()); in visitCallSite()
1146 Instruction *OldCall = CS.getInstruction(); in visitCallSite()
1167 if (!CS.getInstruction()->getType()->isVoidTy()) in visitCallSite()
1168 ReplaceInstUsesWith(*CS.getInstruction(), in visitCallSite()
1169 UndefValue::get(CS.getInstruction()->getType())); in visitCallSite()
1171 if (isa<InvokeInst>(CS.getInstruction())) { in visitCallSite()
1181 CS.getInstruction()); in visitCallSite()
1183 return EraseInstFromFunction(*CS.getInstruction()); in visitCallSite()
1214 if (CallInst *CI = dyn_cast<CallInst>(CS.getInstruction())) { in visitCallSite()
[all …]
/external/llvm/lib/Target/X86/Disassembler/
DX86Disassembler.h103 DecodeStatus getInstruction(MCInst &instr, uint64_t &size,
/external/llvm/include/llvm/MC/
DMCDisassembler.h79 virtual DecodeStatus getInstruction(MCInst& instr,
/external/llvm/utils/TableGen/
DCodeEmitterGen.cpp75 CodeGenInstruction &CGI = Target.getInstruction(R); in AddCodeToMergeInOperand()
201 CodeGenInstruction &CGI = Target.getInstruction(R); in getInstructionCase()
DDAGISelMatcherGen.cpp689 CodeGenInstruction &II = CGT.getInstruction(Op); in mayInstNodeLoadOrStore()
718 CodeGenInstruction &II = CGT.getInstruction(Op); in EmitResultInstructionAsOperand()
719 const DAGInstruction &Inst = CGP.getInstruction(Op); in EmitResultInstructionAsOperand()
961 CodeGenInstruction &II = CGT.getInstruction(DstPat->getOperator()); in EmitResultCode()
DCodeGenTarget.h155 CodeGenInstruction &getInstruction(const Record *InstRec) const { in getInstruction() function
DDAGISelEmitter.cpp49 CodeGenInstruction &II = CGP.getTargetInfo().getInstruction(Op); in getResultPatternCost()
/external/llvm/include/llvm/Analysis/
DCallGraph.h232 assert(!CS.getInstruction() || !CS.getCalledFunction() || in addCalledFunction()
234 CalledFunctions.push_back(std::make_pair(CS.getInstruction(), M)); in addCalledFunction()
DPtrUseVisitor.h278 PI.setEscaped(CS.getInstruction()); in visitCallSite()
/external/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp941 true, CS.getInstruction(), in processByValArgument()
942 CS.getInstruction()->getParent()); in processByValArgument()
981 false, CS.getInstruction(), MDep->getParent()); in processByValArgument()
988 "tmpcast", CS.getInstruction()); in processByValArgument()
992 << " " << *CS.getInstruction() << "\n"); in processByValArgument()
/external/llvm/lib/Transforms/ObjCARC/
DObjCARCAliasAnalysis.cpp137 switch (GetBasicInstructionClass(CS.getInstruction())) { in getModRefInfo()
/external/llvm/lib/Target/SystemZ/Disassembler/
DSystemZDisassembler.cpp32 DecodeStatus getInstruction(MCInst &instr, uint64_t &size,
290 DecodeStatus SystemZDisassembler::getInstruction(MCInst &MI, uint64_t &Size, in getInstruction() function in SystemZDisassembler

1234