/external/llvm/lib/CodeGen/ |
D | TargetRegisterInfo.cpp | 290 const TargetRegisterClass *DefRC, in shareSameRegisterFile() argument 295 if (DefRC == SrcRC) in shareSameRegisterFile() 301 return TRI.getCommonSuperRegClass(SrcRC, SrcSubReg, DefRC, DefSubReg, in shareSameRegisterFile() 309 std::swap(DefRC, SrcRC); in shareSameRegisterFile() 314 return TRI.getMatchingSuperRegClass(SrcRC, DefRC, SrcSubReg) != nullptr; in shareSameRegisterFile() 317 return TRI.getCommonSubClass(DefRC, SrcRC) != nullptr; in shareSameRegisterFile() 320 bool TargetRegisterInfo::shouldRewriteCopySrc(const TargetRegisterClass *DefRC, in shouldRewriteCopySrc() argument 325 return shareSameRegisterFile(*this, DefRC, DefSubReg, SrcRC, SrcSubReg); in shouldRewriteCopySrc()
|
D | DetectDeadLanes.cpp | 376 const TargetRegisterClass *DefRC = MRI->getRegClass(Reg); in determineInitialDefinedLanes() local 390 } else if (isCrossCopy(*MRI, DefMI, DefRC, MO)) { in determineInitialDefinedLanes()
|
D | PeepholeOptimizer.cpp | 624 const TargetRegisterClass *DefRC = MRI->getRegClass(Reg); in findNextSource() local 685 ShouldRewrite = TRI->shouldRewriteCopySrc(DefRC, SubReg, SrcRC, in findNextSource() 938 const TargetRegisterClass *DefRC = MRI.getRegClass(Def.Reg); in RewriteSource() local 939 unsigned NewVR = MRI.createVirtualRegister(DefRC); in RewriteSource()
|
D | RegisterCoalescer.cpp | 930 const TargetRegisterClass *DefRC = TII->getRegClass(MCID, 0, TRI, *MF); in reMaterializeTrivialDef() local 942 if (!DefRC->contains(NewDstReg)) in reMaterializeTrivialDef() 973 TRI->getCommonSubClass(DefRC, DstRC); in reMaterializeTrivialDef() 1021 if (DefRC != nullptr) { in reMaterializeTrivialDef() 1023 NewRC = TRI->getMatchingSuperRegClass(NewRC, DefRC, NewIdx); in reMaterializeTrivialDef() 1025 NewRC = TRI->getCommonSubClass(NewRC, DefRC); in reMaterializeTrivialDef()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | TargetRegisterInfo.cpp | 343 const TargetRegisterClass *DefRC, in shareSameRegisterFile() argument 348 if (DefRC == SrcRC) in shareSameRegisterFile() 354 return TRI.getCommonSuperRegClass(SrcRC, SrcSubReg, DefRC, DefSubReg, in shareSameRegisterFile() 362 std::swap(DefRC, SrcRC); in shareSameRegisterFile() 367 return TRI.getMatchingSuperRegClass(SrcRC, DefRC, SrcSubReg) != nullptr; in shareSameRegisterFile() 370 return TRI.getCommonSubClass(DefRC, SrcRC) != nullptr; in shareSameRegisterFile() 373 bool TargetRegisterInfo::shouldRewriteCopySrc(const TargetRegisterClass *DefRC, in shouldRewriteCopySrc() argument 378 return shareSameRegisterFile(*this, DefRC, DefSubReg, SrcRC, SrcSubReg); in shouldRewriteCopySrc()
|
D | DetectDeadLanes.cpp | 373 const TargetRegisterClass *DefRC = MRI->getRegClass(Reg); in determineInitialDefinedLanes() local 387 } else if (isCrossCopy(*MRI, DefMI, DefRC, MO)) { in determineInitialDefinedLanes()
|
D | PeepholeOptimizer.cpp | 669 const TargetRegisterClass *DefRC = MRI->getRegClass(Reg); in findNextSource() local 732 if (!TRI->shouldRewriteCopySrc(DefRC, RegSubReg.SubReg, SrcRC, in findNextSource() 1232 const TargetRegisterClass *DefRC = MRI->getRegClass(Def.Reg); in rewriteSource() local 1233 Register NewVReg = MRI->createVirtualRegister(DefRC); in rewriteSource()
|
D | RegisterCoalescer.cpp | 1284 const TargetRegisterClass *DefRC = TII->getRegClass(MCID, 0, TRI, *MF); in reMaterializeTrivialDef() local 1296 if (!DefRC->contains(NewDstReg)) in reMaterializeTrivialDef() 1327 TRI->getCommonSubClass(DefRC, DstRC); in reMaterializeTrivialDef() 1376 if (DefRC != nullptr) { in reMaterializeTrivialDef() 1378 NewRC = TRI->getMatchingSuperRegClass(NewRC, DefRC, NewIdx); in reMaterializeTrivialDef() 1380 NewRC = TRI->getCommonSubClass(NewRC, DefRC); in reMaterializeTrivialDef()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | TargetRegisterInfo.cpp | 363 const TargetRegisterClass *DefRC, in shareSameRegisterFile() argument 368 if (DefRC == SrcRC) in shareSameRegisterFile() 374 return TRI.getCommonSuperRegClass(SrcRC, SrcSubReg, DefRC, DefSubReg, in shareSameRegisterFile() 382 std::swap(DefRC, SrcRC); in shareSameRegisterFile() 387 return TRI.getMatchingSuperRegClass(SrcRC, DefRC, SrcSubReg) != nullptr; in shareSameRegisterFile() 390 return TRI.getCommonSubClass(DefRC, SrcRC) != nullptr; in shareSameRegisterFile() 393 bool TargetRegisterInfo::shouldRewriteCopySrc(const TargetRegisterClass *DefRC, in shouldRewriteCopySrc() argument 398 return shareSameRegisterFile(*this, DefRC, DefSubReg, SrcRC, SrcSubReg); in shouldRewriteCopySrc()
|
D | DetectDeadLanes.cpp | 370 const TargetRegisterClass *DefRC = MRI->getRegClass(Reg); in determineInitialDefinedLanes() local 384 } else if (isCrossCopy(*MRI, DefMI, DefRC, MO)) { in determineInitialDefinedLanes()
|
D | PeepholeOptimizer.cpp | 674 const TargetRegisterClass *DefRC = MRI->getRegClass(Reg); in findNextSource() local 737 if (!TRI->shouldRewriteCopySrc(DefRC, RegSubReg.SubReg, SrcRC, in findNextSource() 1237 const TargetRegisterClass *DefRC = MRI->getRegClass(Def.Reg); in rewriteSource() local 1238 Register NewVReg = MRI->createVirtualRegister(DefRC); in rewriteSource()
|
D | RegisterCoalescer.cpp | 1298 const TargetRegisterClass *DefRC = TII->getRegClass(MCID, 0, TRI, *MF); in reMaterializeTrivialDef() local 1310 if (!DefRC->contains(NewDstReg)) in reMaterializeTrivialDef() 1341 TRI->getCommonSubClass(DefRC, DstRC); in reMaterializeTrivialDef() 1390 if (DefRC != nullptr) { in reMaterializeTrivialDef() 1392 NewRC = TRI->getMatchingSuperRegClass(NewRC, DefRC, NewIdx); in reMaterializeTrivialDef() 1394 NewRC = TRI->getCommonSubClass(NewRC, DefRC); in reMaterializeTrivialDef()
|
/external/llvm-project/llvm/lib/Target/X86/ |
D | X86RegisterInfo.h | 73 bool shouldRewriteCopySrc(const TargetRegisterClass *DefRC,
|
D | X86RegisterInfo.cpp | 214 bool X86RegisterInfo::shouldRewriteCopySrc(const TargetRegisterClass *DefRC, in shouldRewriteCopySrc() argument 221 if (DefRC->hasSuperClassEq(&X86::GR64RegClass) && DefSubReg == 0 && in shouldRewriteCopySrc() 225 return TargetRegisterInfo::shouldRewriteCopySrc(DefRC, DefSubReg, in shouldRewriteCopySrc()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86RegisterInfo.h | 77 bool shouldRewriteCopySrc(const TargetRegisterClass *DefRC,
|
D | X86RegisterInfo.cpp | 219 bool X86RegisterInfo::shouldRewriteCopySrc(const TargetRegisterClass *DefRC, in shouldRewriteCopySrc() argument 226 if (DefRC->hasSuperClassEq(&X86::GR64RegClass) && DefSubReg == 0 && in shouldRewriteCopySrc() 230 return TargetRegisterInfo::shouldRewriteCopySrc(DefRC, DefSubReg, in shouldRewriteCopySrc()
|
/external/llvm/lib/Target/AMDGPU/ |
D | SIRegisterInfo.h | 135 bool shouldRewriteCopySrc(const TargetRegisterClass *DefRC,
|
D | SIRegisterInfo.cpp | 808 const TargetRegisterClass *DefRC, in shouldRewriteCopySrc() argument 828 return getCommonSubClass(DefRC, SrcRC) != nullptr; in shouldRewriteCopySrc()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | MipsInstructionSelector.cpp | 394 const TargetRegisterClass *DefRC = nullptr; in select() local 396 DefRC = TRI.getRegClass(DestReg); in select() 398 DefRC = getRegClassForTypeOnBank(DestReg, MRI); in select() 401 return RBI.constrainGenericRegister(DestReg, *DefRC, MRI); in select()
|
/external/llvm-project/llvm/lib/Target/Mips/ |
D | MipsInstructionSelector.cpp | 429 const TargetRegisterClass *DefRC = nullptr; in select() local 431 DefRC = TRI.getRegClass(DestReg); in select() 433 DefRC = getRegClassForTypeOnBank(DestReg, MRI); in select() 436 return RBI.constrainGenericRegister(DestReg, *DefRC, MRI); in select()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | SIRegisterInfo.h | 181 bool shouldRewriteCopySrc(const TargetRegisterClass *DefRC,
|
D | AMDGPUInstructionSelector.cpp | 182 const TargetRegisterClass *DefRC in selectPHI() local 184 if (!DefRC) { in selectPHI() 191 DefRC = TRI.getRegClassForTypeOnBank(DefTy, RB, *MRI); in selectPHI() 192 if (!DefRC) { in selectPHI() 200 return RBI.constrainGenericRegister(DefReg, *DefRC, *MRI); in selectPHI()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | SIRegisterInfo.h | 201 bool shouldRewriteCopySrc(const TargetRegisterClass *DefRC,
|
/external/llvm/include/llvm/Target/ |
D | TargetRegisterInfo.h | 517 virtual bool shouldRewriteCopySrc(const TargetRegisterClass *DefRC,
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | TargetRegisterInfo.h | 534 virtual bool shouldRewriteCopySrc(const TargetRegisterClass *DefRC,
|