Lines Matching refs:MIParser
391 class MIParser { class
402 MIParser(PerFunctionMIParsingState &PFS, SMDiagnostic &Error,
404 MIParser(PerFunctionMIParsingState &PFS, SMDiagnostic &Error,
571 MIParser::MIParser(PerFunctionMIParsingState &PFS, SMDiagnostic &Error, in MIParser() function in MIParser
576 MIParser::MIParser(PerFunctionMIParsingState &PFS, SMDiagnostic &Error, in MIParser() function in MIParser
581 void MIParser::lex(unsigned SkipChar) { in lex()
587 bool MIParser::error(const Twine &Msg) { return error(Token.location(), Msg); } in error()
589 bool MIParser::error(StringRef::iterator Loc, const Twine &Msg) { in error()
606 SMLoc MIParser::mapSMLoc(StringRef::iterator Loc) { in mapSMLoc()
633 bool MIParser::expectAndConsume(MIToken::TokenKind TokenKind) { in expectAndConsume()
640 bool MIParser::consumeIfPresent(MIToken::TokenKind TokenKind) { in consumeIfPresent()
648 bool MIParser::parseSectionID(std::optional<MBBSectionID> &SID) { in parseSectionID()
670 bool MIParser::parseBBID(std::optional<UniqueBBID> &BBID) { in parseBBID()
688 bool MIParser::parseCallFrameSize(unsigned &CallFrameSize) { in parseCallFrameSize()
699 bool MIParser::parseBasicBlockDefinition( in parseBasicBlockDefinition()
813 bool MIParser::parseBasicBlockDefinitions( in parseBasicBlockDefinitions()
857 bool MIParser::parseBasicBlockLiveins(MachineBasicBlock &MBB) { in parseBasicBlockLiveins()
890 bool MIParser::parseBasicBlockSuccessors(MachineBasicBlock &MBB) { in parseBasicBlockSuccessors()
921 bool MIParser::parseBasicBlock(MachineBasicBlock &MBB, in parseBasicBlock()
1016 bool MIParser::parseBasicBlocks() { in parseBasicBlocks()
1046 bool MIParser::parse(MachineInstr *&MI) { in parse()
1203 bool MIParser::parseStandaloneMBB(MachineBasicBlock *&MBB) { in parseStandaloneMBB()
1216 bool MIParser::parseStandaloneNamedRegister(Register &Reg) { in parseStandaloneNamedRegister()
1228 bool MIParser::parseStandaloneVirtualRegister(VRegInfo *&Info) { in parseStandaloneVirtualRegister()
1240 bool MIParser::parseStandaloneRegister(Register &Reg) { in parseStandaloneRegister()
1256 bool MIParser::parseStandaloneStackObject(int &FI) { in parseStandaloneStackObject()
1267 bool MIParser::parseStandaloneMDNode(MDNode *&Node) { in parseStandaloneMDNode()
1285 bool MIParser::parseMachineMetadata() { in parseMachineMetadata()
1325 bool MIParser::parseMDTuple(MDNode *&MD, bool IsDistinct) { in parseMDTuple()
1334 bool MIParser::parseMDNodeVector(SmallVectorImpl<Metadata *> &Elts) { in parseMDNodeVector()
1365 bool MIParser::parseMetadata(Metadata *&MD) { in parseMetadata()
1430 bool MIParser::verifyImplicitOperands(ArrayRef<ParsedMachineOperand> Operands, in verifyImplicitOperands()
1457 bool MIParser::parseInstruction(unsigned &OpCode, unsigned &Flags) { in parseInstruction()
1525 bool MIParser::parseNamedRegister(Register &Reg) { in parseNamedRegister()
1533 bool MIParser::parseNamedVirtualRegister(VRegInfo *&Info) { in parseNamedVirtualRegister()
1542 bool MIParser::parseVirtualRegister(VRegInfo *&Info) { in parseVirtualRegister()
1553 bool MIParser::parseRegister(Register &Reg, VRegInfo *&Info) { in parseRegister()
1572 bool MIParser::parseRegisterClassOrBank(VRegInfo &RegInfo) { in parseRegisterClassOrBank()
1630 bool MIParser::parseRegisterFlag(unsigned &Flags) { in parseRegisterFlag()
1674 bool MIParser::parseSubRegisterIndex(unsigned &SubReg) { in parseSubRegisterIndex()
1687 bool MIParser::parseRegisterTiedDefIndex(unsigned &TiedDefIdx) { in parseRegisterTiedDefIndex()
1700 bool MIParser::assignRegisterTies(MachineInstr &MI, in assignRegisterTies()
1737 bool MIParser::parseRegisterOperand(MachineOperand &Dest, in parseRegisterOperand()
1831 bool MIParser::parseImmediateOperand(MachineOperand &Dest) { in parseImmediateOperand()
1844 bool MIParser::parseTargetImmMnemonic(const unsigned OpCode, in parseTargetImmMnemonic()
1890 bool MIParser::parseIRConstant(StringRef::iterator Loc, StringRef StringValue, in parseIRConstant()
1899 bool MIParser::parseIRConstant(StringRef::iterator Loc, const Constant *&C) { in parseIRConstant()
1919 bool MIParser::parseLowLevelType(StringRef::iterator Loc, LLT &Ty) { in parseLowLevelType()
2014 bool MIParser::parseTypedImmediateOperand(MachineOperand &Dest) { in parseTypedImmediateOperand()
2039 bool MIParser::parseFPImmediateOperand(MachineOperand &Dest) { in parseFPImmediateOperand()
2091 bool MIParser::getUnsigned(unsigned &Result) { in getUnsigned()
2098 bool MIParser::parseMBBReference(MachineBasicBlock *&MBB) { in parseMBBReference()
2117 bool MIParser::parseMBBOperand(MachineOperand &Dest) { in parseMBBOperand()
2126 bool MIParser::parseStackFrameIndex(int &FI) { in parseStackFrameIndex()
2147 bool MIParser::parseStackObjectOperand(MachineOperand &Dest) { in parseStackObjectOperand()
2155 bool MIParser::parseFixedStackFrameIndex(int &FI) { in parseFixedStackFrameIndex()
2169 bool MIParser::parseFixedStackObjectOperand(MachineOperand &Dest) { in parseFixedStackObjectOperand()
2205 bool MIParser::parseGlobalValue(GlobalValue *&GV) { in parseGlobalValue()
2213 bool MIParser::parseGlobalAddressOperand(MachineOperand &Dest) { in parseGlobalAddressOperand()
2224 bool MIParser::parseConstantPoolIndexOperand(MachineOperand &Dest) { in parseConstantPoolIndexOperand()
2239 bool MIParser::parseJumpTableIndexOperand(MachineOperand &Dest) { in parseJumpTableIndexOperand()
2252 bool MIParser::parseExternalSymbolOperand(MachineOperand &Dest) { in parseExternalSymbolOperand()
2262 bool MIParser::parseMCSymbolOperand(MachineOperand &Dest) { in parseMCSymbolOperand()
2272 bool MIParser::parseSubRegisterIndexOperand(MachineOperand &Dest) { in parseSubRegisterIndexOperand()
2283 bool MIParser::parseMDNode(MDNode *&Node) { in parseMDNode()
2304 bool MIParser::parseDIExpression(MDNode *&Expr) { in parseDIExpression()
2316 bool MIParser::parseDILocation(MDNode *&Loc) { in parseDILocation()
2419 bool MIParser::parseMetadataOperand(MachineOperand &Dest) { in parseMetadataOperand()
2432 bool MIParser::parseCFIOffset(int &Offset) { in parseCFIOffset()
2442 bool MIParser::parseCFIRegister(Register &Reg) { in parseCFIRegister()
2458 bool MIParser::parseCFIAddressSpace(unsigned &AddressSpace) { in parseCFIAddressSpace()
2468 bool MIParser::parseCFIEscapeValues(std::string &Values) { in parseCFIEscapeValues()
2483 bool MIParser::parseCFIOperand(MachineOperand &Dest) { in parseCFIOperand()
2590 bool MIParser::parseIRBlock(BasicBlock *&BB, const Function &F) { in parseIRBlock()
2615 bool MIParser::parseBlockAddressOperand(MachineOperand &Dest) { in parseBlockAddressOperand()
2646 bool MIParser::parseIntrinsicOperand(MachineOperand &Dest) { in parseIntrinsicOperand()
2675 bool MIParser::parsePredicateOperand(MachineOperand &Dest) { in parsePredicateOperand()
2733 bool MIParser::parseShuffleMaskOperand(MachineOperand &Dest) { in parseShuffleMaskOperand()
2761 bool MIParser::parseDbgInstrRefOperand(MachineOperand &Dest) { in parseDbgInstrRefOperand()
2792 bool MIParser::parseTargetIndexOperand(MachineOperand &Dest) { in parseTargetIndexOperand()
2811 bool MIParser::parseCustomRegisterMaskOperand(MachineOperand &Dest) { in parseCustomRegisterMaskOperand()
2838 bool MIParser::parseLiveoutRegisterMaskOperand(MachineOperand &Dest) { in parseLiveoutRegisterMaskOperand()
2863 bool MIParser::parseMachineOperand(const unsigned OpCode, const unsigned OpIdx, in parseMachineOperand()
2971 bool MIParser::parseMachineOperandAndTargetFlags( in parseMachineOperandAndTargetFlags()
3015 bool MIParser::parseOffset(int64_t &Offset) { in parseOffset()
3032 bool MIParser::parseIRBlockAddressTaken(BasicBlock *&BB) { in parseIRBlockAddressTaken()
3045 bool MIParser::parseAlignment(uint64_t &Alignment) { in parseAlignment()
3060 bool MIParser::parseAddrspace(unsigned &Addrspace) { in parseAddrspace()
3071 bool MIParser::parseOperandsOffset(MachineOperand &Op) { in parseOperandsOffset()
3119 bool MIParser::parseIRValue(const Value *&V) { in parseIRValue()
3126 bool MIParser::getUint64(uint64_t &Result) { in getUint64()
3145 bool MIParser::getHexUint(APInt &Result) { in getHexUint()
3149 bool MIParser::parseMemoryOperandFlag(MachineMemOperand::Flags &Flags) { in parseMemoryOperandFlag()
3183 bool MIParser::parseMemoryPseudoSourceValue(const PseudoSourceValue *&PSV) { in parseMemoryPseudoSourceValue()
3254 bool MIParser::parseMachinePointerInfo(MachinePointerInfo &Dest) { in parseMachinePointerInfo()
3287 bool MIParser::parseOptionalScope(LLVMContext &Context, in parseOptionalScope()
3307 bool MIParser::parseOptionalAtomicOrdering(AtomicOrdering &Order) { in parseOptionalAtomicOrdering()
3329 bool MIParser::parseMachineMemoryOperand(MachineMemOperand *&Dest) { in parseMachineMemoryOperand()
3471 bool MIParser::parsePreOrPostInstrSymbol(MCSymbol *&Symbol) { in parsePreOrPostInstrSymbol()
3489 bool MIParser::parseHeapAllocMarker(MDNode *&Node) { in parseHeapAllocMarker()
3506 bool MIParser::parsePCSections(MDNode *&Node) { in parsePCSections()
3544 const BasicBlock *MIParser::getIRBlock(unsigned Slot) { in getIRBlock()
3550 const BasicBlock *MIParser::getIRBlock(unsigned Slot, const Function &F) { in getIRBlock()
3558 MCSymbol *MIParser::getOrCreateMCSymbol(StringRef Name) { in getOrCreateMCSymbol()
3567 bool MIParser::parseStringConstant(std::string &Result) { in parseStringConstant()
3578 return MIParser(PFS, Error, Src).parseBasicBlockDefinitions(PFS.MBBSlots); in parseMachineBasicBlockDefinitions()
3583 return MIParser(PFS, Error, Src).parseBasicBlocks(); in parseMachineInstructions()
3589 return MIParser(PFS, Error, Src).parseStandaloneMBB(MBB); in parseMBBReference()
3595 return MIParser(PFS, Error, Src).parseStandaloneRegister(Reg); in parseRegisterReference()
3601 return MIParser(PFS, Error, Src).parseStandaloneNamedRegister(Reg); in parseNamedRegisterReference()
3607 return MIParser(PFS, Error, Src).parseStandaloneVirtualRegister(Info); in parseVirtualRegisterReference()
3613 return MIParser(PFS, Error, Src).parseStandaloneStackObject(FI); in parseStackObjectReference()
3618 return MIParser(PFS, Error, Src).parseStandaloneMDNode(Node); in parseMDNode()
3623 return MIParser(PFS, Error, Src, SrcRange).parseMachineMetadata(); in parseMachineMetadata()