Lines Matching refs:MIParser
134 class MIParser { class
162 MIParser(PerFunctionMIParsingState &PFS, SMDiagnostic &Error,
364 MIParser::MIParser(PerFunctionMIParsingState &PFS, SMDiagnostic &Error, in MIParser() function in MIParser
369 void MIParser::lex(unsigned SkipChar) { in lex()
375 bool MIParser::error(const Twine &Msg) { return error(Token.location(), Msg); } in error()
377 bool MIParser::error(StringRef::iterator Loc, const Twine &Msg) { in error()
411 bool MIParser::expectAndConsume(MIToken::TokenKind TokenKind) { in expectAndConsume()
418 bool MIParser::consumeIfPresent(MIToken::TokenKind TokenKind) { in consumeIfPresent()
425 bool MIParser::parseBasicBlockDefinition( in parseBasicBlockDefinition()
492 bool MIParser::parseBasicBlockDefinitions( in parseBasicBlockDefinitions()
536 bool MIParser::parseBasicBlockLiveins(MachineBasicBlock &MBB) { in parseBasicBlockLiveins()
569 bool MIParser::parseBasicBlockSuccessors(MachineBasicBlock &MBB) { in parseBasicBlockSuccessors()
600 bool MIParser::parseBasicBlock(MachineBasicBlock &MBB, in parseBasicBlock()
695 bool MIParser::parseBasicBlocks() { in parseBasicBlocks()
725 bool MIParser::parse(MachineInstr *&MI) { in parse()
834 bool MIParser::parseStandaloneMBB(MachineBasicBlock *&MBB) { in parseStandaloneMBB()
847 bool MIParser::parseStandaloneNamedRegister(unsigned &Reg) { in parseStandaloneNamedRegister()
859 bool MIParser::parseStandaloneVirtualRegister(VRegInfo *&Info) { in parseStandaloneVirtualRegister()
871 bool MIParser::parseStandaloneRegister(unsigned &Reg) { in parseStandaloneRegister()
887 bool MIParser::parseStandaloneStackObject(int &FI) { in parseStandaloneStackObject()
898 bool MIParser::parseStandaloneMDNode(MDNode *&Node) { in parseStandaloneMDNode()
937 bool MIParser::verifyImplicitOperands(ArrayRef<ParsedMachineOperand> Operands, in verifyImplicitOperands()
968 bool MIParser::parseInstruction(unsigned &OpCode, unsigned &Flags) { in parseInstruction()
1019 bool MIParser::parseNamedRegister(unsigned &Reg) { in parseNamedRegister()
1027 bool MIParser::parseNamedVirtualRegister(VRegInfo *&Info) { in parseNamedVirtualRegister()
1036 bool MIParser::parseVirtualRegister(VRegInfo *&Info) { in parseVirtualRegister()
1047 bool MIParser::parseRegister(unsigned &Reg, VRegInfo *&Info) { in parseRegister()
1066 bool MIParser::parseRegisterClassOrBank(VRegInfo &RegInfo) { in parseRegisterClassOrBank()
1126 bool MIParser::parseRegisterFlag(unsigned &Flags) { in parseRegisterFlag()
1170 bool MIParser::parseSubRegisterIndex(unsigned &SubReg) { in parseSubRegisterIndex()
1183 bool MIParser::parseRegisterTiedDefIndex(unsigned &TiedDefIdx) { in parseRegisterTiedDefIndex()
1196 bool MIParser::assignRegisterTies(MachineInstr &MI, in assignRegisterTies()
1233 bool MIParser::parseRegisterOperand(MachineOperand &Dest, in parseRegisterOperand()
1316 bool MIParser::parseImmediateOperand(MachineOperand &Dest) { in parseImmediateOperand()
1326 bool MIParser::parseIRConstant(StringRef::iterator Loc, StringRef StringValue, in parseIRConstant()
1337 bool MIParser::parseIRConstant(StringRef::iterator Loc, const Constant *&C) { in parseIRConstant()
1344 bool MIParser::parseLowLevelType(StringRef::iterator Loc, LLT &Ty) { in parseLowLevelType()
1402 bool MIParser::parseTypedImmediateOperand(MachineOperand &Dest) { in parseTypedImmediateOperand()
1427 bool MIParser::parseFPImmediateOperand(MachineOperand &Dest) { in parseFPImmediateOperand()
1440 bool MIParser::getUnsigned(unsigned &Result) { in getUnsigned()
1461 bool MIParser::parseMBBReference(MachineBasicBlock *&MBB) { in parseMBBReference()
1480 bool MIParser::parseMBBOperand(MachineOperand &Dest) { in parseMBBOperand()
1489 bool MIParser::parseStackFrameIndex(int &FI) { in parseStackFrameIndex()
1510 bool MIParser::parseStackObjectOperand(MachineOperand &Dest) { in parseStackObjectOperand()
1518 bool MIParser::parseFixedStackFrameIndex(int &FI) { in parseFixedStackFrameIndex()
1532 bool MIParser::parseFixedStackObjectOperand(MachineOperand &Dest) { in parseFixedStackObjectOperand()
1540 bool MIParser::parseGlobalValue(GlobalValue *&GV) { in parseGlobalValue()
1566 bool MIParser::parseGlobalAddressOperand(MachineOperand &Dest) { in parseGlobalAddressOperand()
1577 bool MIParser::parseConstantPoolIndexOperand(MachineOperand &Dest) { in parseConstantPoolIndexOperand()
1592 bool MIParser::parseJumpTableIndexOperand(MachineOperand &Dest) { in parseJumpTableIndexOperand()
1605 bool MIParser::parseExternalSymbolOperand(MachineOperand &Dest) { in parseExternalSymbolOperand()
1615 bool MIParser::parseMCSymbolOperand(MachineOperand &Dest) { in parseMCSymbolOperand()
1625 bool MIParser::parseSubRegisterIndexOperand(MachineOperand &Dest) { in parseSubRegisterIndexOperand()
1636 bool MIParser::parseMDNode(MDNode *&Node) { in parseMDNode()
1654 bool MIParser::parseDIExpression(MDNode *&Expr) { in parseDIExpression()
1695 bool MIParser::parseDILocation(MDNode *&Loc) { in parseDILocation()
1798 bool MIParser::parseMetadataOperand(MachineOperand &Dest) { in parseMetadataOperand()
1811 bool MIParser::parseCFIOffset(int &Offset) { in parseCFIOffset()
1821 bool MIParser::parseCFIRegister(unsigned &Reg) { in parseCFIRegister()
1837 bool MIParser::parseCFIEscapeValues(std::string &Values) { in parseCFIEscapeValues()
1852 bool MIParser::parseCFIOperand(MachineOperand &Dest) { in parseCFIOperand()
1952 bool MIParser::parseIRBlock(BasicBlock *&BB, const Function &F) { in parseIRBlock()
1977 bool MIParser::parseBlockAddressOperand(MachineOperand &Dest) { in parseBlockAddressOperand()
2008 bool MIParser::parseIntrinsicOperand(MachineOperand &Dest) { in parseIntrinsicOperand()
2037 bool MIParser::parsePredicateOperand(MachineOperand &Dest) { in parsePredicateOperand()
2095 bool MIParser::parseTargetIndexOperand(MachineOperand &Dest) { in parseTargetIndexOperand()
2114 bool MIParser::parseCustomRegisterMaskOperand(MachineOperand &Dest) { in parseCustomRegisterMaskOperand()
2141 bool MIParser::parseLiveoutRegisterMaskOperand(MachineOperand &Dest) { in parseLiveoutRegisterMaskOperand()
2166 bool MIParser::parseMachineOperand(MachineOperand &Dest, in parseMachineOperand()
2260 bool MIParser::parseMachineOperandAndTargetFlags( in parseMachineOperandAndTargetFlags()
2303 bool MIParser::parseOffset(int64_t &Offset) { in parseOffset()
2320 bool MIParser::parseAlignment(unsigned &Alignment) { in parseAlignment()
2331 bool MIParser::parseAddrspace(unsigned &Addrspace) { in parseAddrspace()
2342 bool MIParser::parseOperandsOffset(MachineOperand &Op) { in parseOperandsOffset()
2350 bool MIParser::parseIRValue(const Value *&V) { in parseIRValue()
2386 bool MIParser::getUint64(uint64_t &Result) { in getUint64()
2405 bool MIParser::getHexUint(APInt &Result) { in getHexUint()
2422 bool MIParser::parseMemoryOperandFlag(MachineMemOperand::Flags &Flags) { in parseMemoryOperandFlag()
2456 bool MIParser::parseMemoryPseudoSourceValue(const PseudoSourceValue *&PSV) { in parseMemoryPseudoSourceValue()
2513 bool MIParser::parseMachinePointerInfo(MachinePointerInfo &Dest) { in parseMachinePointerInfo()
2545 bool MIParser::parseOptionalScope(LLVMContext &Context, in parseOptionalScope()
2565 bool MIParser::parseOptionalAtomicOrdering(AtomicOrdering &Order) { in parseOptionalAtomicOrdering()
2587 bool MIParser::parseMachineMemoryOperand(MachineMemOperand *&Dest) { in parseMachineMemoryOperand()
2696 bool MIParser::parsePreOrPostInstrSymbol(MCSymbol *&Symbol) { in parsePreOrPostInstrSymbol()
2714 void MIParser::initNames2InstrOpCodes() { in initNames2InstrOpCodes()
2723 bool MIParser::parseInstrName(StringRef InstrName, unsigned &OpCode) { in parseInstrName()
2732 void MIParser::initNames2Regs() { in initNames2Regs()
2748 bool MIParser::getRegisterByName(StringRef RegName, unsigned &Reg) { in getRegisterByName()
2757 void MIParser::initNames2RegMasks() { in initNames2RegMasks()
2770 const uint32_t *MIParser::getRegMask(StringRef Identifier) { in getRegMask()
2778 void MIParser::initNames2SubRegIndices() { in initNames2SubRegIndices()
2787 unsigned MIParser::getSubRegIndex(StringRef Name) { in getSubRegIndex()
2819 const BasicBlock *MIParser::getIRBlock(unsigned Slot) { in getIRBlock()
2825 const BasicBlock *MIParser::getIRBlock(unsigned Slot, const Function &F) { in getIRBlock()
2855 const Value *MIParser::getIRValue(unsigned Slot) { in getIRValue()
2864 void MIParser::initNames2TargetIndices() { in initNames2TargetIndices()
2874 bool MIParser::getTargetIndex(StringRef Name, int &Index) { in getTargetIndex()
2883 void MIParser::initNames2DirectTargetFlags() { in initNames2DirectTargetFlags()
2894 bool MIParser::getDirectTargetFlag(StringRef Name, unsigned &Flag) { in getDirectTargetFlag()
2903 void MIParser::initNames2BitmaskTargetFlags() { in initNames2BitmaskTargetFlags()
2914 bool MIParser::getBitmaskTargetFlag(StringRef Name, unsigned &Flag) { in getBitmaskTargetFlag()
2923 void MIParser::initNames2MMOTargetFlags() { in initNames2MMOTargetFlags()
2934 bool MIParser::getMMOTargetFlag(StringRef Name, in getMMOTargetFlag()
2944 MCSymbol *MIParser::getOrCreateMCSymbol(StringRef Name) { in getOrCreateMCSymbol()
2953 bool MIParser::parseStringConstant(std::string &Result) { in parseStringConstant()
2964 return MIParser(PFS, Error, Src).parseBasicBlockDefinitions(PFS.MBBSlots); in parseMachineBasicBlockDefinitions()
2969 return MIParser(PFS, Error, Src).parseBasicBlocks(); in parseMachineInstructions()
2975 return MIParser(PFS, Error, Src).parseStandaloneMBB(MBB); in parseMBBReference()
2981 return MIParser(PFS, Error, Src).parseStandaloneRegister(Reg); in parseRegisterReference()
2987 return MIParser(PFS, Error, Src).parseStandaloneNamedRegister(Reg); in parseNamedRegisterReference()
2993 return MIParser(PFS, Error, Src).parseStandaloneVirtualRegister(Info); in parseVirtualRegisterReference()
2999 return MIParser(PFS, Error, Src).parseStandaloneStackObject(FI); in parseStackObjectReference()
3004 return MIParser(PFS, Error, Src).parseStandaloneMDNode(Node); in parseMDNode()