/external/llvm/lib/MC/ |
H A D | MCPureStreamer.cpp | 27 virtual void EmitInstToFragment(const MCInst &Inst); 28 virtual void EmitInstToData(const MCInst &Inst); 198 void MCPureStreamer::EmitInstToFragment(const MCInst &Inst) { argument 200 new MCRelaxableFragment(Inst, getCurrentSectionData()); 209 getAssembler().getEmitter().EncodeInstruction(Inst, VecOS, Fixups); 216 void MCPureStreamer::EmitInstToData(const MCInst &Inst) { argument 222 getAssembler().getEmitter().EncodeInstruction(Inst, VecOS, Fixups);
|
H A D | MCStreamer.cpp | 464 MCWin64EHInstruction Inst(Win64EH::UOP_PushNonVol, Label, Register); 466 CurFrame->Instructions.push_back(Inst); 476 MCWin64EHInstruction Inst(Win64EH::UOP_SetFPReg, 0, Register, Offset); 478 CurFrame->Instructions.push_back(Inst); 487 MCWin64EHInstruction Inst(Label, Size); 489 CurFrame->Instructions.push_back(Inst); 498 MCWin64EHInstruction Inst( 502 CurFrame->Instructions.push_back(Inst); 511 MCWin64EHInstruction Inst( 515 CurFrame->Instructions.push_back(Inst); [all...] |
/external/llvm/include/llvm/MC/ |
H A D | MCObjectStreamer.h | 36 virtual void EmitInstToData(const MCInst &Inst) = 0; 80 virtual void EmitInstruction(const MCInst &Inst); 84 virtual void EmitInstToFragment(const MCInst &Inst);
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | LoopRotation.cpp | 342 Instruction *Inst = I++; local 350 if (L->hasLoopInvariantOperands(Inst) && 351 !Inst->mayReadFromMemory() && !Inst->mayWriteToMemory() && 352 !isa<TerminatorInst>(Inst) && !isa<DbgInfoIntrinsic>(Inst) && 353 !isa<AllocaInst>(Inst)) { 354 Inst->moveBefore(LoopEntryBranch); 359 Instruction *C = Inst->clone(); 373 ValueMap[Inst] [all...] |
H A D | SCCP.cpp | 454 if (BBExecutable.count(I->getParent())) // Inst is executable? 1540 Instruction *Inst = --I; local 1541 if (!Inst->use_empty()) 1542 Inst->replaceAllUsesWith(UndefValue::get(Inst->getType())); 1543 if (isa<LandingPadInst>(Inst)) { 1544 EndInst = Inst; 1547 BB->getInstList().erase(Inst); 1593 Instruction *Inst = BI++; local 1594 if (Inst 1607 DEBUG(dbgs() << " Constant: " << *Const << " = " << *Inst); local 1802 Instruction *Inst = BI++; local 1815 DEBUG(dbgs() << " Constant: " << *Const << " = " << *Inst); local [all...] |
/external/llvm/tools/llvm-mc/ |
H A D | Disassembler.cpp | 63 MCInst Inst; local 66 S = DisAsm.getInstruction(Inst, Size, memoryObject, Index, 84 Streamer.EmitInstruction(Inst);
|
/external/llvm/lib/Target/MBlaze/AsmParser/ |
H A D | MBlazeAsmParser.cpp | 183 void addExpr(MCInst &Inst, const MCExpr *Expr) const { argument 186 Inst.addOperand(MCOperand::CreateImm(0)); 188 Inst.addOperand(MCOperand::CreateImm(CE->getValue())); 190 Inst.addOperand(MCOperand::CreateExpr(Expr)); 193 void addRegOperands(MCInst &Inst, unsigned N) const { argument 195 Inst.addOperand(MCOperand::CreateReg(getReg())); 198 void addImmOperands(MCInst &Inst, unsigned N) const { argument 200 addExpr(Inst, getImm()); 203 void addFslOperands(MCInst &Inst, unsigned N) const { argument 205 addExpr(Inst, getFslIm 208 addMemOperands(MCInst &Inst, unsigned N) const argument 328 MCInst Inst; local [all...] |
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
H A D | AArch64ELFStreamer.cpp | 79 virtual void EmitInstruction(const MCInst& Inst) { argument 81 MCELFStreamer::EmitInstruction(Inst);
|
/external/llvm/lib/Target/R600/MCTargetDesc/ |
H A D | AMDGPUAsmBackend.cpp | 56 virtual void relaxInstruction(const MCInst &Inst, MCInst &Res) const { argument 59 virtual bool mayNeedRelaxation(const MCInst &Inst) const { return false; }
|
/external/llvm/lib/Analysis/ |
H A D | AliasSetTracker.cpp | 179 bool AliasSet::aliasesUnknownInst(Instruction *Inst, AliasAnalysis &AA) const { argument 180 if (!Inst->mayReadOrWriteMemory()) 184 CallSite C1 = getUnknownInst(i), C2 = Inst; 192 if (AA.getModRefInfo(Inst, AliasAnalysis::Location(I.getPointer(), 248 AliasSet *AliasSetTracker::findAliasSetForUnknownInst(Instruction *Inst) { argument 251 if (I->Forward || !I->aliasesUnknownInst(Inst, AA)) 335 bool AliasSetTracker::addUnknown(Instruction *Inst) { argument 336 if (isa<DbgInfoIntrinsic>(Inst)) 338 if (!Inst->mayReadOrWriteMemory()) 341 AliasSet *AS = findAliasSetForUnknownInst(Inst); [all...] |
/external/llvm/tools/llvm-objdump/ |
H A D | MachODump.cpp | 189 IP->printInst(&i->second.getInsts()[ii].Inst, OS, ""); 435 MCInst Inst; local 437 if (DisAsm->getInstruction(Inst, Size, memoryObject, Index, 444 IP->printInst(&Inst, outs(), ""); 480 MCInst Inst; local 482 if (DisAsm->getInstruction(Inst, InstSize, memoryObject, Index, 486 IP->printInst(&Inst, outs(), ""); 576 const MCDecodedInst &Inst = fi->second.getInsts()[ii]; local 579 if (FunctionMap.find(SectAddress + Inst.Address) != 581 outs() << FunctionMap[SectAddress + Inst [all...] |
/external/llvm/lib/AsmParser/ |
H A D | LLParser.cpp | 53 Instruction *Inst = I->first; local 62 Inst->setMetadata(MDList[i].MDKind, NumberedMetadata[SlotNo]); 1345 bool LLParser::ParseInstructionMetadata(Instruction *Inst, 1370 Inst->setMetadata(MDK, ID.MDNodeVal); 1377 Inst->setMetadata(MDK, Node); 1381 ForwardRefInstMetadata[Inst].push_back(R); 2074 LocTy NameLoc, Instruction *Inst) { 2076 if (Inst->getType()->isVoidTy()) { 2096 if (FI->second.first->getType() != Inst->getType()) 2099 FI->second.first->replaceAllUsesWith(Inst); [all...] |
H A D | LLParser.h | 290 Instruction *Inst); 351 bool ParseInstructionMetadata(Instruction *Inst, PerFunctionState *PFS); 370 int ParseInstruction(Instruction *&Inst, BasicBlock *BB, 374 bool ParseRet(Instruction *&Inst, BasicBlock *BB, PerFunctionState &PFS); 375 bool ParseBr(Instruction *&Inst, PerFunctionState &PFS); 376 bool ParseSwitch(Instruction *&Inst, PerFunctionState &PFS); 377 bool ParseIndirectBr(Instruction *&Inst, PerFunctionState &PFS); 378 bool ParseInvoke(Instruction *&Inst, PerFunctionState &PFS); 379 bool ParseResume(Instruction *&Inst, PerFunctionState &PFS);
|
/external/llvm/lib/Transforms/Utils/ |
H A D | LoopUnroll.cpp | 427 if (Instruction *Inst = 429 RecursivelyDeleteTriviallyDeadInstructions(Inst); 439 Instruction *Inst = I++; local 441 if (isInstructionTriviallyDead(Inst)) 442 (*BB)->getInstList().erase(Inst); 443 else if (Value *V = SimplifyInstruction(Inst)) 444 if (LI->replacementPreservesLCSSAForm(Inst, V)) { 445 Inst->replaceAllUsesWith(V); 446 (*BB)->getInstList().erase(Inst);
|
H A D | LowerInvoke.cpp | 328 Instruction *Inst = II; local 329 if (Inst->use_empty()) continue; 330 if (Inst->hasOneUse() && 331 cast<Instruction>(Inst->use_back())->getParent() == BB && 332 !isa<PHINode>(Inst->use_back())) continue; 336 if (AllocaInst *AI = dyn_cast<AllocaInst>(Inst)) 342 for (Value::use_iterator UI = Inst->use_begin(), E = Inst->use_end(); 356 LiveBBs.insert(Inst->getParent()); 367 if (PN->getIncomingValue(i) == Inst) [all...] |
/external/regex-re2/re2/ |
H A D | prog.h | 49 // Opcodes for Inst 84 class Inst { class in class:re2::Prog 86 Inst() : out_opcode_(0), out1_(0) { } function in class:re2::Prog::Inst 170 DISALLOW_EVIL_CONSTRUCTORS(Inst); 198 Inst *inst(int id) { return &inst_[id]; } 355 Inst* inst_; // pointer to instruction array
|
H A D | compile.cc | 7 // Prog and Inst are defined in prog.h. 18 // List of pointers to Inst* that need to be filled in (patched). 19 // Because the Inst* haven't been filled in yet, 20 // we can use the Inst* word to hold the list's "next" pointer. 24 // Because the out and out1 fields in Inst are no longer pointers, 38 static void Patch(Prog::Inst *inst0, PatchList l, uint32 v); 41 static PatchList Deref(Prog::Inst *inst0, PatchList l); 44 static PatchList Append(Prog::Inst *inst0, PatchList l1, PatchList l2); 57 PatchList PatchList::Deref(Prog::Inst* inst0, PatchList l) { 58 Prog::Inst* i [all...] |
/external/llvm/lib/CodeGen/ |
H A D | SjLjEHPrepare.cpp | 293 Instruction *Inst = II; local 294 if (Inst->use_empty()) continue; 295 if (Inst->hasOneUse() && 296 cast<Instruction>(Inst->use_back())->getParent() == BB && 297 !isa<PHINode>(Inst->use_back())) continue; 301 if (AllocaInst *AI = dyn_cast<AllocaInst>(Inst)) 308 UI = Inst->use_begin(), E = Inst->use_end(); UI != E; ++UI) { 316 LiveBBs.insert(Inst->getParent()); 327 if (PN->getIncomingValue(i) == Inst) [all...] |
/external/llvm/include/llvm/Analysis/ |
H A D | IVUsers.h | 168 bool isIVUserOrOperand(Instruction *Inst) const { 169 return Processed.count(Inst);
|
/external/llvm/lib/Target/Mips/ |
H A D | MipsSEInstrInfo.cpp | 290 MipsAnalyzeImmediate::InstSeq::const_iterator Inst = Seq.begin(); local 299 if (Inst->Opc == LUi) 300 BuildMI(MBB, II, DL, get(LUi), Reg).addImm(SignExtend64<16>(Inst->ImmOpnd)); 302 BuildMI(MBB, II, DL, get(Inst->Opc), Reg).addReg(ZEROReg) 303 .addImm(SignExtend64<16>(Inst->ImmOpnd)); 306 for (++Inst; Inst != Seq.end() - LastInstrIsADDiu; ++Inst) 307 BuildMI(MBB, II, DL, get(Inst->Opc), Reg).addReg(Reg, RegState::Kill) 308 .addImm(SignExtend64<16>(Inst [all...] |
H A D | MipsInstrInfo.cpp | 77 void MipsInstrInfo::AnalyzeCondBr(const MachineInstr *Inst, unsigned Opc, argument 81 int NumOp = Inst->getNumExplicitOperands(); 85 BB = Inst->getOperand(NumOp-1).getMBB(); 89 Cond.push_back(Inst->getOperand(i));
|
H A D | MipsSEISelDAGToDAG.cpp | 1 //===-- MipsSEISelDAGToDAG.cpp - A Dag to Dag Inst Selector for MipsSE ----===// 401 MipsAnalyzeImmediate::InstSeq::const_iterator Inst = Seq.begin(); local 404 SDValue ImmOpnd = CurDAG->getTargetConstant(SignExtend64<16>(Inst->ImmOpnd), 410 if (Inst->Opc == Mips::LUi64) 411 RegOpnd = CurDAG->getMachineNode(Inst->Opc, DL, MVT::i64, ImmOpnd); 414 CurDAG->getMachineNode(Inst->Opc, DL, MVT::i64, 419 for (++Inst; Inst != Seq.end(); ++Inst) { 420 ImmOpnd = CurDAG->getTargetConstant(SignExtend64<16>(Inst [all...] |
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMAsmBackend.cpp | 122 bool mayNeedRelaxation(const MCInst &Inst) const; 129 void relaxInstruction(const MCInst &Inst, MCInst &Res) const; 161 bool ARMAsmBackend::mayNeedRelaxation(const MCInst &Inst) const { 162 if (getRelaxedOpcode(Inst.getOpcode()) != Inst.getOpcode()) 203 void ARMAsmBackend::relaxInstruction(const MCInst &Inst, MCInst &Res) const { argument 204 unsigned RelaxedOp = getRelaxedOpcode(Inst.getOpcode()); 207 if (RelaxedOp == Inst.getOpcode()) { 210 Inst.dump_pretty(OS); 217 Res = Inst; [all...] |
/external/llvm/utils/TableGen/ |
H A D | AsmWriterEmitter.cpp | 151 const AsmWriterInst *Inst = getAsmWriterInstByID(i); 152 if (Inst == 0) continue; // PHI, INLINEASM, PROLOG_LABEL, etc. 155 if (Inst->Operands.empty()) 158 Command = " " + Inst->Operands[0].getCode() + "\n"; 167 InstrsForCase[idx] += Inst->CGI->TheDef->getName(); 174 InstrsForCase.push_back(Inst->CGI->TheDef->getName()); 401 if (AsmWriterInst *Inst = getAsmWriterInstByID(i)) 402 if (!Inst->Operands.empty()) { 404 assert(NumOps <= Inst->Operands.size() && 406 Inst [all...] |
/external/clang/lib/Sema/ |
H A D | SemaTemplateInstantiateDecl.cpp | 160 LabelDecl *Inst = LabelDecl::Create(SemaRef.Context, Owner, D->getLocation(), local 162 Owner->addDecl(Inst); 163 return Inst; 173 NamespaceAliasDecl *Inst local 181 Owner->addDecl(Inst); 182 return Inst; 298 TypeAliasTemplateDecl *Inst 302 Inst->setPreviousDeclaration(PrevAliasTemplate); 304 Inst->setAccess(D->getAccess()); 307 Inst 898 ClassTemplateDecl *Inst local 1691 TemplateTypeParmDecl *Inst = local 1988 UsingDirectiveDecl *Inst local 3466 Decl *Inst = SubstDecl(D, CurContext, TemplateArgs); local 3630 PendingImplicitInstantiation Inst; local [all...] |