Lines Matching refs:MIParser

63 class MIParser {  class
89 MIParser(const PerFunctionMIParsingState &PFS, SMDiagnostic &Error,
257 MIParser::MIParser(const PerFunctionMIParsingState &PFS, SMDiagnostic &Error, in MIParser() function in MIParser
262 void MIParser::lex(unsigned SkipChar) { in lex()
268 bool MIParser::error(const Twine &Msg) { return error(Token.location(), Msg); } in error()
270 bool MIParser::error(StringRef::iterator Loc, const Twine &Msg) { in error()
304 bool MIParser::expectAndConsume(MIToken::TokenKind TokenKind) { in expectAndConsume()
311 bool MIParser::consumeIfPresent(MIToken::TokenKind TokenKind) { in consumeIfPresent()
318 bool MIParser::parseBasicBlockDefinition( in parseBasicBlockDefinition()
385 bool MIParser::parseBasicBlockDefinitions( in parseBasicBlockDefinitions()
429 bool MIParser::parseBasicBlockLiveins(MachineBasicBlock &MBB) { in parseBasicBlockLiveins()
448 bool MIParser::parseBasicBlockSuccessors(MachineBasicBlock &MBB) { in parseBasicBlockSuccessors()
478 bool MIParser::parseBasicBlock(MachineBasicBlock &MBB) { in parseBasicBlock()
555 bool MIParser::parseBasicBlocks() { in parseBasicBlocks()
578 bool MIParser::parse(MachineInstr *&MI) { in parse()
678 bool MIParser::parseStandaloneMBB(MachineBasicBlock *&MBB) { in parseStandaloneMBB()
691 bool MIParser::parseStandaloneNamedRegister(unsigned &Reg) { in parseStandaloneNamedRegister()
703 bool MIParser::parseStandaloneVirtualRegister(unsigned &Reg) { in parseStandaloneVirtualRegister()
715 bool MIParser::parseStandaloneStackObject(int &FI) { in parseStandaloneStackObject()
726 bool MIParser::parseStandaloneMDNode(MDNode *&Node) { in parseStandaloneMDNode()
758 bool MIParser::verifyImplicitOperands(ArrayRef<ParsedMachineOperand> Operands, in verifyImplicitOperands()
789 bool MIParser::parseInstruction(unsigned &OpCode, unsigned &Flags) { in parseInstruction()
803 bool MIParser::parseRegister(unsigned &Reg) { in parseRegister()
832 bool MIParser::parseRegisterFlag(unsigned &Flags) { in parseRegisterFlag()
873 bool MIParser::parseSubRegisterIndex(unsigned &SubReg) { in parseSubRegisterIndex()
886 bool MIParser::parseRegisterTiedDefIndex(unsigned &TiedDefIdx) { in parseRegisterTiedDefIndex()
899 bool MIParser::parseSize(unsigned &Size) { in parseSize()
910 bool MIParser::assignRegisterTies(MachineInstr &MI, in assignRegisterTies()
947 bool MIParser::parseRegisterOperand(MachineOperand &Dest, in parseRegisterOperand()
997 bool MIParser::parseImmediateOperand(MachineOperand &Dest) { in parseImmediateOperand()
1007 bool MIParser::parseIRConstant(StringRef::iterator Loc, StringRef StringValue, in parseIRConstant()
1018 bool MIParser::parseIRConstant(StringRef::iterator Loc, const Constant *&C) { in parseIRConstant()
1025 bool MIParser::parseIRType(StringRef::iterator Loc, StringRef StringValue, in parseIRType()
1036 bool MIParser::parseIRType(StringRef::iterator Loc, Type *&Ty, in parseIRType()
1057 bool MIParser::parseTypedImmediateOperand(MachineOperand &Dest) { in parseTypedImmediateOperand()
1070 bool MIParser::parseFPImmediateOperand(MachineOperand &Dest) { in parseFPImmediateOperand()
1082 bool MIParser::getUnsigned(unsigned &Result) { in getUnsigned()
1092 bool MIParser::parseMBBReference(MachineBasicBlock *&MBB) { in parseMBBReference()
1109 bool MIParser::parseMBBOperand(MachineOperand &Dest) { in parseMBBOperand()
1118 bool MIParser::parseStackFrameIndex(int &FI) { in parseStackFrameIndex()
1139 bool MIParser::parseStackObjectOperand(MachineOperand &Dest) { in parseStackObjectOperand()
1147 bool MIParser::parseFixedStackFrameIndex(int &FI) { in parseFixedStackFrameIndex()
1161 bool MIParser::parseFixedStackObjectOperand(MachineOperand &Dest) { in parseFixedStackObjectOperand()
1169 bool MIParser::parseGlobalValue(GlobalValue *&GV) { in parseGlobalValue()
1195 bool MIParser::parseGlobalAddressOperand(MachineOperand &Dest) { in parseGlobalAddressOperand()
1206 bool MIParser::parseConstantPoolIndexOperand(MachineOperand &Dest) { in parseConstantPoolIndexOperand()
1221 bool MIParser::parseJumpTableIndexOperand(MachineOperand &Dest) { in parseJumpTableIndexOperand()
1234 bool MIParser::parseExternalSymbolOperand(MachineOperand &Dest) { in parseExternalSymbolOperand()
1244 bool MIParser::parseSubRegisterIndexOperand(MachineOperand &Dest) { in parseSubRegisterIndexOperand()
1255 bool MIParser::parseMDNode(MDNode *&Node) { in parseMDNode()
1272 bool MIParser::parseMetadataOperand(MachineOperand &Dest) { in parseMetadataOperand()
1280 bool MIParser::parseCFIOffset(int &Offset) { in parseCFIOffset()
1290 bool MIParser::parseCFIRegister(unsigned &Reg) { in parseCFIRegister()
1306 bool MIParser::parseCFIOperand(MachineOperand &Dest) { in parseCFIOperand()
1356 bool MIParser::parseIRBlock(BasicBlock *&BB, const Function &F) { in parseIRBlock()
1381 bool MIParser::parseBlockAddressOperand(MachineOperand &Dest) { in parseBlockAddressOperand()
1412 bool MIParser::parseTargetIndexOperand(MachineOperand &Dest) { in parseTargetIndexOperand()
1431 bool MIParser::parseLiveoutRegisterMaskOperand(MachineOperand &Dest) { in parseLiveoutRegisterMaskOperand()
1458 bool MIParser::parseMachineOperand(MachineOperand &Dest, in parseMachineOperand()
1532 bool MIParser::parseMachineOperandAndTargetFlags( in parseMachineOperandAndTargetFlags()
1575 bool MIParser::parseOffset(int64_t &Offset) { in parseOffset()
1592 bool MIParser::parseAlignment(unsigned &Alignment) { in parseAlignment()
1603 bool MIParser::parseOperandsOffset(MachineOperand &Op) { in parseOperandsOffset()
1611 bool MIParser::parseIRValue(const Value *&V) { in parseIRValue()
1647 bool MIParser::getUint64(uint64_t &Result) { in getUint64()
1655 bool MIParser::parseMemoryOperandFlag(unsigned &Flags) { in parseMemoryOperandFlag()
1679 bool MIParser::parseMemoryPseudoSourceValue(const PseudoSourceValue *&PSV) { in parseMemoryPseudoSourceValue()
1737 bool MIParser::parseMachinePointerInfo(MachinePointerInfo &Dest) { in parseMachinePointerInfo()
1769 bool MIParser::parseMachineMemoryOperand(MachineMemOperand *&Dest) { in parseMachineMemoryOperand()
1845 void MIParser::initNames2InstrOpCodes() { in initNames2InstrOpCodes()
1854 bool MIParser::parseInstrName(StringRef InstrName, unsigned &OpCode) { in parseInstrName()
1863 void MIParser::initNames2Regs() { in initNames2Regs()
1879 bool MIParser::getRegisterByName(StringRef RegName, unsigned &Reg) { in getRegisterByName()
1888 void MIParser::initNames2RegMasks() { in initNames2RegMasks()
1901 const uint32_t *MIParser::getRegMask(StringRef Identifier) { in getRegMask()
1909 void MIParser::initNames2SubRegIndices() { in initNames2SubRegIndices()
1918 unsigned MIParser::getSubRegIndex(StringRef Name) { in getSubRegIndex()
1950 const BasicBlock *MIParser::getIRBlock(unsigned Slot) { in getIRBlock()
1956 const BasicBlock *MIParser::getIRBlock(unsigned Slot, const Function &F) { in getIRBlock()
1986 const Value *MIParser::getIRValue(unsigned Slot) { in getIRValue()
1995 void MIParser::initNames2TargetIndices() { in initNames2TargetIndices()
2005 bool MIParser::getTargetIndex(StringRef Name, int &Index) { in getTargetIndex()
2014 void MIParser::initNames2DirectTargetFlags() { in initNames2DirectTargetFlags()
2025 bool MIParser::getDirectTargetFlag(StringRef Name, unsigned &Flag) { in getDirectTargetFlag()
2034 void MIParser::initNames2BitmaskTargetFlags() { in initNames2BitmaskTargetFlags()
2045 bool MIParser::getBitmaskTargetFlag(StringRef Name, unsigned &Flag) { in getBitmaskTargetFlag()
2057 return MIParser(PFS, Error, Src).parseBasicBlockDefinitions(PFS.MBBSlots); in parseMachineBasicBlockDefinitions()
2062 return MIParser(PFS, Error, Src).parseBasicBlocks(); in parseMachineInstructions()
2068 return MIParser(PFS, Error, Src).parseStandaloneMBB(MBB); in parseMBBReference()
2074 return MIParser(PFS, Error, Src).parseStandaloneNamedRegister(Reg); in parseNamedRegisterReference()
2080 return MIParser(PFS, Error, Src).parseStandaloneVirtualRegister(Reg); in parseVirtualRegisterReference()
2086 return MIParser(PFS, Error, Src).parseStandaloneStackObject(FI); in parseStackObjectReference()
2091 return MIParser(PFS, Error, Src).parseStandaloneMDNode(Node); in parseMDNode()