Searched refs:getInstruction (Results 1 - 25 of 88) sorted by relevance

1234

/external/llvm/include/llvm/IR/
H A DCallSite.h77 bool isInvoke() const { return getInstruction() && !I.getInt(); }
79 InstrTy *getInstruction() const { return I.getPointer(); } function in class:llvm::CallSiteBase
86 assert(getInstruction() && "Not a call or invoke instruction!");
100 assert(getInstruction() && "Not a call or invoke instruction!");
119 assert(getInstruction() && "Not a call or invoke instruction!");
121 getInstruction()->setOperand(ArgNo, newVal);
133 assert(getInstruction() && "Not a call or invoke instruction!");
146 assert(getInstruction() && "Not a call or invoke instruction!");
166 return isCall() && cast<CallInst>(getInstruction())->isMustTailCall();
171 return isCall() && cast<CallInst>(getInstruction())
[all...]
/external/llvm/lib/Target/AArch64/Disassembler/
H A DAArch64Disassembler.h31 /// getInstruction - See MCDisassembler.
33 getInstruction(MCInst &instr, uint64_t &size, const MemoryObject &region,
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/
H A DPreInstructionRegisterInfoMethodItem.java108 if (analyzedInstruction.getInstruction() instanceof RegisterRangeInstruction) {
109 RegisterRangeInstruction instruction = (RegisterRangeInstruction)analyzedInstruction.getInstruction();
113 } else if (analyzedInstruction.getInstruction() instanceof FiveRegisterInstruction) {
114 FiveRegisterInstruction instruction = (FiveRegisterInstruction)analyzedInstruction.getInstruction();
132 } else if (analyzedInstruction.getInstruction() instanceof ThreeRegisterInstruction) {
133 ThreeRegisterInstruction instruction = (ThreeRegisterInstruction)analyzedInstruction.getInstruction();
137 } else if (analyzedInstruction.getInstruction() instanceof TwoRegisterInstruction) {
138 TwoRegisterInstruction instruction = (TwoRegisterInstruction)analyzedInstruction.getInstruction();
141 } else if (analyzedInstruction.getInstruction() instanceof OneRegisterInstruction) {
142 OneRegisterInstruction instruction = (OneRegisterInstruction)analyzedInstruction.getInstruction();
[all...]
H A DMethodDefinition.java406 this, currentCodeAddress, instruction.getInstruction());
410 if (instruction.getInstruction().getOpcode().format == Format.UnresolvedOdexInstruction) {
438 !instruction.getInstruction().getOpcode().format.isPayloadFormat) {
447 currentCodeAddress += instruction.getInstruction().getCodeUnits();
/external/llvm/lib/Target/X86/Disassembler/
H A DX86Disassembler.h102 /// getInstruction - See MCDisassembler.
103 DecodeStatus getInstruction(MCInst &instr, uint64_t &size,
/external/llvm/include/llvm/MC/
H A DMCDisassembler.h63 /// getInstruction - Returns the disassembly of a single instruction.
79 virtual DecodeStatus getInstruction(MCInst& instr,
/external/llvm/lib/Analysis/
H A DNoAliasAnalysis.cpp61 CS.getInstruction()->getMetadata(LLVMContext::MD_tbaa));
H A DTypeBasedAliasAnalysis.cpp496 if (const MDNode *M = CS.getInstruction()->getMetadata(LLVMContext::MD_tbaa))
518 CS.getInstruction()->getMetadata(LLVMContext::MD_tbaa))
532 CS1.getInstruction()->getMetadata(LLVMContext::MD_tbaa))
534 CS2.getInstruction()->getMetadata(LLVMContext::MD_tbaa))
H A DAliasAnalysisEvaluator.cpp122 errs() << " " << Msg << ": " << *CSA.getInstruction()
123 << " <-> " << *CSB.getInstruction() << '\n';
274 Instruction *I = C->getInstruction();
H A DAliasAnalysisCounter.cpp167 errs() << "\t<->" << *CS.getInstruction() << '\n';
/external/llvm/lib/Transforms/IPO/
H A DInliner.cpp307 DebugLoc DLoc = CS.getInstruction()->getDebugLoc();
318 << ", Call: " << *CS.getInstruction() << "\n");
326 << ", Call: " << *CS.getInstruction() << "\n");
336 << ", Call: " << *CS.getInstruction() << "\n");
405 DEBUG(dbgs() << " NOT Inlining: " << *CS.getInstruction() <<
419 << ", Call: " << *CS.getInstruction() << '\n');
524 if (isInstructionTriviallyDead(CS.getInstruction(), TLI)) {
526 << *CS.getInstruction() << "\n");
529 CS.getInstruction()->eraseFromParent();
548 DebugLoc DLoc = CS.getInstruction()
[all...]
/external/llvm/lib/Analysis/IPA/
H A DCallGraph.cpp185 if (I->first == CS.getInstruction()) {
229 if (I->first == CS.getInstruction()) {
231 I->first = NewCS.getInstruction();
H A DInlineCost.cpp702 SimplifiedValues[CS.getInstruction()] = C;
718 cast<CallInst>(CS.getInstruction())->cannotDuplicate())
728 if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(CS.getInstruction())) {
741 if (F == CS.getInstruction()->getParent()->getParent()) {
1043 Instruction *Instr = CS.getInstruction();
1062 Function *Caller = CS.getInstruction()->getParent()->getParent();
1068 Instruction *I = Site.getInstruction();
1330 cast<CallInst>(CS.getInstruction())->canReturnTwice())
/external/llvm/lib/Transforms/ObjCARC/
H A DObjCARCAliasAnalysis.cpp137 switch (GetBasicInstructionClass(CS.getInstruction())) {
/external/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp1252 visitOperandShadowInst(*CS.getInstruction());
1256 IRBuilder<> IRB(CS.getInstruction());
1267 DFSF.setShadow(CS.getInstruction(), DFSF.DFS.ZeroShadow);
1272 DFSF.setShadow(CS.getInstruction(), DFSF.DFS.ZeroShadow);
1277 visitOperandShadowInst(*CS.getInstruction());
1284 if (CallInst *CI = dyn_cast<CallInst>(CS.getInstruction())) {
1359 DFSF.getArgTLS(i, CS.getInstruction()));
1365 if (InvokeInst *II = dyn_cast<InvokeInst>(CS.getInstruction())) {
1381 DFSF.setShadow(CS.getInstruction(), LI);
1416 if (InvokeInst *II = dyn_cast<InvokeInst>(CS.getInstruction())) {
[all...]
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp1127 if (isAllocLikeFn(CS.getInstruction(), TLI))
1128 return visitAllocSite(*CS.getInstruction());
1146 Instruction *OldCall = CS.getInstruction();
1167 if (!CS.getInstruction()->getType()->isVoidTy())
1168 ReplaceInstUsesWith(*CS.getInstruction(),
1169 UndefValue::get(CS.getInstruction()->getType()));
1171 if (isa<InvokeInst>(CS.getInstruction())) {
1181 CS.getInstruction());
1183 return EraseInstFromFunction(*CS.getInstruction());
1214 if (CallInst *CI = dyn_cast<CallInst>(CS.getInstruction())) {
[all...]
/external/clang/lib/CodeGen/
H A DCGCUDANV.cpp109 llvm::Value *CSZero = CGF.Builder.CreateICmpEQ(CS.getInstruction(), Zero);
/external/llvm/include/llvm/Analysis/
H A DPtrUseVisitor.h278 PI.setEscaped(CS.getInstruction());
H A DCallGraph.h232 assert(!CS.getInstruction() || !CS.getCalledFunction() ||
234 CalledFunctions.push_back(std::make_pair(CS.getInstruction(), M));
/external/llvm/tools/llvm-mc/
H A DDisassembler.cpp69 S = DisAsm.getInstruction(Inst, Size, memoryObject, Index,
/external/llvm/utils/TableGen/
H A DCodeGenTarget.h155 CodeGenInstruction &getInstruction(const Record *InstRec) const { function in class:llvm::CodeGenTarget
H A DDAGISelEmitter.cpp49 CodeGenInstruction &II = CGP.getTargetInfo().getInstruction(Op);
H A DCodeEmitterGen.cpp75 CodeGenInstruction &CGI = Target.getInstruction(R);
201 CodeGenInstruction &CGI = Target.getInstruction(R);
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
H A DAnalyzedInstruction.java130 public Instruction getInstruction() { method in class:AnalyzedInstruction
/external/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp941 true, CS.getInstruction(),
942 CS.getInstruction()->getParent());
981 false, CS.getInstruction(), MDep->getParent());
988 "tmpcast", CS.getInstruction());
992 << " " << *CS.getInstruction() << "\n");

Completed in 3127 milliseconds

1234