Home
last modified time | relevance | path

Searched refs:FalseReg (Results 1 – 25 of 47) sorted by relevance

12

/external/llvm-project/llvm/lib/Target/X86/
DX86CmovConversion.cpp715 Register FalseReg = in convertCmovInstsToBranches() local
719 auto FRIt = FalseBBRegRewriteTable.find(FalseReg); in convertCmovInstsToBranches()
722 FalseReg = FRIt->second; in convertCmovInstsToBranches()
724 FalseBBRegRewriteTable[MI.getOperand(0).getReg()] = FalseReg; in convertCmovInstsToBranches()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86CmovConversion.cpp715 Register FalseReg = in convertCmovInstsToBranches() local
719 auto FRIt = FalseBBRegRewriteTable.find(FalseReg); in convertCmovInstsToBranches()
722 FalseReg = FRIt->second; in convertCmovInstsToBranches()
724 FalseBBRegRewriteTable[MI.getOperand(0).getReg()] = FalseReg; in convertCmovInstsToBranches()
/external/llvm/lib/Target/Lanai/
DLanaiInstrInfo.cpp509 MachineOperand FalseReg = MI.getOperand(Invert ? 1 : 2); in optimizeSelect() local
511 const TargetRegisterClass *PreviousClass = MRI.getRegClass(FalseReg.getReg()); in optimizeSelect()
535 FalseReg.setImplicit(); in optimizeSelect()
536 NewMI.addOperand(FalseReg); in optimizeSelect()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiInstrInfo.cpp506 MachineOperand FalseReg = MI.getOperand(Invert ? 1 : 2); in optimizeSelect() local
508 const TargetRegisterClass *PreviousClass = MRI.getRegClass(FalseReg.getReg()); in optimizeSelect()
532 FalseReg.setImplicit(); in optimizeSelect()
533 NewMI.add(FalseReg); in optimizeSelect()
/external/llvm-project/llvm/lib/Target/Lanai/
DLanaiInstrInfo.cpp506 MachineOperand FalseReg = MI.getOperand(Invert ? 1 : 2); in optimizeSelect() local
508 const TargetRegisterClass *PreviousClass = MRI.getRegClass(FalseReg.getReg()); in optimizeSelect()
532 FalseReg.setImplicit(); in optimizeSelect()
533 NewMI.add(FalseReg); in optimizeSelect()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCInstrInfo.cpp757 unsigned TrueReg, unsigned FalseReg, in canInsertSelect() argument
770 RI.getCommonSubClass(MRI.getRegClass(TrueReg), MRI.getRegClass(FalseReg)); in canInsertSelect()
796 unsigned FalseReg) const { in insertSelect()
803 RI.getCommonSubClass(MRI.getRegClass(TrueReg), MRI.getRegClass(FalseReg)); in insertSelect()
855 unsigned FirstReg = SwapOps ? FalseReg : TrueReg, in insertSelect()
856 SecondReg = SwapOps ? TrueReg : FalseReg; in insertSelect()
2224 unsigned TrueReg, unsigned FalseReg, in selectReg() argument
2231 return Imm1 < Imm2 ? TrueReg : FalseReg; in selectReg()
2233 return Imm1 > Imm2 ? TrueReg : FalseReg; in selectReg()
2235 return Imm1 == Imm2 ? TrueReg : FalseReg; in selectReg()
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCInstrInfo.h182 unsigned FalseReg) const override;
DPPCInstrInfo.cpp687 unsigned TrueReg, unsigned FalseReg, in canInsertSelect() argument
703 RI.getCommonSubClass(MRI.getRegClass(TrueReg), MRI.getRegClass(FalseReg)); in canInsertSelect()
729 unsigned FalseReg) const { in insertSelect()
739 RI.getCommonSubClass(MRI.getRegClass(TrueReg), MRI.getRegClass(FalseReg)); in insertSelect()
791 unsigned FirstReg = SwapOps ? FalseReg : TrueReg, in insertSelect()
792 SecondReg = SwapOps ? TrueReg : FalseReg; in insertSelect()
/external/llvm/lib/Target/AArch64/
DAArch64InstrInfo.h159 unsigned FalseReg) const override;
DAArch64InstrInfo.cpp368 unsigned TrueReg, unsigned FalseReg, int &CondCycles, int &TrueCycles, in canInsertSelect() argument
373 RI.getCommonSubClass(MRI.getRegClass(TrueReg), MRI.getRegClass(FalseReg)); in canInsertSelect()
389 else if (canFoldIntoCSel(MRI, FalseReg)) in canInsertSelect()
411 unsigned TrueReg, unsigned FalseReg) const { in insertSelect()
519 TrueReg = FalseReg; in insertSelect()
521 FoldedOpc = canFoldIntoCSel(MRI, FalseReg, &NewVReg); in insertSelect()
525 FalseReg = NewVReg; in insertSelect()
534 MRI.constrainRegClass(FalseReg, RC); in insertSelect()
537 BuildMI(MBB, I, DL, get(Opc), DstReg).addReg(TrueReg).addReg(FalseReg).addImm( in insertSelect()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyFastISel.cpp728 unsigned FalseReg = getRegForValue(Select->getFalseValue()); in selectSelect() local
729 if (FalseReg == 0) in selectSelect()
733 std::swap(TrueReg, FalseReg); in selectSelect()
764 .addReg(FalseReg) in selectSelect()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZInstrInfo.cpp535 unsigned TrueReg, unsigned FalseReg, in canInsertSelect() argument
547 RI.getCommonSubClass(MRI.getRegClass(TrueReg), MRI.getRegClass(FalseReg)); in canInsertSelect()
571 unsigned FalseReg) const { in insertSelect()
591 BuildMI(MBB, I, DL, get(TargetOpcode::COPY), FReg).addReg(FalseReg); in insertSelect()
593 FalseReg = FReg; in insertSelect()
604 .addReg(FalseReg).addReg(TrueReg) in insertSelect()
DSystemZInstrInfo.h229 unsigned FalseReg) const override;
/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCInstrInfo.cpp1099 Register FalseReg, int &CondCycles, in canInsertSelect() argument
1112 RI.getCommonSubClass(MRI.getRegClass(TrueReg), MRI.getRegClass(FalseReg)); in canInsertSelect()
1138 Register FalseReg) const { in insertSelect()
1145 RI.getCommonSubClass(MRI.getRegClass(TrueReg), MRI.getRegClass(FalseReg)); in insertSelect()
1197 Register FirstReg = SwapOps ? FalseReg : TrueReg, in insertSelect()
1198 SecondReg = SwapOps ? TrueReg : FalseReg; in insertSelect()
2664 unsigned TrueReg, unsigned FalseReg, in selectReg() argument
2671 return Imm1 < Imm2 ? TrueReg : FalseReg; in selectReg()
2673 return Imm1 > Imm2 ? TrueReg : FalseReg; in selectReg()
2675 return Imm1 == Imm2 ? TrueReg : FalseReg; in selectReg()
[all …]
/external/llvm-project/llvm/lib/Target/SystemZ/
DSystemZInstrInfo.h244 Register FalseReg) const override;
DSystemZInstrInfo.cpp536 Register FalseReg, int &CondCycles, in canInsertSelect() argument
548 RI.getCommonSubClass(MRI.getRegClass(TrueReg), MRI.getRegClass(FalseReg)); in canInsertSelect()
572 Register FalseReg) const { in insertSelect()
592 BuildMI(MBB, I, DL, get(TargetOpcode::COPY), FReg).addReg(FalseReg); in insertSelect()
594 FalseReg = FReg; in insertSelect()
605 .addReg(FalseReg).addReg(TrueReg) in insertSelect()
/external/llvm/include/llvm/Target/
DTargetInstrInfo.h690 unsigned TrueReg, unsigned FalseReg, in canInsertSelect() argument
714 unsigned TrueReg, unsigned FalseReg) const { in insertSelect() argument
/external/llvm-project/llvm/lib/Target/WebAssembly/
DWebAssemblyFastISel.cpp906 unsigned FalseReg = getRegForValue(Select->getFalseValue()); in selectSelect() local
907 if (FalseReg == 0) in selectSelect()
911 std::swap(TrueReg, FalseReg); in selectSelect()
954 .addReg(FalseReg) in selectSelect()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyFastISel.cpp899 unsigned FalseReg = getRegForValue(Select->getFalseValue()); in selectSelect() local
900 if (FalseReg == 0) in selectSelect()
904 std::swap(TrueReg, FalseReg); in selectSelect()
939 .addReg(FalseReg) in selectSelect()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIInstrInfo.h297 unsigned TrueReg, unsigned FalseReg,
304 unsigned TrueReg, unsigned FalseReg) const override;
309 unsigned TrueReg, unsigned FalseReg) const;
DSIInstrInfo.cpp824 unsigned FalseReg) const { in insertVectorSelect()
839 .addReg(FalseReg) in insertVectorSelect()
854 .addReg(FalseReg) in insertVectorSelect()
868 .addReg(FalseReg) in insertVectorSelect()
882 .addReg(FalseReg) in insertVectorSelect()
898 .addReg(FalseReg) in insertVectorSelect()
914 .addReg(FalseReg) in insertVectorSelect()
932 .addReg(FalseReg) in insertVectorSelect()
2128 unsigned TrueReg, unsigned FalseReg, in canInsertSelect() argument
2136 assert(MRI.getRegClass(FalseReg) == RC); in canInsertSelect()
[all …]
/external/llvm-project/llvm/lib/Target/ARM/
DARMInstructionSelector.cpp788 auto FalseReg = MIB.getReg(3); in selectSelect() local
790 validOpRegPair(MRI, TrueReg, FalseReg, 32, ARM::GPRRegBankID) && in selectSelect()
795 .addUse(FalseReg) in selectSelect()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DSIInstrInfo.h304 Register TrueReg, Register FalseReg, int &CondCycles,
310 Register TrueReg, Register FalseReg) const override;
315 Register TrueReg, Register FalseReg) const;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64InstrInfo.h198 unsigned FalseReg) const override;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMInstructionSelector.cpp790 auto FalseReg = MIB->getOperand(3).getReg(); in selectSelect() local
792 validOpRegPair(MRI, TrueReg, FalseReg, 32, ARM::GPRRegBankID) && in selectSelect()
797 .addUse(FalseReg) in selectSelect()

12