Lines Matching refs:MIParser

57 class MIParser {  class
86 MIParser(SourceMgr &SM, MachineFunction &MF, SMDiagnostic &Error,
247 MIParser::MIParser(SourceMgr &SM, MachineFunction &MF, SMDiagnostic &Error, in MIParser() function in MIParser
253 void MIParser::lex() { in lex()
259 bool MIParser::error(const Twine &Msg) { return error(Token.location(), Msg); } in error()
261 bool MIParser::error(StringRef::iterator Loc, const Twine &Msg) { in error()
294 bool MIParser::expectAndConsume(MIToken::TokenKind TokenKind) { in expectAndConsume()
301 bool MIParser::consumeIfPresent(MIToken::TokenKind TokenKind) { in consumeIfPresent()
308 bool MIParser::parseBasicBlockDefinition( in parseBasicBlockDefinition()
375 bool MIParser::parseBasicBlockDefinitions( in parseBasicBlockDefinitions()
419 bool MIParser::parseBasicBlockLiveins(MachineBasicBlock &MBB) { in parseBasicBlockLiveins()
438 bool MIParser::parseBasicBlockSuccessors(MachineBasicBlock &MBB) { in parseBasicBlockSuccessors()
468 bool MIParser::parseBasicBlock(MachineBasicBlock &MBB) { in parseBasicBlock()
545 bool MIParser::parseBasicBlocks() { in parseBasicBlocks()
568 bool MIParser::parse(MachineInstr *&MI) { in parse()
658 bool MIParser::parseStandaloneMBB(MachineBasicBlock *&MBB) { in parseStandaloneMBB()
671 bool MIParser::parseStandaloneNamedRegister(unsigned &Reg) { in parseStandaloneNamedRegister()
683 bool MIParser::parseStandaloneVirtualRegister(unsigned &Reg) { in parseStandaloneVirtualRegister()
695 bool MIParser::parseStandaloneStackObject(int &FI) { in parseStandaloneStackObject()
706 bool MIParser::parseStandaloneMDNode(MDNode *&Node) { in parseStandaloneMDNode()
738 bool MIParser::verifyImplicitOperands(ArrayRef<ParsedMachineOperand> Operands, in verifyImplicitOperands()
769 bool MIParser::parseInstruction(unsigned &OpCode, unsigned &Flags) { in parseInstruction()
783 bool MIParser::parseRegister(unsigned &Reg) { in parseRegister()
812 bool MIParser::parseRegisterFlag(unsigned &Flags) { in parseRegisterFlag()
853 bool MIParser::parseSubRegisterIndex(unsigned &SubReg) { in parseSubRegisterIndex()
866 bool MIParser::parseRegisterTiedDefIndex(unsigned &TiedDefIdx) { in parseRegisterTiedDefIndex()
879 bool MIParser::assignRegisterTies(MachineInstr &MI, in assignRegisterTies()
916 bool MIParser::parseRegisterOperand(MachineOperand &Dest, in parseRegisterOperand()
949 bool MIParser::parseImmediateOperand(MachineOperand &Dest) { in parseImmediateOperand()
959 bool MIParser::parseIRConstant(StringRef::iterator Loc, StringRef StringValue, in parseIRConstant()
970 bool MIParser::parseIRConstant(StringRef::iterator Loc, const Constant *&C) { in parseIRConstant()
977 bool MIParser::parseTypedImmediateOperand(MachineOperand &Dest) { in parseTypedImmediateOperand()
990 bool MIParser::parseFPImmediateOperand(MachineOperand &Dest) { in parseFPImmediateOperand()
1002 bool MIParser::getUnsigned(unsigned &Result) { in getUnsigned()
1012 bool MIParser::parseMBBReference(MachineBasicBlock *&MBB) { in parseMBBReference()
1029 bool MIParser::parseMBBOperand(MachineOperand &Dest) { in parseMBBOperand()
1038 bool MIParser::parseStackFrameIndex(int &FI) { in parseStackFrameIndex()
1059 bool MIParser::parseStackObjectOperand(MachineOperand &Dest) { in parseStackObjectOperand()
1067 bool MIParser::parseFixedStackFrameIndex(int &FI) { in parseFixedStackFrameIndex()
1081 bool MIParser::parseFixedStackObjectOperand(MachineOperand &Dest) { in parseFixedStackObjectOperand()
1089 bool MIParser::parseGlobalValue(GlobalValue *&GV) { in parseGlobalValue()
1115 bool MIParser::parseGlobalAddressOperand(MachineOperand &Dest) { in parseGlobalAddressOperand()
1126 bool MIParser::parseConstantPoolIndexOperand(MachineOperand &Dest) { in parseConstantPoolIndexOperand()
1141 bool MIParser::parseJumpTableIndexOperand(MachineOperand &Dest) { in parseJumpTableIndexOperand()
1154 bool MIParser::parseExternalSymbolOperand(MachineOperand &Dest) { in parseExternalSymbolOperand()
1164 bool MIParser::parseMDNode(MDNode *&Node) { in parseMDNode()
1181 bool MIParser::parseMetadataOperand(MachineOperand &Dest) { in parseMetadataOperand()
1189 bool MIParser::parseCFIOffset(int &Offset) { in parseCFIOffset()
1199 bool MIParser::parseCFIRegister(unsigned &Reg) { in parseCFIRegister()
1215 bool MIParser::parseCFIOperand(MachineOperand &Dest) { in parseCFIOperand()
1265 bool MIParser::parseIRBlock(BasicBlock *&BB, const Function &F) { in parseIRBlock()
1290 bool MIParser::parseBlockAddressOperand(MachineOperand &Dest) { in parseBlockAddressOperand()
1321 bool MIParser::parseTargetIndexOperand(MachineOperand &Dest) { in parseTargetIndexOperand()
1340 bool MIParser::parseLiveoutRegisterMaskOperand(MachineOperand &Dest) { in parseLiveoutRegisterMaskOperand()
1367 bool MIParser::parseMachineOperand(MachineOperand &Dest, in parseMachineOperand()
1439 bool MIParser::parseMachineOperandAndTargetFlags( in parseMachineOperandAndTargetFlags()
1482 bool MIParser::parseOffset(int64_t &Offset) { in parseOffset()
1499 bool MIParser::parseAlignment(unsigned &Alignment) { in parseAlignment()
1510 bool MIParser::parseOperandsOffset(MachineOperand &Op) { in parseOperandsOffset()
1518 bool MIParser::parseIRValue(const Value *&V) { in parseIRValue()
1554 bool MIParser::getUint64(uint64_t &Result) { in getUint64()
1562 bool MIParser::parseMemoryOperandFlag(unsigned &Flags) { in parseMemoryOperandFlag()
1586 bool MIParser::parseMemoryPseudoSourceValue(const PseudoSourceValue *&PSV) { in parseMemoryPseudoSourceValue()
1636 bool MIParser::parseMachinePointerInfo(MachinePointerInfo &Dest) { in parseMachinePointerInfo()
1667 bool MIParser::parseMachineMemoryOperand(MachineMemOperand *&Dest) { in parseMachineMemoryOperand()
1741 void MIParser::initNames2InstrOpCodes() { in initNames2InstrOpCodes()
1750 bool MIParser::parseInstrName(StringRef InstrName, unsigned &OpCode) { in parseInstrName()
1759 void MIParser::initNames2Regs() { in initNames2Regs()
1775 bool MIParser::getRegisterByName(StringRef RegName, unsigned &Reg) { in getRegisterByName()
1784 void MIParser::initNames2RegMasks() { in initNames2RegMasks()
1797 const uint32_t *MIParser::getRegMask(StringRef Identifier) { in getRegMask()
1805 void MIParser::initNames2SubRegIndices() { in initNames2SubRegIndices()
1814 unsigned MIParser::getSubRegIndex(StringRef Name) { in getSubRegIndex()
1846 const BasicBlock *MIParser::getIRBlock(unsigned Slot) { in getIRBlock()
1852 const BasicBlock *MIParser::getIRBlock(unsigned Slot, const Function &F) { in getIRBlock()
1882 const Value *MIParser::getIRValue(unsigned Slot) { in getIRValue()
1891 void MIParser::initNames2TargetIndices() { in initNames2TargetIndices()
1901 bool MIParser::getTargetIndex(StringRef Name, int &Index) { in getTargetIndex()
1910 void MIParser::initNames2DirectTargetFlags() { in initNames2DirectTargetFlags()
1921 bool MIParser::getDirectTargetFlag(StringRef Name, unsigned &Flag) { in getDirectTargetFlag()
1930 void MIParser::initNames2BitmaskTargetFlags() { in initNames2BitmaskTargetFlags()
1941 bool MIParser::getBitmaskTargetFlag(StringRef Name, unsigned &Flag) { in getBitmaskTargetFlag()
1958 return MIParser(SM, MF, Error, Src, PFS, IRSlots) in parseMachineBasicBlockDefinitions()
1970 return MIParser(SM, MF, Error, Src, PFS, IRSlots).parseBasicBlocks(); in parseMachineInstructions()
1977 return MIParser(SM, MF, Error, Src, PFS, IRSlots).parseStandaloneMBB(MBB); in parseMBBReference()
1985 return MIParser(SM, MF, Error, Src, PFS, IRSlots) in parseNamedRegisterReference()
1994 return MIParser(SM, MF, Error, Src, PFS, IRSlots) in parseVirtualRegisterReference()
2003 return MIParser(SM, MF, Error, Src, PFS, IRSlots) in parseStackObjectReference()
2010 return MIParser(SM, MF, Error, Src, PFS, IRSlots).parseStandaloneMDNode(Node); in parseMDNode()