Home
last modified time | relevance | path

Searched refs:ZeroReg (Results 1 – 23 of 23) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86FixupSetCC.cpp105 Register ZeroReg = MRI->createVirtualRegister(RC); in runOnMachineFunction() local
110 ZeroReg); in runOnMachineFunction()
116 .addReg(ZeroReg) in runOnMachineFunction()
DX86FlagsCopyLowering.cpp1054 Register ZeroReg = MRI->createVirtualRegister(&X86::GR32RegClass); in rewriteSetCarryExtended() local
1055 BuildMI(MBB, SetPos, SetLoc, TII->get(X86::MOV32r0), ZeroReg); in rewriteSetCarryExtended()
1056 ZeroReg = AdjustReg(ZeroReg); in rewriteSetCarryExtended()
1081 .addReg(ZeroReg) in rewriteSetCarryExtended()
DX86FrameLowering.cpp589 ZeroReg = InProlog ? X86::RCX in emitStackProbeInline() local
649 BuildMI(&MBB, DL, TII.get(X86::XOR64rr), ZeroReg) in emitStackProbeInline()
650 .addReg(ZeroReg, RegState::Undef) in emitStackProbeInline()
651 .addReg(ZeroReg, RegState::Undef); in emitStackProbeInline()
658 .addReg(ZeroReg) in emitStackProbeInline()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DRelocation.txt56 Register ZeroReg, RegisterOperand GPROpnd> {
59 def : MipsPat<(MipsLo tglobaladdr:$in), (Addiu ZeroReg, tglobaladdr:$in)>;
DMipsSEInstrInfo.cpp87 unsigned Opc = 0, ZeroReg = 0; in copyPhysReg() local
95 Opc = Mips::OR, ZeroReg = Mips::ZERO; in copyPhysReg()
151 Opc = Mips::OR64, ZeroReg = Mips::ZERO_64; in copyPhysReg()
182 if (ZeroReg) in copyPhysReg()
183 MIB.addReg(ZeroReg); in copyPhysReg()
DMipsSEISelDAGToDAG.cpp85 unsigned DstReg = 0, ZeroReg = 0; in replaceUsesWithZeroReg() local
93 ZeroReg = Mips::ZERO; in replaceUsesWithZeroReg()
99 ZeroReg = Mips::ZERO_64; in replaceUsesWithZeroReg()
119 if (!MRI->getRegClass(MO.getReg())->contains(ZeroReg)) in replaceUsesWithZeroReg()
122 MO.setReg(ZeroReg); in replaceUsesWithZeroReg()
DMipsAsmPrinter.cpp144 unsigned ZeroReg = Subtarget->isGP64bit() ? Mips::ZERO_64 : Mips::ZERO; in emitPseudoIndirectBranch() local
145 TmpInst0.addOperand(MCOperand::createReg(ZeroReg)); in emitPseudoIndirectBranch()
DMipsInstrInfo.td3124 Register ZeroReg, RegisterOperand GPROpnd> {
3132 (Addiu ZeroReg, tglobaladdr:$in)>;
3134 (Addiu ZeroReg, tblockaddress:$in)>;
3136 (Addiu ZeroReg, tjumptable:$in)>;
3138 (Addiu ZeroReg, tconstpool:$in)>;
3140 (Addiu ZeroReg, tglobaltlsaddr:$in)>;
3142 (Addiu ZeroReg, texternalsym:$in)>;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64InstrInfo.cpp2480 unsigned Opcode, unsigned ZeroReg, in copyGPRRegTuple() argument
2495 MIB.addReg(ZeroReg); in copyGPRRegTuple()
3669 unsigned CombineOpc, unsigned ZeroReg = 0, in canCombine() argument
3688 if (MI->getOperand(3).getReg() != ZeroReg) in canCombine()
3698 unsigned MulOpc, unsigned ZeroReg) { in canCombineWithMUL() argument
3699 return canCombine(MBB, MO, MulOpc, ZeroReg, true); in canCombineWithMUL()
3759 auto setFound = [&](int Opcode, int Operand, unsigned ZeroReg, in getMaddPatterns()
3761 if (canCombineWithMUL(MBB, Root.getOperand(Operand), Opcode, ZeroReg)) { in getMaddPatterns()
4414 unsigned BitSize, OrrOpc, ZeroReg; in genAlternativeCodeSequence() local
4419 ZeroReg = AArch64::WZR; in genAlternativeCodeSequence()
[all …]
DAArch64ExpandPseudoInsts.cpp73 unsigned ExtendImm, unsigned ZeroReg,
176 unsigned StlrOp, unsigned CmpOp, unsigned ExtendImm, unsigned ZeroReg, in expandCMP_SWAP() argument
209 BuildMI(LoadCmpBB, DL, TII->get(CmpOp), ZeroReg) in expandCMP_SWAP()
DAArch64InstrInfo.h145 bool KillSrc, unsigned Opcode, unsigned ZeroReg,
DAArch64ISelDAGToDAG.cpp2613 unsigned ZeroReg; in tryShiftAmountMod() local
2617 ZeroReg = AArch64::WZR; in tryShiftAmountMod()
2621 ZeroReg = AArch64::XZR; in tryShiftAmountMod()
2624 CurDAG->getCopyFromReg(CurDAG->getEntryNode(), DL, ZeroReg, SubVT); in tryShiftAmountMod()
DAArch64FastISel.cpp390 unsigned ZeroReg = (VT == MVT::i64) ? AArch64::XZR : AArch64::WZR; in materializeInt() local
393 ResultReg).addReg(ZeroReg, getKillRegState(true)); in materializeInt()
4979 unsigned ZeroReg = (VT == MVT::i64) ? AArch64::XZR : AArch64::WZR; in selectSDiv() local
4982 ResultReg = emitAddSub_rs(/*UseAdd=*/false, VT, ZeroReg, /*IsKill=*/true, in selectSDiv()
DAArch64ISelLowering.cpp11344 unsigned ZeroReg; in replaceZeroVectorStore() local
11347 ZeroReg = AArch64::WZR; in replaceZeroVectorStore()
11350 ZeroReg = AArch64::XZR; in replaceZeroVectorStore()
11354 DAG.getCopyFromReg(DAG.getEntryNode(), DL, ZeroReg, ZeroVT); in replaceZeroVectorStore()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMInstructionSelector.cpp552 auto ZeroReg = MRI.createVirtualRegister(&ARM::GPRRegClass); in selectCmp() local
553 putConstant(I, ZeroReg, 0); in selectCmp()
558 ZeroReg)) in selectCmp()
564 RHSReg, ZeroReg)) in selectCmp()
DARMFastISel.cpp1489 unsigned ZeroReg = fastMaterializeConstant(Zero); in SelectCmp() local
1492 .addReg(ZeroReg).addImm(1) in SelectCmp()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DInstructionSelectorImpl.h798 int64_t ZeroReg = MatchTable[CurrentIdx++]; in executeMatchTable() local
802 OutMIs[NewInsnID].addReg(ZeroReg); in executeMatchTable()
808 << OpIdx << ", " << ZeroReg << ")\n"); in executeMatchTable()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp2693 unsigned ZeroReg = IsAddress ? ABI.GetNullPtr() : ABI.GetZeroReg(); in loadImmediate() local
2713 SrcReg = ZeroReg; in loadImmediate()
2735 TOut.emitRRI(Mips::ORi, TmpReg, ZeroReg, ImmValue, IDLoc, STI); in loadImmediate()
2759 TOut.emitRRI(Mips::ORi, TmpReg, ZeroReg, Bits31To16, IDLoc, STI); in loadImmediate()
2788 TOut.emitRRI(Mips::ORi, TmpReg, ZeroReg, Bits, IDLoc, STI); in loadImmediate()
4161 unsigned ZeroReg; in expandDivRem() local
4166 ZeroReg = Mips::ZERO_64; in expandDivRem()
4170 ZeroReg = Mips::ZERO; in expandDivRem()
4194 TOut.emitRRI(Mips::TEQ, ZeroReg, ZeroReg, 0x7, IDLoc, STI); in expandDivRem()
4201 TOut.emitRRR(Mips::OR, RdReg, ZeroReg, ZeroReg, IDLoc, STI); in expandDivRem()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCInstrInfo.cpp1374 unsigned ZeroReg; in FoldImmediate() local
1377 ZeroReg = isPPC64 ? PPC::ZERO8 : PPC::ZERO; in FoldImmediate()
1379 ZeroReg = UseInfo->RegClass == PPC::G8RC_NOX0RegClassID ? in FoldImmediate()
1384 UseMI.getOperand(UseIdx).setReg(ZeroReg); in FoldImmediate()
DPPCISelLowering.cpp10753 unsigned ZeroReg = is64bit ? PPC::ZERO8 : PPC::ZERO; in EmitPartwordAtomicBinary() local
10822 if (ptrA != ZeroReg) { in EmitPartwordAtomicBinary()
10867 .addReg(ZeroReg) in EmitPartwordAtomicBinary()
10911 .addReg(ZeroReg) in EmitPartwordAtomicBinary()
11609 Register ZeroReg = is64bit ? PPC::ZERO8 : PPC::ZERO; in EmitInstrWithCustomInserter() local
11642 if (ptrA != ZeroReg) { in EmitInstrWithCustomInserter()
11699 .addReg(ZeroReg) in EmitInstrWithCustomInserter()
11723 .addReg(ZeroReg) in EmitInstrWithCustomInserter()
11736 .addReg(ZeroReg) in EmitInstrWithCustomInserter()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp694 Register ZeroReg = MIRBuilder.buildConstant(SrcTy, 0).getReg(0); in narrowScalar() local
698 Srcs.push_back(ZeroReg); in narrowScalar()
2033 Register ZeroReg = Zero->getOperand(0).getReg(); in lower() local
2034 MIRBuilder.buildInstr(TargetOpcode::G_FSUB, {Res}, {ZeroReg, SubByReg}, in lower()
DIRTranslator.cpp2148 Register ZeroReg = getOrCreateVReg(*ZeroVal); in translate() local
2149 EntryBuilder->buildCast(Reg, ZeroReg); in translate()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIInstrInfo.cpp6122 Register ZeroReg = MRI.createVirtualRegister(RI.getBoolRC()); in convertNonUniformLoopRegion() local
6124 ZeroReg, 0); in convertNonUniformLoopRegion()
6125 HeaderPHIBuilder.addReg(ZeroReg); in convertNonUniformLoopRegion()