Searched refs:Inst (Results 101 - 125 of 258) sorted by relevance

1234567891011

/freebsd-11.0-release/contrib/llvm/lib/Transforms/Scalar/
H A DLoopRotation.cpp220 Instruction *Inst = &*I++; local
228 if (L->hasLoopInvariantOperands(Inst) &&
229 !Inst->mayReadFromMemory() && !Inst->mayWriteToMemory() &&
230 !isa<TerminatorInst>(Inst) && !isa<DbgInfoIntrinsic>(Inst) &&
231 !isa<AllocaInst>(Inst)) {
232 Inst->moveBefore(LoopEntryBranch);
237 Instruction *C = Inst->clone();
252 ValueMap[Inst]
[all...]
H A DSCCP.cpp457 if (BBExecutable.count(I->getParent())) // Inst is executable?
1580 Instruction *Inst = &*--EndInst->getIterator(); local
1581 if (!Inst->use_empty())
1582 Inst->replaceAllUsesWith(UndefValue::get(Inst->getType()));
1583 if (Inst->isEHPad()) {
1584 EndInst = Inst;
1587 BB->getInstList().erase(Inst);
1637 Instruction *Inst = &*BI++; local
1638 if (Inst
1651 DEBUG(dbgs() << " Constant: " << *Const << " = " << *Inst << '\\n'); local
1845 Instruction *Inst = &*BI++; local
1858 DEBUG(dbgs() << " Constant: " << *Const << " = " << *Inst << '\\n'); local
[all...]
/freebsd-11.0-release/contrib/llvm/tools/llvm-mc/
H A DDisassembler.cpp46 MCInst Inst; local
49 S = DisAsm.getInstruction(Inst, Size, Data.slice(Index), Index,
72 Streamer.EmitInstruction(Inst, STI);
/freebsd-11.0-release/contrib/llvm/include/llvm/MC/
H A DMCFragment.h252 /// Inst - The instruction this is a fragment for.
253 MCInst Inst; member in class:llvm::MCRelaxableFragment
259 MCRelaxableFragment(const MCInst &Inst, const MCSubtargetInfo &STI, argument
262 Inst(Inst), STI(STI) {}
264 const MCInst &getInst() const { return Inst; }
265 void setInst(const MCInst &Value) { Inst = Value; }
H A DMCELFStreamer.h87 void EmitInstToFragment(const MCInst &Inst, const MCSubtargetInfo &) override;
88 void EmitInstToData(const MCInst &Inst, const MCSubtargetInfo &) override;
H A DMCDisassembler.h91 bool tryAddingSymbolicOperand(MCInst &Inst,
/freebsd-11.0-release/contrib/llvm/include/llvm/Analysis/
H A DIVUsers.h172 bool isIVUserOrOperand(Instruction *Inst) const {
173 return Processed.count(Inst);
/freebsd-11.0-release/contrib/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h122 Value *getOrCreateResultFromMemIntrinsic(IntrinsicInst *Inst,
125 bool getTgtMemIntrinsic(IntrinsicInst *Inst, MemIntrinsicInfo &Info);
/freebsd-11.0-release/contrib/llvm/lib/Target/XCore/MCTargetDesc/
H A DXCoreMCTargetDesc.cpp59 MCCFIInstruction Inst = MCCFIInstruction::createDefCfa(nullptr, XCore::SP, 0); local
60 MAI->addInitialFrameState(Inst);
/freebsd-11.0-release/contrib/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp350 for (auto &Inst : BB) {
351 if (isAtomic(&Inst))
352 AtomicAccesses.push_back(&Inst);
353 else if (isa<LoadInst>(Inst) || isa<StoreInst>(Inst))
354 LocalLoadsAndStores.push_back(&Inst);
355 else if (isa<ReturnInst>(Inst))
356 RetVec.push_back(&Inst);
357 else if (isa<CallInst>(Inst) || isa<InvokeInst>(Inst)) {
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Target/BPF/MCTargetDesc/
H A DBPFAsmBackend.cpp48 bool mayNeedRelaxation(const MCInst &Inst) const override { return false; }
50 void relaxInstruction(const MCInst &Inst, MCInst &Res) const override {}
/freebsd-11.0-release/contrib/llvm/lib/Target/Mips/
H A DMipsOs16.cpp82 const Instruction &Inst = *I; local
83 switch (Inst.getOpcode()) {
H A DMipsInstrInfo.cpp71 void MipsInstrInfo::AnalyzeCondBr(const MachineInstr *Inst, unsigned Opc, argument
75 int NumOp = Inst->getNumExplicitOperands();
79 BB = Inst->getOperand(NumOp-1).getMBB();
83 Cond.push_back(Inst->getOperand(i));
/freebsd-11.0-release/contrib/llvm/lib/Target/SystemZ/MCTargetDesc/
H A DSystemZMCAsmBackend.cpp53 bool mayNeedRelaxation(const MCInst &Inst) const override {
61 void relaxInstruction(const MCInst &Inst, MCInst &Res) const override {
/freebsd-11.0-release/contrib/llvm/lib/Target/X86/
H A DX86AsmPrinter.h46 void count(MCInst &Inst, const MCSubtargetInfo &STI);
80 void EmitAndCountInstruction(MCInst &Inst);
/freebsd-11.0-release/contrib/llvm/utils/TableGen/
H A DAsmWriterEmitter.cpp158 const AsmWriterInst *Inst = getAsmWriterInstByID(i); local
159 if (!Inst)
162 if (Inst->Operands.empty())
165 std::string Command = " " + Inst->Operands[0].getCode() + "\n";
174 InstrsForCase[idx] += Inst->CGI->TheDef->getName();
181 InstrsForCase.push_back(Inst->CGI->TheDef->getName());
300 for (const CodeGenInstruction *Inst : *NumberedInstructions) {
301 AsmWriterInst *AWI = CGIAWIMap[Inst];
315 for (const CodeGenInstruction *Inst : *NumberedInstructions) {
316 AsmWriterInst *AWI = CGIAWIMap[Inst];
[all...]
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp330 LabelDecl *Inst = LabelDecl::Create(SemaRef.Context, Owner, D->getLocation(), local
332 Owner->addDecl(Inst);
333 return Inst;
343 NamespaceAliasDecl *Inst local
351 Owner->addDecl(Inst);
352 return Inst;
470 TypeAliasTemplateDecl *Inst
473 AliasInst->setDescribedAliasTemplate(Inst);
475 Inst->setPreviousDecl(PrevAliasTemplate);
477 Inst
1058 ClassTemplateDecl *Inst local
1164 VarTemplateDecl *Inst = VarTemplateDecl::Create( local
1941 TemplateTypeParmDecl *Inst = local
2260 UsingDirectiveDecl *Inst local
4477 Decl *Inst = SubstDecl(D, CurContext, TemplateArgs); local
4486 Decl *Inst = SubstDecl(D, CurContext, TemplateArgs); local
4655 PendingImplicitInstantiation Inst; local
[all...]
/freebsd-11.0-release/contrib/llvm/lib/CodeGen/
H A DSjLjEHPrepare.cpp283 Instruction *Inst = &*II; local
284 if (Inst->use_empty())
286 if (Inst->hasOneUse() &&
287 cast<Instruction>(Inst->user_back())->getParent() == BB &&
288 !isa<PHINode>(Inst->user_back()))
293 if (AllocaInst *AI = dyn_cast<AllocaInst>(Inst))
299 for (User *U : Inst->users()) {
307 LiveBBs.insert(Inst->getParent());
318 if (PN->getIncomingValue(i) == Inst)
329 DEBUG(dbgs() << "SJLJ Spill: " << *Inst << " aroun
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Object/
H A DRecordStreamer.h32 void EmitInstruction(const MCInst &Inst, const MCSubtargetInfo &STI) override;
/freebsd-11.0-release/contrib/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMTargetStreamer.cpp73 void ARMTargetStreamer::emitInst(uint32_t Inst, char Suffix) {} argument
/freebsd-11.0-release/contrib/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsELFStreamer.h46 /// \p Inst is actually emitted. For example, we can inspect the operands and
49 void EmitInstruction(const MCInst &Inst, const MCSubtargetInfo &STI) override;
/freebsd-11.0-release/contrib/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.h42 void swapOperands(MachineBasicBlock::iterator Inst) const;
45 MachineInstr *Inst) const;
48 MachineInstr *Inst, unsigned Opcode) const;
51 MachineInstr *Inst, unsigned Opcode) const;
54 MachineInstr *Inst) const;
56 MachineInstr *Inst) const;
63 getDestEquivalentVGPRClass(const MachineInstr &Inst) const;
/freebsd-11.0-release/contrib/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCCompound.cpp379 MCInst const *Inst = B->getInst(); local
380 if (JumpInst == Inst)
382 if (HexagonMCInstrInfo::isImmext(*Inst)) {
387 << Inst->getOpcode() << "\n");
388 if (isOrderedCompoundPair(*Inst, BExtended, *JumpInst, JExtended)) {
389 MCInst *CompoundInsn = getCompoundInsn(Context, *Inst, *JumpInst);
391 DEBUG(dbgs() << "B: " << Inst->getOpcode() << ","
/freebsd-11.0-release/contrib/llvm/lib/IR/
H A DDebugInfo.cpp45 auto Inst = std::find_if(BB.begin(), BB.end(), [](const Instruction &Inst) { local
46 return Inst.getDebugLoc();
48 if (Inst == BB.end())
50 DebugLoc DLoc = Inst->getDebugLoc();
/freebsd-11.0-release/contrib/llvm/lib/Transforms/Utils/
H A DLoopUnroll.cpp501 if (Instruction *Inst =
503 RecursivelyDeleteTriviallyDeadInstructions(Inst);
514 Instruction *Inst = &*I++; local
516 if (isInstructionTriviallyDead(Inst))
517 (*BB)->getInstList().erase(Inst);
518 else if (Value *V = SimplifyInstruction(Inst, DL))
519 if (LI->replacementPreservesLCSSAForm(Inst, V)) {
520 Inst->replaceAllUsesWith(V);
521 (*BB)->getInstList().erase(Inst);

Completed in 219 milliseconds

1234567891011