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

123

/freebsd-10-stable/contrib/llvm/include/llvm/Support/
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!");
117 assert(getInstruction() && "Not a call or invoke instruction!");
119 getInstruction()->setOperand(ArgNo, newVal);
125 assert(getInstruction() && "Not a call or invoke instruction!");
138 assert(getInstruction() && "Not a call or invoke instruction!");
156 InstrTy *II = getInstruction(); \
162 InstrTy *II = getInstruction(); \
[all...]
/freebsd-10-stable/contrib/llvm/lib/Target/X86/Disassembler/
H A DX86Disassembler.h115 /// getInstruction - See MCDisassembler.
116 DecodeStatus getInstruction(MCInst &instr,
/freebsd-10-stable/contrib/llvm/lib/Transforms/IPO/
H A DInliner.cpp290 << ", Call: " << *CS.getInstruction() << "\n");
296 << ", Call: " << *CS.getInstruction() << "\n");
304 << ", Call: " << *CS.getInstruction() << "\n");
370 DEBUG(dbgs() << " NOT Inlining: " << *CS.getInstruction() <<
379 << ", Call: " << *CS.getInstruction() << '\n');
479 if (isInstructionTriviallyDead(CS.getInstruction(), TLI)) {
481 << *CS.getInstruction() << "\n");
484 CS.getInstruction()->eraseFromParent();
/freebsd-10-stable/contrib/llvm/include/llvm/MC/
H A DMCDisassembler.h66 /// getInstruction - Returns the disassembly of a single instruction.
82 virtual DecodeStatus getInstruction(MCInst& instr,
/freebsd-10-stable/contrib/llvm/lib/Analysis/IPA/
H A DCallGraph.cpp209 if (I->first == CS.getInstruction()) {
253 if (I->first == CS.getInstruction()) {
255 I->first = NewCS.getInstruction();
H A DInlineCost.cpp708 SimplifiedValues[CS.getInstruction()] = C;
724 cast<CallInst>(CS.getInstruction())->hasFnAttr(Attribute::NoDuplicate))
734 if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(CS.getInstruction())) {
747 if (F == CS.getInstruction()->getParent()->getParent()) {
1022 Instruction *Instr = CS.getInstruction();
1041 Function *Caller = CS.getInstruction()->getParent()->getParent();
1048 Instruction *I = Site.getInstruction();
1298 cast<CallInst>(CS.getInstruction())->canReturnTwice())
/freebsd-10-stable/contrib/llvm/lib/Analysis/
H A DAliasAnalysis.cpp95 MDNode *CSTag = CS.getInstruction()->getMetadata(LLVMContext::MD_tbaa);
153 MDNode *CS2Tag = CS2.getInstruction()->getMetadata(LLVMContext::MD_tbaa);
173 MDNode *CS1Tag = CS1.getInstruction()->getMetadata(LLVMContext::MD_tbaa);
427 if (!CS.getInstruction() || CS.getInstruction() == Object)
H A DTypeBasedAliasAnalysis.cpp492 if (const MDNode *M = CS.getInstruction()->getMetadata(LLVMContext::MD_tbaa))
514 CS.getInstruction()->getMetadata(LLVMContext::MD_tbaa))
528 CS1.getInstruction()->getMetadata(LLVMContext::MD_tbaa))
530 CS2.getInstruction()->getMetadata(LLVMContext::MD_tbaa))
H A DAliasAnalysisEvaluator.cpp123 errs() << " " << Msg << ": " << *CSA.getInstruction()
124 << " <-> " << *CSB.getInstruction() << '\n';
275 Instruction *I = C->getInstruction();
H A DAliasAnalysisCounter.cpp168 errs() << "\t<->" << *CS.getInstruction() << '\n';
H A DMemoryDependenceAnalysis.cpp225 CS.getInstruction()->isIdenticalToWhenDefined(Inst))
630 assert(getDependency(QueryCS.getInstruction()).isNonLocal() &&
632 PerInstNLInfo &CacheP = NonLocalDeps[QueryCS.getInstruction()];
664 BasicBlock *QueryBB = QueryCS.getInstruction()->getParent();
716 QueryCS.getInstruction());
746 ReverseNonLocalDeps[Inst].insert(QueryCS.getInstruction());
/freebsd-10-stable/contrib/llvm/lib/Transforms/ObjCARC/
H A DObjCARCAliasAnalysis.cpp136 switch (GetBasicInstructionClass(CS.getInstruction())) {
/freebsd-10-stable/contrib/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp1191 visitOperandShadowInst(*CS.getInstruction());
1195 IRBuilder<> IRB(CS.getInstruction());
1206 DFSF.setShadow(CS.getInstruction(), DFSF.DFS.ZeroShadow);
1211 DFSF.setShadow(CS.getInstruction(), DFSF.DFS.ZeroShadow);
1216 visitOperandShadowInst(*CS.getInstruction());
1223 if (CallInst *CI = dyn_cast<CallInst>(CS.getInstruction())) {
1298 DFSF.getArgTLS(i, CS.getInstruction()));
1304 if (InvokeInst *II = dyn_cast<InvokeInst>(CS.getInstruction())) {
1320 DFSF.setShadow(CS.getInstruction(), LI);
1355 if (InvokeInst *II = dyn_cast<InvokeInst>(CS.getInstruction())) {
[all...]
/freebsd-10-stable/contrib/llvm/include/llvm/Analysis/
H A DCallGraph.h263 assert(!CS.getInstruction() ||
266 CalledFunctions.push_back(std::make_pair(CS.getInstruction(), M));
H A DPtrUseVisitor.h278 PI.setEscaped(CS.getInstruction());
/freebsd-10-stable/contrib/llvm/lib/Target/Sparc/Disassembler/
H A DSparcDisassembler.cpp42 /// getInstruction - See MCDisassembler.
43 virtual DecodeStatus getInstruction(MCInst &instr,
205 SparcDisassembler::getInstruction(MCInst &instr, function in class:SparcDisassembler
/freebsd-10-stable/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp881 if (isAllocLikeFn(CS.getInstruction(), TLI))
882 return visitAllocSite(*CS.getInstruction());
900 Instruction *OldCall = CS.getInstruction();
921 if (!CS.getInstruction()->getType()->isVoidTy())
922 ReplaceInstUsesWith(*CS.getInstruction(),
923 UndefValue::get(CS.getInstruction()->getType()));
925 if (isa<InvokeInst>(CS.getInstruction())) {
935 CS.getInstruction());
937 return EraseInstFromFunction(*CS.getInstruction());
968 if (CallInst *CI = dyn_cast<CallInst>(CS.getInstruction())) {
[all...]
/freebsd-10-stable/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGCUDANV.cpp109 llvm::Value *CSZero = CGF.Builder.CreateICmpEQ(CS.getInstruction(), Zero);
/freebsd-10-stable/contrib/llvm/tools/llvm-mc/
H A DDisassembler.cpp66 S = DisAsm.getInstruction(Inst, Size, memoryObject, Index,
/freebsd-10-stable/contrib/llvm/utils/TableGen/
H A DCodeGenTarget.h155 CodeGenInstruction &getInstruction(const Record *InstRec) const { function in class:llvm::CodeGenTarget
H A DDAGISelEmitter.cpp47 CodeGenInstruction &II = CGP.getTargetInfo().getInstruction(Op);
/freebsd-10-stable/contrib/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp910 true, CS.getInstruction(),
911 CS.getInstruction()->getParent());
950 false, CS.getInstruction(), MDep->getParent());
957 "tmpcast", CS.getInstruction());
961 << " " << *CS.getInstruction() << "\n");
/freebsd-10-stable/contrib/llvm/lib/Target/SystemZ/Disassembler/
H A DSystemZDisassembler.cpp30 virtual DecodeStatus getInstruction(MCInst &instr,
289 DecodeStatus SystemZDisassembler::getInstruction(MCInst &MI, uint64_t &Size,
/freebsd-10-stable/contrib/llvm/tools/llvm-objdump/
H A DMachODump.cpp420 if (DisAsm->getInstruction(Inst, Size, memoryObject, Index,
453 if (DisAsm->getInstruction(Inst, InstSize, memoryObject, Index,
/freebsd-10-stable/contrib/llvm/lib/Target/Mips/Disassembler/
H A DMipsDisassembler.cpp66 /// getInstruction - See MCDisassembler.
67 virtual DecodeStatus getInstruction(MCInst &instr,
85 /// getInstruction - See MCDisassembler.
86 virtual DecodeStatus getInstruction(MCInst &instr,
355 MipsDisassembler::getInstruction(MCInst &instr, function in class:MipsDisassembler
391 Mips64Disassembler::getInstruction(MCInst &instr, function in class:Mips64Disassembler

Completed in 309 milliseconds

123