Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCInstrInfo.h88 MCInst const &MCI);
92 bundleInstructions(MCInstrInfo const &MCII, MCInst const &MCI);
93 iterator_range<MCInst::const_iterator> bundleInstructions(MCInst const &MCI);
96 size_t bundleSize(MCInst const &MCI);
118 MCInst const &MCI);
121 unsigned getMemAccessSize(MCInstrInfo const &MCII, MCInst const &MCI);
124 unsigned getAddrMode(MCInstrInfo const &MCII, MCInst const &MCI);
126 MCInstrDesc const &getDesc(MCInstrInfo const &MCII, MCInst const &MCI);
140 unsigned short getExtendableOp(MCInstrInfo const &MCII, MCInst const &MCI);
144 MCInst const &MCI);
[all …]
H A DHexagonMCInstrInfo.cpp89 MCInst const &MCI) { in addConstExtender() argument
92 MCI.getOperand(HexagonMCInstrInfo::getExtendableOp(MCII, MCI)); in addConstExtender()
96 new (Context) MCInst(HexagonMCInstrInfo::deriveExtender(MCII, MCI, exOp)); in addConstExtender()
97 XMCI->setLoc(MCI.getLoc()); in addConstExtender()
104 MCInst const &MCI) { in bundleInstructions() argument
105 assert(isBundle(MCI)); in bundleInstructions()
106 return make_range(Hexagon::PacketIterator(MCII, MCI), in bundleInstructions()
107 Hexagon::PacketIterator(MCII, MCI, nullptr)); in bundleInstructions()
111 HexagonMCInstrInfo::bundleInstructions(MCInst const &MCI) { in bundleInstructions() argument
116 bundleSize(MCInst const & MCI) bundleSize() argument
236 extendIfNeeded(MCContext & Context,MCInstrInfo const & MCII,MCInst & MCB,MCInst const & MCI) extendIfNeeded() argument
242 getMemAccessSize(MCInstrInfo const & MCII,MCInst const & MCI) getMemAccessSize() argument
249 getAddrMode(MCInstrInfo const & MCII,MCInst const & MCI) getAddrMode() argument
256 getDesc(MCInstrInfo const & MCII,MCInst const & MCI) getDesc() argument
317 getExtendableOp(MCInstrInfo const & MCII,MCInst const & MCI) getExtendableOp() argument
324 getExtendableOperand(MCInstrInfo const & MCII,MCInst const & MCI) getExtendableOperand() argument
335 getExtentAlignment(MCInstrInfo const & MCII,MCInst const & MCI) getExtentAlignment() argument
341 getExtentBits(MCInstrInfo const & MCII,MCInst const & MCI) getExtentBits() argument
347 isExtentSigned(MCInstrInfo const & MCII,MCInst const & MCI) isExtentSigned() argument
354 getMaxValue(MCInstrInfo const & MCII,MCInst const & MCI) getMaxValue() argument
365 getMinValue(MCInstrInfo const & MCII,MCInst const & MCI) getMinValue() argument
375 getName(MCInstrInfo const & MCII,MCInst const & MCI) getName() argument
380 getNewValueOp(MCInstrInfo const & MCII,MCInst const & MCI) getNewValueOp() argument
386 getNewValueOperand(MCInstrInfo const & MCII,MCInst const & MCI) getNewValueOperand() argument
405 getNewValueOp2(MCInstrInfo const & MCII,MCInst const & MCI) getNewValueOp2() argument
412 getNewValueOperand2(MCInstrInfo const & MCII,MCInst const & MCI) getNewValueOperand2() argument
424 getType(MCInstrInfo const & MCII,MCInst const & MCI) getType() argument
432 getCVIResources(MCInstrInfo const & MCII,MCSubtargetInfo const & STI,MCInst const & MCI) getCVIResources() argument
452 getUnits(MCInstrInfo const & MCII,MCSubtargetInfo const & STI,MCInst const & MCI) getUnits() argument
463 getOtherReservedSlots(MCInstrInfo const & MCII,MCSubtargetInfo const & STI,MCInst const & MCI) getOtherReservedSlots() argument
484 hasDuplex(MCInstrInfo const & MCII,MCInst const & MCI) hasDuplex() argument
500 hasImmExt(MCInst const & MCI) hasImmExt() argument
514 hasNewValue(MCInstrInfo const & MCII,MCInst const & MCI) hasNewValue() argument
521 hasNewValue2(MCInstrInfo const & MCII,MCInst const & MCI) hasNewValue2() argument
534 isAccumulator(MCInstrInfo const & MCII,MCInst const & MCI) isAccumulator() argument
539 isBundle(MCInst const & MCI) isBundle() argument
546 isConstExtended(MCInstrInfo const & MCII,MCInst const & MCI) isConstExtended() argument
587 isCanon(MCInstrInfo const & MCII,MCInst const & MCI) isCanon() argument
592 isCofMax1(MCInstrInfo const & MCII,MCInst const & MCI) isCofMax1() argument
598 isCofRelax1(MCInstrInfo const & MCII,MCInst const & MCI) isCofRelax1() argument
604 isCofRelax2(MCInstrInfo const & MCII,MCInst const & MCI) isCofRelax2() argument
610 isCompound(MCInstrInfo const & MCII,MCInst const & MCI) isCompound() argument
614 isCVINew(MCInstrInfo const & MCII,MCInst const & MCI) isCVINew() argument
624 isDuplex(MCInstrInfo const & MCII,MCInst const & MCI) isDuplex() argument
629 isExtendable(MCInstrInfo const & MCII,MCInst const & MCI) isExtendable() argument
635 isExtended(MCInstrInfo const & MCII,MCInst const & MCI) isExtended() argument
640 isFloat(MCInstrInfo const & MCII,MCInst const & MCI) isFloat() argument
645 isHVX(MCInstrInfo const & MCII,MCInst const & MCI) isHVX() argument
650 isImmext(MCInst const & MCI) isImmext() argument
654 isInnerLoop(MCInst const & MCI) isInnerLoop() argument
671 isNewValue(MCInstrInfo const & MCII,MCInst const & MCI) isNewValue() argument
677 isNewValueStore(MCInstrInfo const & MCII,MCInst const & MCI) isNewValueStore() argument
684 isOpExtendable(MCInstrInfo const & MCII,MCInst const & MCI,unsigned short O) isOpExtendable() argument
688 isOuterLoop(MCInst const & MCI) isOuterLoop() argument
734 isPredicated(MCInstrInfo const & MCII,MCInst const & MCI) isPredicated() argument
739 isPrefix(MCInstrInfo const & MCII,MCInst const & MCI) isPrefix() argument
744 isPredicateLate(MCInstrInfo const & MCII,MCInst const & MCI) isPredicateLate() argument
751 isPredicatedNew(MCInstrInfo const & MCII,MCInst const & MCI) isPredicatedNew() argument
757 isPredicatedTrue(MCInstrInfo const & MCII,MCInst const & MCI) isPredicatedTrue() argument
777 isSoloAX(MCInstrInfo const & MCII,MCInst const & MCI) isSoloAX() argument
784 isRestrictSlot1AOK(MCInstrInfo const & MCII,MCInst const & MCI) isRestrictSlot1AOK() argument
791 isRestrictNoSlot1Store(MCInstrInfo const & MCII,MCInst const & MCI) isRestrictNoSlot1Store() argument
798 isSolo(MCInstrInfo const & MCII,MCInst const & MCI) isSolo() argument
803 isMemReorderDisabled(MCInst const & MCI) isMemReorderDisabled() argument
809 isSubInstruction(MCInst const & MCI) isSubInstruction() argument
869 isVector(MCInstrInfo const & MCII,MCInst const & MCI) isVector() argument
874 minConstant(MCInst const & MCI,size_t Index) minConstant() argument
938 predicateInfo(MCInstrInfo const & MCII,MCInst const & MCI) predicateInfo() argument
949 prefersSlot3(MCInstrInfo const & MCII,MCInst const & MCI) prefersSlot3() argument
954 hasTmpDst(MCInstrInfo const & MCII,MCInst const & MCI) hasTmpDst() argument
969 hasHvxTmp(MCInstrInfo const & MCII,MCInst const & MCI) hasHvxTmp() argument
975 requiresSlot(MCSubtargetInfo const & STI,MCInst const & MCI) requiresSlot() argument
987 slotsConsumed(MCInstrInfo const & MCII,MCSubtargetInfo const & STI,MCInst const & MCI) slotsConsumed() argument
990 MCInst const &MCI = *HMI.getInst(); slotsConsumed() local
1015 setInnerLoop(MCInst & MCI) setInnerLoop() argument
1021 setMemReorderDisabled(MCInst & MCI) setMemReorderDisabled() argument
1028 setOuterLoop(MCInst & MCI) setOuterLoop() argument
[all...]
H A DHexagonMCDuplexInfo.cpp189 unsigned HexagonMCInstrInfo::getDuplexCandidateGroup(MCInst const &MCI) { in getDuplexCandidateGroup() argument
192 switch (MCI.getOpcode()) { in getDuplexCandidateGroup()
201 DstReg = MCI.getOperand(0).getReg(); in getDuplexCandidateGroup()
202 SrcReg = MCI.getOperand(1).getReg(); in getDuplexCandidateGroup()
207 Hexagon::R29 == SrcReg && inRange<5, 2>(MCI, 2)) { in getDuplexCandidateGroup()
212 inRange<4, 2>(MCI, 2)) { in getDuplexCandidateGroup()
219 DstReg = MCI.getOperand(0).getReg(); in getDuplexCandidateGroup()
220 SrcReg = MCI.getOperand(1).getReg(); in getDuplexCandidateGroup()
223 inRange<4>(MCI, 2)) { in getDuplexCandidateGroup()
240 DstReg = MCI.getOperand(0).getReg(); in getDuplexCandidateGroup()
[all …]
H A DHexagonMCCompound.cpp350 MCInst &MCI) { in lookForCompound() argument
351 assert(HexagonMCInstrInfo::isBundle(MCI)); in lookForCompound()
354 MCI.begin() + HexagonMCInstrInfo::bundleInstructionsOffset; in lookForCompound()
355 J != MCI.end(); ++J) { in lookForCompound()
365 MCI.begin() + HexagonMCInstrInfo::bundleInstructionsOffset; in lookForCompound()
366 B != MCI.end(); ++B) { in lookForCompound()
385 MCI.erase(B); in lookForCompound()
402 MCContext &Context, MCInst &MCI) { in tryCompound() argument
403 assert(HexagonMCInstrInfo::isBundle(MCI) && in tryCompound()
407 if (MCI.size() < 2) in tryCompound()
[all …]
H A DHexagonInstPrinter.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()
H A DHexagonMCChecker.cpp68 void HexagonMCChecker::initReg(MCInst const &MCI, unsigned R, unsigned &PredReg, in initReg() argument
70 if (HexagonMCInstrInfo::isPredicated(MCII, MCI) && in initReg()
74 isTrue = HexagonMCInstrInfo::isPredicatedTrue(MCII, MCI); in initReg()
77 if (HexagonMCInstrInfo::isPredicatedNew(MCII, MCI)) in initReg()
92 void HexagonMCChecker::init(MCInst const &MCI) { in init() argument
93 const MCInstrDesc &MCID = HexagonMCInstrInfo::getDesc(MCII, MCI); in init()
99 if (MCI.getOperand(i).isReg()) in init()
100 initReg(MCI, MCI.getOperand(i).getReg(), PredReg, isTrue); in init()
102 initReg(MCI, ImpUse, PredReg, isTrue); in init()
104 const bool IgnoreTmpDst = (HexagonMCInstrInfo::hasTmpDst(MCII, MCI) || in init()
[all …]
H A DHexagonAsmBackend.cpp579 MCInst &MCI = const_cast<MCInst &>(HexagonMCInstrInfo::instruction( in fixupNeedsRelaxationAdvanced() local
581 bool Relaxable = isInstRelaxable(MCI); in fixupNeedsRelaxationAdvanced()
599 *RelaxTarget = &MCI; in fixupNeedsRelaxationAdvanced()
637 *RelaxTarget = &MCI; in fixupNeedsRelaxationAdvanced()
/freebsd/contrib/llvm-project/llvm/lib/MCA/
H A DInstrBuilder.cpp239 static Error verifyOperands(const MCInstrDesc &MCDesc, const MCInst &MCI) { in verifyOperands() argument
243 for (I = 0, E = MCI.getNumOperands(); NumExplicitDefs && I < E; ++I) { in verifyOperands()
244 const MCOperand &Op = MCI.getOperand(I); in verifyOperands()
251 "Expected more register operand definitions.", MCI); in verifyOperands()
256 const MCOperand &Op = MCI.getOperand(MCDesc.getNumOperands() - 1); in verifyOperands()
257 if (I == MCI.getNumOperands() || !Op.isReg()) { in verifyOperands()
261 return make_error<InstructionError<MCInst>>(Message, MCI); in verifyOperands()
268 void InstrBuilder::populateWrites(InstrDesc &ID, const MCInst &MCI, in populateWrites() argument
270 const MCInstrDesc &MCDesc = MCII.get(MCI.getOpcode()); in populateWrites()
324 unsigned NumVariadicOps = MCI.getNumOperands() - MCDesc.getNumOperands(); in populateWrites()
[all …]
H A DCustomBehaviour.cpp56 const MCInstrInfo &MCII, const MCInst &MCI, in getSchedClassID() argument
58 return MCII.get(MCI.getOpcode()).getSchedClass(); in getSchedClassID()
/freebsd/contrib/sendmail/src/
H A Dmci.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 …]
H A Dsendmail.h863 #define MCI struct mailer_con_info macro
865 MCI
972 extern void mci_cache __P((MCI *));
973 extern void mci_close __P((MCI *, char *where));
974 extern void mci_dump __P((SM_FILE_T *, MCI *, bool));
976 extern void mci_flush __P((bool, MCI *));
977 extern void mci_clr_extensions __P((MCI *));
978 extern MCI *mci_get __P((char *, MAILER *));
979 extern int mci_lock_host __P((MCI *));
983 extern MCI **mci_scan __P((MCI *));
[all …]
H A Dusersmtp.c20 static void esmtp_check __P((char *, bool, MAILER *, MCI *, ENVELOPE *));
21 static void helo_options __P((char *, bool, MAILER *, MCI *, ENVELOPE *));
22 static int smtprcptstat __P((ADDRESS *, MAILER *, MCI *, ENVELOPE *));
97 register MCI *mci;
334 register MCI *mci;
453 register MCI *mci;
570 static int getauth __P((MCI *, ENVELOPE *, SASL_AI_T *));
572 static int attemptauth __P((MAILER *, MCI *, ENVELOPE *, SASL_AI_T *));
661 static void getsasldata __P((char *, bool, MAILER *, MCI *, ENVELOPE *));
668 register MCI *mci;
[all …]
H A Dratectrl.h125 extern bool occ_exceeded __P((ENVELOPE *, MCI *, const char *, SOCKADDR *));
126 extern bool occ_close __P((ENVELOPE *, MCI *, const char *, SOCKADDR *));
/freebsd/contrib/llvm-project/llvm/include/llvm/MCA/
H A DInstrBuilder.h87 Expected<unsigned> getVariantSchedClassID(const MCInst &MCI, unsigned SchedClassID);
89 createInstrDescImpl(const MCInst &MCI, const SmallVector<Instrument *> &IVec);
91 getOrCreateInstrDesc(const MCInst &MCI,
97 void populateWrites(InstrDesc &ID, const MCInst &MCI, unsigned SchedClassID);
98 void populateReads(InstrDesc &ID, const MCInst &MCI, unsigned SchedClassID);
99 Error verifyInstrDesc(const InstrDesc &ID, const MCInst &MCI) const;
118 createInstruction(const MCInst &MCI, const SmallVector<Instrument *> &IVec);
H A DSupport.h33 InstructionError(std::string M, const T &MCI) in InstructionError() argument
34 : Message(std::move(M)), Inst(MCI) {} in InstructionError()
H A DCustomBehaviour.h52 const MCInst &MCI) {} in postProcessInstruction() argument
175 virtual unsigned getSchedClassID(const MCInstrInfo &MCII, const MCInst &MCI,
/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/Views/
H A DInstructionView.cpp25 InstructionView::printInstructionString(const llvm::MCInst &MCI) const { in printInstructionString()
27 MCIP.printInst(&MCI, 0, "", STI, InstrStream); in printInstructionString()
35 for (const auto &MCI : getSource()) { in toJSON() local
36 StringRef Instruction = printInstructionString(MCI); in toJSON()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCA/
H A DX86CustomBehaviour.cpp24 const MCInst &MCI) { in setMemBarriers() argument
25 switch (MCI.getOpcode()) { in setMemBarriers()
40 std::unique_ptr<Instruction> &Inst, const MCInst &MCI) { in postProcessInstruction() argument
43 setMemBarriers(Inst, MCI); in postProcessInstruction()
H A DX86CustomBehaviour.h29 void setMemBarriers(std::unique_ptr<Instruction> &Inst, const MCInst &MCI);
38 const MCInst &MCI) override;
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonMCInstLower.cpp120 MCInst *MCI = AP.OutContext.createMCInst(); in HexagonLowerToMC() local
121 MCI->setOpcode(MI->getOpcode()); in HexagonLowerToMC()
122 assert(MCI->getOpcode() == static_cast<unsigned>(MI->getOpcode()) && in HexagonLowerToMC()
187 MCI->addOperand(MCO); in HexagonLowerToMC()
189 AP.HexagonProcessInstruction(*MCI, *MI); in HexagonLowerToMC()
190 HexagonMCInstrInfo::extendIfNeeded(AP.OutContext, MCII, MCB, *MCI); in HexagonLowerToMC()
191 MCB.addOperand(MCOperand::createInst(MCI)); in HexagonLowerToMC()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCA/
H A DAMDGPUCustomBehaviour.cpp24 std::unique_ptr<Instruction> &Inst, const MCInst &MCI) { in postProcessInstruction() argument
25 switch (MCI.getOpcode()) { in postProcessInstruction()
40 return processWaitCnt(Inst, MCI); in postProcessInstruction()
47 const MCInst &MCI) { in processWaitCnt() argument
48 for (int Idx = 0, N = MCI.size(); Idx < N; Idx++) { in processWaitCnt()
50 const MCOperand &MCOp = MCI.getOperand(Idx); in processWaitCnt()
H A DAMDGPUCustomBehaviour.h28 void processWaitCnt(std::unique_ptr<Instruction> &Inst, const MCInst &MCI);
37 const MCInst &MCI) override;
/freebsd/sys/contrib/device-tree/Bindings/mmc/
H A Datmel-hsmci.txt9 1) MCI node
22 Example MCI node:
56 Example full MCI node:
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLint.cpp295 MemCpyInst *MCI = cast<MemCpyInst>(&I); in visitCallBase() local
296 visitMemoryReference(I, MemoryLocation::getForDest(MCI), in visitCallBase()
297 MCI->getDestAlign(), nullptr, MemRef::Write); in visitCallBase()
298 visitMemoryReference(I, MemoryLocation::getForSource(MCI), in visitCallBase()
299 MCI->getSourceAlign(), nullptr, MemRef::Read); in visitCallBase()
306 dyn_cast<ConstantInt>(findValue(MCI->getLength(), in visitCallBase()
310 Check(AA->alias(MCI->getSource(), Size, MCI->getDest(), Size) != in visitCallBase()
/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/
H A Dllvm-mca.cpp614 for (const MCInst &MCI : Insts) { in main() local
615 SMLoc Loc = MCI.getLoc(); in main()
620 IB.createInstruction(MCI, Instruments); in main()
646 DroppedInsts.insert(&MCI); in main()
652 IPP->postProcessInstruction(Inst.get(), MCI); in main()
653 InstToInstruments.insert({&MCI, Instruments}); in main()

123