/external/llvm-project/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyFixBrTableDefaults.cpp | 61 auto ExtMI = MF.getRegInfo().getVRegDef(MI.getOperand(0).getReg()); in fixBrTableIndex() local 62 if (ExtMI->getOpcode() == WebAssembly::I64_EXTEND_U_I32) { in fixBrTableIndex() 64 assert(MI.getOperand(0).getReg() == ExtMI->getOperand(0).getReg()); in fixBrTableIndex() 65 MI.getOperand(0).setReg(ExtMI->getOperand(1).getReg()); in fixBrTableIndex() 66 ExtMI->eraseFromParent(); in fixBrTableIndex()
|
/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
D | LegalizationArtifactCombiner.h | 69 MachineInstr *ExtMI; in tryCombineAnyExt() local 71 m_all_of(m_MInstr(ExtMI), m_any_of(m_GAnyExt(m_Reg(ExtSrc)), in tryCombineAnyExt() 74 Builder.buildInstr(ExtMI->getOpcode(), {DstReg}, {ExtSrc}); in tryCombineAnyExt() 76 markInstAndDefDead(MI, *ExtMI, DeadInsts); in tryCombineAnyExt() 186 MachineInstr *ExtMI; in tryCombineSExt() local 188 m_all_of(m_MInstr(ExtMI), m_any_of(m_GZExt(m_Reg(ExtSrc)), in tryCombineSExt() 191 Builder.buildInstr(ExtMI->getOpcode(), {DstReg}, {ExtSrc}); in tryCombineSExt()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonVLIWPacketizer.cpp | 259 auto *ExtMI = MF.CreateMachineInstr(HII->get(Hexagon::A4_ext), DebugLoc()); in tryAllocateResourcesForConstExt() local 260 bool Avail = ResourceTracker->canReserveResources(*ExtMI); in tryAllocateResourcesForConstExt() 262 ResourceTracker->reserveResources(*ExtMI); in tryAllocateResourcesForConstExt() 263 MF.DeleteMachineInstr(ExtMI); in tryAllocateResourcesForConstExt() 1489 bool ExtMI = HII->isExtended(&MI) || HII->isConstExtended(&MI); in addToPacket() local 1499 if (ExtMI) in addToPacket() 1516 if (ExtMI) { in addToPacket() 1533 if (ExtMI && !tryAllocateResourcesForConstExt(true)) { in addToPacket()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | LegalizationArtifactCombiner.h | 69 MachineInstr *ExtMI; in tryCombineAnyExt() local 71 m_all_of(m_MInstr(ExtMI), m_any_of(m_GAnyExt(m_Reg(ExtSrc)), in tryCombineAnyExt() 74 Builder.buildInstr(ExtMI->getOpcode(), {DstReg}, {ExtSrc}); in tryCombineAnyExt() 76 markInstAndDefDead(MI, *ExtMI, DeadInsts); in tryCombineAnyExt()
|
/external/llvm-project/llvm/lib/Target/Hexagon/ |
D | HexagonVLIWPacketizer.cpp | 296 auto *ExtMI = MF.CreateMachineInstr(HII->get(Hexagon::A4_ext), DebugLoc()); in tryAllocateResourcesForConstExt() local 297 bool Avail = ResourceTracker->canReserveResources(*ExtMI); in tryAllocateResourcesForConstExt() 299 ResourceTracker->reserveResources(*ExtMI); in tryAllocateResourcesForConstExt() 300 MF.DeleteMachineInstr(ExtMI); in tryAllocateResourcesForConstExt() 1712 bool ExtMI = HII->isExtended(MI) || HII->isConstExtended(MI); in addToPacket() local 1722 if (ExtMI) in addToPacket() 1739 if (ExtMI) { in addToPacket() 1756 if (ExtMI && !tryAllocateResourcesForConstExt(true)) { in addToPacket()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonVLIWPacketizer.cpp | 288 auto *ExtMI = MF.CreateMachineInstr(HII->get(Hexagon::A4_ext), DebugLoc()); in tryAllocateResourcesForConstExt() local 289 bool Avail = ResourceTracker->canReserveResources(*ExtMI); in tryAllocateResourcesForConstExt() 291 ResourceTracker->reserveResources(*ExtMI); in tryAllocateResourcesForConstExt() 292 MF.DeleteMachineInstr(ExtMI); in tryAllocateResourcesForConstExt() 1705 bool ExtMI = HII->isExtended(MI) || HII->isConstExtended(MI); in addToPacket() local 1715 if (ExtMI) in addToPacket() 1732 if (ExtMI) { in addToPacket() 1749 if (ExtMI && !tryAllocateResourcesForConstExt(true)) { in addToPacket()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86InstrInfo.cpp | 863 MachineInstr *ExtMI = in convertToThreeAddressWithLEA() local 871 LV->getVarInfo(OutRegLEA).Kills.push_back(ExtMI); in convertToThreeAddressWithLEA() 875 LV->replaceKillInstruction(Dest, MI, *ExtMI); in convertToThreeAddressWithLEA() 878 return ExtMI; in convertToThreeAddressWithLEA()
|
/external/llvm-project/llvm/lib/Target/X86/ |
D | X86InstrInfo.cpp | 1347 MachineInstr *ExtMI = in convertToThreeAddressWithLEA() local 1355 LV->getVarInfo(OutRegLEA).Kills.push_back(ExtMI); in convertToThreeAddressWithLEA() 1359 LV->replaceKillInstruction(Dest, MI, *ExtMI); in convertToThreeAddressWithLEA() 1362 return ExtMI; in convertToThreeAddressWithLEA()
|
/external/llvm/lib/Target/X86/ |
D | X86InstrInfo.cpp | 2723 MachineInstr *ExtMI = in convertToThreeAddressWithLEA() local 2731 LV->getVarInfo(leaOutReg).Kills.push_back(ExtMI); in convertToThreeAddressWithLEA() 2735 LV->replaceKillInstruction(Dest, MI, *ExtMI); in convertToThreeAddressWithLEA() 2738 return ExtMI; in convertToThreeAddressWithLEA()
|