Home
last modified time | relevance | path

Searched refs:WebAssemblyFunctionInfo (Results 1 – 25 of 58) sorted by relevance

123

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyMachineFunctionInfo.h27 struct WebAssemblyFunctionInfo;
32 class WebAssemblyFunctionInfo final : public MachineFunctionInfo {
63 explicit WebAssemblyFunctionInfo(MachineFunction &MF) : MF(MF) {} in WebAssemblyFunctionInfo() function
64 ~WebAssemblyFunctionInfo() override;
65 void initializeBaseYamlFields(const yaml::WebAssemblyFunctionInfo &YamlMFI);
157 struct WebAssemblyFunctionInfo final : public yaml::MachineFunctionInfo {
160 WebAssemblyFunctionInfo() = default;
161 WebAssemblyFunctionInfo(const llvm::WebAssemblyFunctionInfo &MFI);
164 ~WebAssemblyFunctionInfo() = default;
167 template <> struct MappingTraits<WebAssemblyFunctionInfo> {
[all …]
DWebAssemblyMachineFunctionInfo.cpp21 WebAssemblyFunctionInfo::~WebAssemblyFunctionInfo() = default; // anchor.
23 void WebAssemblyFunctionInfo::initWARegs() { in initWARegs()
83 yaml::WebAssemblyFunctionInfo::WebAssemblyFunctionInfo( in WebAssemblyFunctionInfo() function in yaml::WebAssemblyFunctionInfo
84 const llvm::WebAssemblyFunctionInfo &MFI) in WebAssemblyFunctionInfo()
87 void yaml::WebAssemblyFunctionInfo::mappingImpl(yaml::IO &YamlIO) { in mappingImpl()
88 MappingTraits<WebAssemblyFunctionInfo>::mapping(YamlIO, *this); in mappingImpl()
91 void WebAssemblyFunctionInfo::initializeBaseYamlFields( in initializeBaseYamlFields()
92 const yaml::WebAssemblyFunctionInfo &YamlMFI) { in initializeBaseYamlFields()
DWebAssemblyRegNumbering.cpp66 WebAssemblyFunctionInfo &MFI = *MF.getInfo<WebAssemblyFunctionInfo>(); in runOnMachineFunction()
103 if (MFI.getWAReg(VReg) == WebAssemblyFunctionInfo::UnusedReg) { in runOnMachineFunction()
DWebAssemblyPeephole.cpp61 MachineOperand &MO, WebAssemblyFunctionInfo &MFI, in maybeRewriteToDrop()
76 WebAssemblyFunctionInfo &MFI, in maybeRewriteToFallthrough()
139 WebAssemblyFunctionInfo &MFI = *MF.getInfo<WebAssemblyFunctionInfo>(); in runOnMachineFunction()
DWebAssemblyUtilities.h22 class WebAssemblyFunctionInfo; variable
26 bool isChild(const MachineInstr &MI, const WebAssemblyFunctionInfo &MFI);
DWebAssemblyTargetMachine.cpp490 return new yaml::WebAssemblyFunctionInfo(); in createDefaultFuncInfoYAML()
495 const auto *MFI = MF.getInfo<WebAssemblyFunctionInfo>(); in convertFuncInfoToYAML()
496 return new yaml::WebAssemblyFunctionInfo(*MFI); in convertFuncInfoToYAML()
503 reinterpret_cast<const yaml::WebAssemblyFunctionInfo &>(MFI); in parseMachineFunctionInfo()
505 MF.getInfo<WebAssemblyFunctionInfo>()->initializeBaseYamlFields(YamlMFI); in parseMachineFunctionInfo()
DWebAssemblyAsmPrinter.h26 WebAssemblyFunctionInfo *MFI;
52 MFI = MF.getInfo<WebAssemblyFunctionInfo>(); in runOnMachineFunction()
DWebAssemblyInstrInfo.cpp91 WebAssemblyFunctionInfo &MFI = in commuteInstructionImpl()
92 *MI.getParent()->getParent()->getInfo<WebAssemblyFunctionInfo>(); in commuteInstructionImpl()
107 const auto &MFI = *MBB.getParent()->getInfo<WebAssemblyFunctionInfo>(); in analyzeBranch()
/external/llvm-project/llvm/lib/Target/WebAssembly/
DWebAssemblyMachineFunctionInfo.h27 struct WebAssemblyFunctionInfo;
32 class WebAssemblyFunctionInfo final : public MachineFunctionInfo {
67 explicit WebAssemblyFunctionInfo(MachineFunction &MF) {} in WebAssemblyFunctionInfo() function
68 ~WebAssemblyFunctionInfo() override;
69 void initializeBaseYamlFields(const yaml::WebAssemblyFunctionInfo &YamlMFI);
175 struct WebAssemblyFunctionInfo final : public yaml::MachineFunctionInfo {
178 WebAssemblyFunctionInfo() = default;
179 WebAssemblyFunctionInfo(const llvm::WebAssemblyFunctionInfo &MFI);
182 ~WebAssemblyFunctionInfo() = default;
185 template <> struct MappingTraits<WebAssemblyFunctionInfo> {
[all …]
DWebAssemblyMachineFunctionInfo.cpp22 WebAssemblyFunctionInfo::~WebAssemblyFunctionInfo() = default; // anchor.
24 void WebAssemblyFunctionInfo::initWARegs(MachineRegisterInfo &MRI) { in initWARegs()
105 yaml::WebAssemblyFunctionInfo::WebAssemblyFunctionInfo( in WebAssemblyFunctionInfo() function in yaml::WebAssemblyFunctionInfo
106 const llvm::WebAssemblyFunctionInfo &MFI) in WebAssemblyFunctionInfo()
109 void yaml::WebAssemblyFunctionInfo::mappingImpl(yaml::IO &YamlIO) { in mappingImpl()
110 MappingTraits<WebAssemblyFunctionInfo>::mapping(YamlIO, *this); in mappingImpl()
113 void WebAssemblyFunctionInfo::initializeBaseYamlFields( in initializeBaseYamlFields()
114 const yaml::WebAssemblyFunctionInfo &YamlMFI) { in initializeBaseYamlFields()
DWebAssemblyRegNumbering.cpp66 WebAssemblyFunctionInfo &MFI = *MF.getInfo<WebAssemblyFunctionInfo>(); in runOnMachineFunction()
103 if (MFI.getWAReg(VReg) == WebAssemblyFunctionInfo::UnusedReg) { in runOnMachineFunction()
DWebAssemblyUtilities.h22 class WebAssemblyFunctionInfo; variable
26 bool isChild(const MachineInstr &MI, const WebAssemblyFunctionInfo &MFI);
DWebAssemblyPeephole.cpp61 MachineOperand &MO, WebAssemblyFunctionInfo &MFI, in maybeRewriteToDrop()
76 WebAssemblyFunctionInfo &MFI, in maybeRewriteToFallthrough()
145 WebAssemblyFunctionInfo &MFI = *MF.getInfo<WebAssemblyFunctionInfo>(); in runOnMachineFunction()
DWebAssemblyTargetMachine.cpp508 return new yaml::WebAssemblyFunctionInfo(); in createDefaultFuncInfoYAML()
513 const auto *MFI = MF.getInfo<WebAssemblyFunctionInfo>(); in convertFuncInfoToYAML()
514 return new yaml::WebAssemblyFunctionInfo(*MFI); in convertFuncInfoToYAML()
521 reinterpret_cast<const yaml::WebAssemblyFunctionInfo &>(MFI); in parseMachineFunctionInfo()
523 MF.getInfo<WebAssemblyFunctionInfo>()->initializeBaseYamlFields(YamlMFI); in parseMachineFunctionInfo()
DWebAssemblyAsmPrinter.h24 WebAssemblyFunctionInfo *MFI;
57 MFI = MF.getInfo<WebAssemblyFunctionInfo>(); in runOnMachineFunction()
DWebAssemblyDebugFixup.cpp67 WebAssemblyFunctionInfo &MFI = *MF.getInfo<WebAssemblyFunctionInfo>(); in runOnMachineFunction()
DWebAssemblyExplicitLocals.cpp62 static void checkFrameBase(WebAssemblyFunctionInfo &MFI, unsigned Local, in checkFrameBase()
77 WebAssemblyFunctionInfo &MFI, unsigned &CurLocal, in getLocalId()
196 const WebAssemblyFunctionInfo &MFI) { in findStartOfTree()
226 WebAssemblyFunctionInfo &MFI = *MF.getInfo<WebAssemblyFunctionInfo>(); in runOnMachineFunction()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyMachineFunctionInfo.cpp19 WebAssemblyFunctionInfo::~WebAssemblyFunctionInfo() {} in ~WebAssemblyFunctionInfo()
21 void WebAssemblyFunctionInfo::initWARegs() { in initWARegs()
DWebAssemblyMachineFunctionInfo.h26 class WebAssemblyFunctionInfo final : public MachineFunctionInfo {
48 explicit WebAssemblyFunctionInfo(MachineFunction &MF) : MF(MF) {} in WebAssemblyFunctionInfo() function
49 ~WebAssemblyFunctionInfo() override;
DWebAssemblyRegNumbering.cpp62 WebAssemblyFunctionInfo &MFI = *MF.getInfo<WebAssemblyFunctionInfo>(); in runOnMachineFunction()
106 if (MFI.getWAReg(VReg) == WebAssemblyFunctionInfo::UnusedReg) { in runOnMachineFunction()
DWebAssemblyPeephole.cpp59 MachineOperand &MO, WebAssemblyFunctionInfo &MFI, in MaybeRewriteToDrop()
74 WebAssemblyFunctionInfo &MFI, in MaybeRewriteToFallthrough()
110 WebAssemblyFunctionInfo &MFI = *MF.getInfo<WebAssemblyFunctionInfo>(); in runOnMachineFunction()
DWebAssemblyAsmPrinter.cpp45 const WebAssemblyFunctionInfo *MFI;
62 MFI = MF.getInfo<WebAssemblyFunctionInfo>(); in runOnMachineFunction()
116 assert(WAReg != WebAssemblyFunctionInfo::UnusedReg); in regToString()
199 if (WAReg == WebAssemblyFunctionInfo::UnusedReg) in EmitFunctionBodyStart()
DWebAssemblyMCInstLower.cpp76 const WebAssemblyFunctionInfo &MFI = in Lower()
77 *MI->getParent()->getParent()->getInfo<WebAssemblyFunctionInfo>(); in Lower()
/external/llvm/lib/Target/WebAssembly/InstPrinter/
DWebAssemblyInstPrinter.cpp42 assert(RegNo != WebAssemblyFunctionInfo::UnusedReg); in printRegName()
148 O << "$pop" << WebAssemblyFunctionInfo::getWARegStackId(WAReg); in printOperand()
149 else if (WAReg != WebAssemblyFunctionInfo::UnusedReg) in printOperand()
150 O << "$push" << WebAssemblyFunctionInfo::getWARegStackId(WAReg); in printOperand()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/MCTargetDesc/
DWebAssemblyInstPrinter.cpp42 assert(RegNo != WebAssemblyFunctionInfo::UnusedReg); in printRegName()
217 O << "$pop" << WebAssemblyFunctionInfo::getWARegStackId(WAReg); in printOperand()
218 else if (WAReg != WebAssemblyFunctionInfo::UnusedReg) in printOperand()
219 O << "$push" << WebAssemblyFunctionInfo::getWARegStackId(WAReg); in printOperand()

123