Home
last modified time | relevance | path

Searched refs:MCI (Results 1 – 25 of 41) sorted by relevance

12

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
HDHexagonMCInstrInfo.h81 MCInst const &MCI);
85 bundleInstructions(MCInstrInfo const &MCII, MCInst const &MCI);
86 iterator_range<MCInst::const_iterator> bundleInstructions(MCInst const &MCI);
89 size_t bundleSize(MCInst const &MCI);
108 MCInst const &MCI);
111 unsigned getMemAccessSize(MCInstrInfo const &MCII, MCInst const &MCI);
114 unsigned getAddrMode(MCInstrInfo const &MCII, MCInst const &MCI);
116 MCInstrDesc const &getDesc(MCInstrInfo const &MCII, MCInst const &MCI);
130 unsigned short getExtendableOp(MCInstrInfo const &MCII, MCInst const &MCI);
134 MCInst const &MCI);
[all …]
HDHexagonMCInstrInfo.cpp88 MCInst const &MCI) { in addConstExtender() argument
91 MCI.getOperand(HexagonMCInstrInfo::getExtendableOp(MCII, MCI)); in addConstExtender()
95 new (Context) MCInst(HexagonMCInstrInfo::deriveExtender(MCII, MCI, exOp)); in addConstExtender()
96 XMCI->setLoc(MCI.getLoc()); in addConstExtender()
103 MCInst const &MCI) { in bundleInstructions() argument
104 assert(isBundle(MCI)); in bundleInstructions()
105 return make_range(Hexagon::PacketIterator(MCII, MCI), in bundleInstructions()
106 Hexagon::PacketIterator(MCII, MCI, nullptr)); in bundleInstructions()
110 HexagonMCInstrInfo::bundleInstructions(MCInst const &MCI) { in bundleInstructions() argument
111 assert(isBundle(MCI)); in bundleInstructions()
[all …]
HDHexagonMCDuplexInfo.cpp190 unsigned HexagonMCInstrInfo::getDuplexCandidateGroup(MCInst const &MCI) { in getDuplexCandidateGroup() argument
193 switch (MCI.getOpcode()) { in getDuplexCandidateGroup()
202 DstReg = MCI.getOperand(0).getReg(); in getDuplexCandidateGroup()
203 SrcReg = MCI.getOperand(1).getReg(); in getDuplexCandidateGroup()
208 Hexagon::R29 == SrcReg && inRange<5, 2>(MCI, 2)) { in getDuplexCandidateGroup()
213 inRange<4, 2>(MCI, 2)) { in getDuplexCandidateGroup()
220 DstReg = MCI.getOperand(0).getReg(); in getDuplexCandidateGroup()
221 SrcReg = MCI.getOperand(1).getReg(); in getDuplexCandidateGroup()
224 inRange<4>(MCI, 2)) { in getDuplexCandidateGroup()
241 DstReg = MCI.getOperand(0).getReg(); in getDuplexCandidateGroup()
[all …]
HDHexagonMCCompound.cpp349 MCInst &MCI) { in lookForCompound() argument
350 assert(HexagonMCInstrInfo::isBundle(MCI)); in lookForCompound()
353 MCI.begin() + HexagonMCInstrInfo::bundleInstructionsOffset; in lookForCompound()
354 J != MCI.end(); ++J) { in lookForCompound()
364 MCI.begin() + HexagonMCInstrInfo::bundleInstructionsOffset; in lookForCompound()
365 B != MCI.end(); ++B) { in lookForCompound()
382 MCI.erase(B); in lookForCompound()
399 MCContext &Context, MCInst &MCI) { in tryCompound() argument
400 assert(HexagonMCInstrInfo::isBundle(MCI) && in tryCompound()
404 if (MCI.size() < 2) in tryCompound()
[all …]
HDHexagonMCChecker.cpp66 void HexagonMCChecker::initReg(MCInst const &MCI, unsigned R, unsigned &PredReg, in initReg() argument
68 if (HexagonMCInstrInfo::isPredicated(MCII, MCI) && isPredicateRegister(R)) { in initReg()
71 isTrue = HexagonMCInstrInfo::isPredicatedTrue(MCII, MCI); in initReg()
74 if (HexagonMCInstrInfo::isPredicatedNew(MCII, MCI)) in initReg()
86 void HexagonMCChecker::init(MCInst const &MCI) { in init() argument
87 const MCInstrDesc &MCID = HexagonMCInstrInfo::getDesc(MCII, MCI); in init()
93 if (MCI.getOperand(i).isReg()) in init()
94 initReg(MCI, MCI.getOperand(i).getReg(), PredReg, isTrue); in init()
96 initReg(MCI, MCID.getImplicitUses()[i], PredReg, isTrue); in init()
120 HexagonMCInstrInfo::isPredicateLate(MCII, MCI)) in init()
[all …]
HDHexagonInstPrinter.cpp41 MCInst const &MCI = *I.getInst(); in printInst() local
42 if (HexagonMCInstrInfo::isDuplex(MII, MCI)) { in printInst()
43 printInstruction(MCI.getOperand(1).getInst(), Address, OS); in printInst()
46 printInstruction(MCI.getOperand(0).getInst(), Address, OS); in printInst()
48 printInstruction(&MCI, Address, OS); in printInst()
49 HasExtender = HexagonMCInstrInfo::isImmext(MCI); in printInst()
HDHexagonMCELFStreamer.cpp70 MCInst *MCI = const_cast<MCInst *>(I.getInst()); in EmitInstruction() local
71 EmitSymbol(*MCI); in EmitInstruction()
HDHexagonAsmBackend.cpp577 MCInst &MCI = const_cast<MCInst &>(HexagonMCInstrInfo::instruction( in fixupNeedsRelaxationAdvanced() local
579 bool Relaxable = isInstRelaxable(MCI); in fixupNeedsRelaxationAdvanced()
597 *RelaxTarget = &MCI; in fixupNeedsRelaxationAdvanced()
635 *RelaxTarget = &MCI; in fixupNeedsRelaxationAdvanced()
HDHexagonMCCodeEmitter.h83 uint32_t parseBits(size_t Last, MCInst const &MCB, MCInst const &MCI) const;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/MCA/
HDInstrBuilder.cpp218 static Error verifyOperands(const MCInstrDesc &MCDesc, const MCInst &MCI) { in verifyOperands() argument
222 for (I = 0, E = MCI.getNumOperands(); NumExplicitDefs && I < E; ++I) { in verifyOperands()
223 const MCOperand &Op = MCI.getOperand(I); in verifyOperands()
230 "Expected more register operand definitions.", MCI); in verifyOperands()
235 const MCOperand &Op = MCI.getOperand(MCDesc.getNumOperands() - 1); in verifyOperands()
236 if (I == MCI.getNumOperands() || !Op.isReg()) { in verifyOperands()
240 return make_error<InstructionError<MCInst>>(Message, MCI); in verifyOperands()
247 void InstrBuilder::populateWrites(InstrDesc &ID, const MCInst &MCI, in populateWrites() argument
249 const MCInstrDesc &MCDesc = MCII.get(MCI.getOpcode()); in populateWrites()
302 unsigned NumVariadicOps = MCI.getNumOperands() - MCDesc.getNumOperands(); in populateWrites()
[all …]
/freebsd-11-stable/contrib/sendmail/src/
HDmci.c29 static bool mci_load_persistent __P((MCI *));
30 static void mci_uncache __P((MCI **, bool));
31 static void mci_clear __P((MCI *));
32 static int mci_lock_host_statfile __P((MCI *));
33 static int mci_read_persistent __P((SM_FILE_T *, MCI *));
64 static MCI **MciCache; /* the open connection cache */
80 register MCI *mci; in mci_cache()
82 register MCI **mcislot;
129 MCI **
131 MCI *savemci; in mci_scan()
[all …]
HDsendmail.h768 #define MCI struct mailer_con_info macro
770 MCI
876 extern void mci_cache __P((MCI *));
877 extern void mci_close __P((MCI *, char *where));
878 extern void mci_dump __P((SM_FILE_T *, MCI *, bool));
880 extern void mci_flush __P((bool, MCI *));
881 extern void mci_clr_extensions __P((MCI *));
882 extern MCI *mci_get __P((char *, MAILER *));
883 extern int mci_lock_host __P((MCI *));
887 extern MCI **mci_scan __P((MCI *));
[all …]
HDusersmtp.c21 static void esmtp_check __P((char *, bool, MAILER *, MCI *, ENVELOPE *));
22 static void helo_options __P((char *, bool, MAILER *, MCI *, ENVELOPE *));
23 static int smtprcptstat __P((ADDRESS *, MAILER *, MCI *, ENVELOPE *));
67 register MCI *mci;
302 register MCI *mci;
421 register MCI *mci;
538 static int getauth __P((MCI *, ENVELOPE *, SASL_AI_T *));
540 static int attemptauth __P((MAILER *, MCI *, ENVELOPE *, SASL_AI_T *));
629 static void getsasldata __P((char *, bool, MAILER *, MCI *, ENVELOPE *));
636 register MCI *mci;
[all …]
HDratectrl.h125 extern bool occ_exceeded __P((ENVELOPE *, MCI *, const char *, SOCKADDR *));
126 extern bool occ_close __P((ENVELOPE *, MCI *, const char *, SOCKADDR *));
HDdeliver.c43 static int starttls __P((MAILER *, MCI *, ENVELOPE *, dane_vrfy_ctx_P));
45 static int starttls __P((MAILER *, MCI *, ENVELOPE *));
47 static int endtlsclt __P((MCI *));
1311 register MCI *volatile mci;
3890 register MCI *mci;
4035 register MCI *mci; in endmailer()
4177 register MCI *mci;
4437 register MCI *mci;
4749 register MCI *mci; in putfromline()
4824 register MCI *mci; in putbody()
[all …]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/MCA/
HDInstrBuilder.h51 Expected<const InstrDesc &> createInstrDescImpl(const MCInst &MCI);
52 Expected<const InstrDesc &> getOrCreateInstrDesc(const MCInst &MCI);
57 void populateWrites(InstrDesc &ID, const MCInst &MCI, unsigned SchedClassID);
58 void populateReads(InstrDesc &ID, const MCInst &MCI, unsigned SchedClassID);
59 Error verifyInstrDesc(const InstrDesc &ID, const MCInst &MCI) const;
71 Expected<std::unique_ptr<Instruction>> createInstruction(const MCInst &MCI);
HDSupport.h32 InstructionError(std::string M, const T &MCI) in InstructionError() argument
33 : Message(std::move(M)), Inst(MCI) {} in InstructionError()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
HDHexagonMCInstLower.cpp107 MCInst *MCI = new (AP.OutContext) MCInst; in HexagonLowerToMC() local
108 MCI->setOpcode(MI->getOpcode()); in HexagonLowerToMC()
109 assert(MCI->getOpcode() == static_cast<unsigned>(MI->getOpcode()) && in HexagonLowerToMC()
175 MCI->addOperand(MCO); in HexagonLowerToMC()
177 AP.HexagonProcessInstruction(*MCI, *MI); in HexagonLowerToMC()
178 HexagonMCInstrInfo::extendIfNeeded(AP.OutContext, MCII, MCB, *MCI); in HexagonLowerToMC()
179 MCB.addOperand(MCOperand::createInst(MCI)); in HexagonLowerToMC()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
HDLint.cpp327 MemCpyInst *MCI = cast<MemCpyInst>(&I); in visitCallSite() local
329 visitMemoryReference(I, MCI->getDest(), MemoryLocation::UnknownSize, in visitCallSite()
330 MCI->getDestAlignment(), nullptr, MemRef::Write); in visitCallSite()
331 visitMemoryReference(I, MCI->getSource(), MemoryLocation::UnknownSize, in visitCallSite()
332 MCI->getSourceAlignment(), nullptr, MemRef::Read); in visitCallSite()
339 dyn_cast<ConstantInt>(findValue(MCI->getLength(), in visitCallSite()
343 Assert(AA->alias(MCI->getSource(), Size, MCI->getDest(), Size) != in visitCallSite()
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-mca/Views/
HDResourcePressureView.cpp159 for (const MCInst &MCI : Source) { in printResourcePressurePerInst() local
166 MCIP.printInst(&MCI, 0, "", STI, InstrStream); in printResourcePressurePerInst()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/AsmParser/
HDHexagonAsmParser.cpp126 void canonicalizeImmediates(MCInst &MCI);
531 void HexagonAsmParser::canonicalizeImmediates(MCInst &MCI) { in canonicalizeImmediates() argument
533 NewInst.setOpcode(MCI.getOpcode()); in canonicalizeImmediates()
534 for (MCOperand &I : MCI) in canonicalizeImmediates()
542 Warning(MCI.getLoc(), "Signed/Unsigned mismatch"); in canonicalizeImmediates()
545 MCI = NewInst; in canonicalizeImmediates()
548 bool HexagonAsmParser::matchOneInstruction(MCInst &MCI, SMLoc IDLoc, in matchOneInstruction() argument
554 MatchInstructionImpl(InstOperands, MCI, ErrorInfo, MatchingInlineAsm); in matchOneInstruction()
556 MCI.setLoc(IDLoc); in matchOneInstruction()
557 canonicalizeImmediates(MCI); in matchOneInstruction()
[all …]
/freebsd-11-stable/sys/arm/at91/
HDat91sam9g20.c115 DEVICE("at91_mci", MCI, 0),
HDat91sam9260.c115 DEVICE("at91_mci", MCI, 0),
HDat91rm9200.c117 DEVICE("at91_mci", MCI, 0),
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-mca/
HDllvm-mca.cpp467 for (const MCInst &MCI : Insts) { in main() local
469 IB.createInstruction(MCI); in main()

12