Home
last modified time | relevance | path

Searched refs:getLocReg (Results 1 – 25 of 29) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DCallingConvLower.cpp73 for (MCRegAliasIterator AI(ValAssign.getLocReg(), &TRI, true); in IsShadowAllocatedReg()
228 Regs.push_back(MCPhysReg(Locs[I].getLocReg())); in getRemainingRegParmsForType()
285 if (Loc1.getLocReg() != Loc2.getLocReg()) in resultsCompatible()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DCallLowering.cpp318 Handler.assignValueToReg(Args[i].Regs[Part], VA.getLocReg(), VA); in handleAssignments()
329 Handler.assignValueToReg(NewReg, VA.getLocReg(), VA); in handleAssignments()
353 Handler.assignValueToReg(Args[i].Regs[Part], VA.getLocReg(), VA); in handleAssignments()
357 Handler.assignValueToReg(ArgReg, VA.getLocReg(), VA); in handleAssignments()
443 if (Loc1.getLocReg() != Loc2.getLocReg()) in resultsCompatible()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMCallLowering.cpp118 assert(VA.getLocReg() == PhysReg && "Assigning to the wrong reg?"); in assignValueToReg()
166 assignValueToReg(NewRegs[0], VA.getLocReg(), VA); in assignCustomValue()
167 assignValueToReg(NewRegs[1], NextVA.getLocReg(), NextVA); in assignCustomValue()
340 assert(VA.getLocReg() == PhysReg && "Assigning to the wrong reg?"); in assignValueToReg()
385 assignValueToReg(NewRegs[0], VA.getLocReg(), VA); in assignCustomValue()
386 assignValueToReg(NewRegs[1], NextVA.getLocReg(), NextVA); in assignCustomValue()
DARMFastISel.cpp1994 TII.get(TargetOpcode::COPY), VA.getLocReg()).addReg(Arg); in ProcessCallArgs()
1995 RegArgs.push_back(VA.getLocReg()); in ProcessCallArgs()
2008 TII.get(ARM::VMOVRRD), VA.getLocReg()) in ProcessCallArgs()
2009 .addReg(NextVA.getLocReg(), RegState::Define) in ProcessCallArgs()
2011 RegArgs.push_back(VA.getLocReg()); in ProcessCallArgs()
2012 RegArgs.push_back(NextVA.getLocReg()); in ProcessCallArgs()
2058 .addReg(RVLocs[0].getLocReg()) in FinishCall()
2059 .addReg(RVLocs[1].getLocReg())); in FinishCall()
2061 UsedRegs.push_back(RVLocs[0].getLocReg()); in FinishCall()
2062 UsedRegs.push_back(RVLocs[1].getLocReg()); in FinishCall()
[all …]
DARMISelLowering.cpp1987 SDValue Lo = DAG.getCopyFromReg(Chain, dl, VA.getLocReg(), MVT::i32, in LowerCallResult()
1992 SDValue Hi = DAG.getCopyFromReg(Chain, dl, VA.getLocReg(), MVT::i32, in LowerCallResult()
2006 Lo = DAG.getCopyFromReg(Chain, dl, VA.getLocReg(), MVT::i32, InFlag); in LowerCallResult()
2010 Hi = DAG.getCopyFromReg(Chain, dl, VA.getLocReg(), MVT::i32, InFlag); in LowerCallResult()
2020 Val = DAG.getCopyFromReg(Chain, dl, VA.getLocReg(), VA.getLocVT(), in LowerCallResult()
2065 RegsToPass.push_back(std::make_pair(VA.getLocReg(), fmrrd.getValue(id))); in PassF64ArgInRegs()
2068 RegsToPass.push_back(std::make_pair(NextVA.getLocReg(), fmrrd.getValue(1-id))); in PassF64ArgInRegs()
2226 CSInfo.emplace_back(VA.getLocReg(), i); in LowerCall()
2227 RegsToPass.push_back(std::make_pair(VA.getLocReg(), Arg)); in LowerCall()
2830 Chain = DAG.getCopyToReg(Chain, dl, VA.getLocReg(), in LowerReturn()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp251 Chain = DAG.getCopyToReg(Chain, DL, VA.getLocReg(), Part0, Flag); in LowerReturn_32()
253 RetOps.push_back(DAG.getRegister(VA.getLocReg(), VA.getLocVT())); in LowerReturn_32()
255 Chain = DAG.getCopyToReg(Chain, DL, VA.getLocReg(), Part1, in LowerReturn_32()
258 Chain = DAG.getCopyToReg(Chain, DL, VA.getLocReg(), Arg, Flag); in LowerReturn_32()
262 RetOps.push_back(DAG.getRegister(VA.getLocReg(), VA.getLocVT())); in LowerReturn_32()
345 if (i+1 < RVLocs.size() && RVLocs[i+1].getLocReg() == VA.getLocReg()) { in LowerReturn_64()
353 Chain = DAG.getCopyToReg(Chain, DL, VA.getLocReg(), OutVal, Flag); in LowerReturn_64()
357 RetOps.push_back(DAG.getRegister(VA.getLocReg(), VA.getLocVT())); in LowerReturn_64()
421 MF.getRegInfo().addLiveIn(VA.getLocReg(), VRegHi); in LowerFormalArguments_32()
434 unsigned loReg = MF.addLiveIn(NextVA.getLocReg(), in LowerFormalArguments_32()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBPFISelLowering.cpp241 RegInfo.addLiveIn(VA.getLocReg(), VReg); in LowerFormalArguments()
349 RegsToPass.push_back(std::make_pair(VA.getLocReg(), Arg)); in LowerCall()
437 Chain = DAG.getCopyToReg(Chain, DL, VA.getLocReg(), OutVals[i], Flag); in LowerReturn()
442 RetOps.push_back(DAG.getRegister(VA.getLocReg(), VA.getLocVT())); in LowerReturn()
475 Chain = DAG.getCopyFromReg(Chain, DL, Val.getLocReg(), in LowerCallResult()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/
DARCISelLowering.cpp286 RegsToPass.push_back(std::make_pair(VA.getLocReg(), Arg)); in LowerCall()
381 DAG.getCopyFromReg(Chain, dl, VA.getLocReg(), VA.getValVT(), Glue); in lowerCallResult()
494 RegInfo.addLiveIn(VA.getLocReg(), VReg); in LowerCallArguments()
664 Chain = DAG.getCopyToReg(Chain, dl, VA.getLocReg(), OutVals[i], Flag); in LowerReturn()
669 RetOps.push_back(DAG.getRegister(VA.getLocReg(), VA.getLocVT())); in LowerReturn()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVISelLowering.cpp1723 RegInfo.addLiveIn(VA.getLocReg(), VReg); in unpackFromRegLoc()
1801 RegInfo.addLiveIn(VA.getLocReg(), LoVReg); in unpackF64OnRV32DSoftABI()
1804 if (VA.getLocReg() == RISCV::X17) { in unpackF64OnRV32DSoftABI()
1813 RegInfo.addLiveIn(VA.getLocReg() + 1, HiVReg); in unpackF64OnRV32DSoftABI()
2178 Register RegLo = VA.getLocReg(); in LowerCall()
2235 RegsToPass.push_back(std::make_pair(VA.getLocReg(), ArgValue)); in LowerCall()
2346 DAG.getCopyFromReg(Chain, DL, VA.getLocReg(), VA.getLocVT(), Glue); in LowerCall()
2352 assert(VA.getLocReg() == ArgGPRs[0] && "Unexpected reg assignment"); in LowerCall()
2420 Register RegLo = VA.getLocReg(); in LowerReturn()
2439 Chain = DAG.getCopyToReg(Chain, DL, VA.getLocReg(), Val, Glue); in LowerReturn()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsCallLowering.cpp141 Register PhysReg = VA.getLocReg(); in assignValueToReg()
253 Register PhysReg = VA.getLocReg(); in assignValueToReg()
409 VA.getLocReg(), VA.getLocVT(), LocInfo); in setLocInfo()
DMipsFastISel.cpp1234 TII.get(TargetOpcode::COPY), VA.getLocReg()).addReg(ArgReg); in processCallArgs()
1235 CLI.OutRegs.push_back(VA.getLocReg()); in processCallArgs()
1305 ResultReg).addReg(RVLocs[0].getLocReg()); in finishCall()
1306 CLI.InRegs.push_back(RVLocs[0].getLocReg()); in finishCall()
1731 Register DestReg = VA.getLocReg(); in selectRet()
1772 RetRegs.push_back(VA.getLocReg()); in selectRet()
DMipsISelLowering.cpp3295 Register LocRegLo = VA.getLocReg(); in LowerCall()
3337 RegsToPass.push_back(std::make_pair(VA.getLocReg(), Arg)); in LowerCall()
3484 SDValue Val = DAG.getCopyFromReg(Chain, DL, RVLocs[i].getLocReg(), in LowerCallResult()
3651 Register ArgReg = VA.getLocReg(); in LowerFormalArguments()
3838 Chain = DAG.getCopyToReg(Chain, DL, VA.getLocReg(), Val, Flag); in LowerReturn()
3842 RetOps.push_back(DAG.getRegister(VA.getLocReg(), VA.getLocVT())); in LowerReturn()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiISelLowering.cpp464 RegInfo.addLiveIn(VA.getLocReg(), VReg); in LowerCCCArguments()
557 Chain = DAG.getCopyToReg(Chain, DL, VA.getLocReg(), OutVals[i], Flag); in LowerReturn()
561 RetOps.push_back(DAG.getRegister(VA.getLocReg(), VA.getLocVT())); in LowerReturn()
686 RegsToPass.push_back(std::make_pair(VA.getLocReg(), Arg)); in LowerCCCCallTo()
787 Chain = DAG.getCopyFromReg(Chain, DL, RVLocs[I].getLocReg(), in LowerCallResult()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/
DMSP430ISelLowering.cpp655 RegInfo.addLiveIn(VA.getLocReg(), VReg); in LowerCCCArguments()
765 Chain = DAG.getCopyToReg(Chain, dl, VA.getLocReg(), in LowerReturn()
771 RetOps.push_back(DAG.getRegister(VA.getLocReg(), VA.getLocVT())); in LowerReturn()
850 RegsToPass.push_back(std::make_pair(VA.getLocReg(), Arg)); in LowerCCCCallTo()
950 Chain = DAG.getCopyFromReg(Chain, dl, RVLocs[i].getLocReg(), in LowerCallResult()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/
DAVRISelLowering.cpp1080 unsigned Reg = MF.addLiveIn(VA.getLocReg(), RC); in LowerFormalArguments()
1231 RegsToPass.push_back(std::make_pair(VA.getLocReg(), Arg)); in LowerCall()
1333 Chain = DAG.getCopyFromReg(Chain, dl, RVLoc.getLocReg(), RVLoc.getValVT(), in LowerCallResult()
1404 Chain = DAG.getCopyToReg(Chain, dl, VA.getLocReg(), OutVals[i], Flag); in LowerReturn()
1408 RetOps.push_back(DAG.getRegister(VA.getLocReg(), VA.getLocVT())); in LowerReturn()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DCallingConvLower.h150 Register getLocReg() const { assert(isRegLoc()); return Loc; } in getLocReg() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86FastISel.cpp1218 if (VA.getLocReg() == X86::FP0 || VA.getLocReg() == X86::FP1) in X86SelectRet()
1247 Register DstReg = VA.getLocReg(); in X86SelectRet()
1256 RetRegs.push_back(VA.getLocReg()); in X86SelectRet()
3406 TII.get(TargetOpcode::COPY), VA.getLocReg()).addReg(ArgReg); in fastLowerCall()
3407 OutRegs.push_back(VA.getLocReg()); in fastLowerCall()
3557 Register SrcReg = VA.getLocReg(); in fastLowerCall()
3576 InRegs.push_back(VA.getLocReg()); in fastLowerCall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp1070 Chain = DAG.getCopyFromReg(Chain, dl, VA.getLocReg(), VA.getValVT(), in LowerCallResult()
1164 RegsToPass.push_back(std::make_pair(VA.getLocReg(), Arg)); in LowerCCCCallTo()
1314 RegInfo.addLiveIn(VA.getLocReg(), VReg); in LowerCCCArguments()
1502 Chain = DAG.getCopyToReg(Chain, dl, VA.getLocReg(), OutVals[i], Flag); in LowerReturn()
1507 RetOps.push_back(DAG.getRegister(VA.getLocReg(), VA.getLocVT())); in LowerReturn()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp218 Chain = DAG.getCopyToReg(Chain, dl, VA.getLocReg(), OutVals[i], Flag); in LowerReturn()
222 RetOps.push_back(DAG.getRegister(VA.getLocReg(), VA.getLocVT())); in LowerReturn()
344 SDValue FR0 = DAG.getCopyFromReg(Chain, dl, RVLocs[i].getLocReg(), in LowerCallResult()
358 RetVal = DAG.getCopyFromReg(Chain, dl, RVLocs[i].getLocReg(), in LowerCallResult()
488 RegsToPass.push_back(std::make_pair(VA.getLocReg(), Arg)); in LowerCall()
813 MRI.addLiveIn(VA.getLocReg(), VReg); in LowerFormalArguments()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCFastISel.cpp1517 unsigned SourcePhysReg = VA.getLocReg(); in finishCall()
1720 Register RetReg = VA.getLocReg(); in SelectRet()
1744 RetRegs.push_back(VA.getLocReg()); in SelectRet()
DPPCISelLowering.cpp3585 unsigned RegLo = MF.addLiveIn(VA.getLocReg(), RC); in LowerFormalArguments_32SVR4()
3586 unsigned RegHi = MF.addLiveIn(ArgLocs[++i].getLocReg(), RC); in LowerFormalArguments_32SVR4()
3594 unsigned Reg = MF.addLiveIn(VA.getLocReg(), RC); in LowerFormalArguments_32SVR4()
5018 SDValue Lo = DAG.getCopyFromReg(Chain, dl, VA.getLocReg(), MVT::i32, in LowerCallResult()
5023 SDValue Hi = DAG.getCopyFromReg(Chain, dl, VA.getLocReg(), MVT::i32, in LowerCallResult()
5032 VA.getLocReg(), VA.getLocVT(), InFlag); in LowerCallResult()
5740 RegsToPass.push_back(std::make_pair(VA.getLocReg(), SVal.getValue(0))); in LowerCall_32SVR4()
5743 RegsToPass.push_back(std::make_pair(ArgLocs[++i].getLocReg(), in LowerCall_32SVR4()
5746 RegsToPass.push_back(std::make_pair(VA.getLocReg(), Arg)); in LowerCall_32SVR4()
7032 MF.addLiveIn(VA.getLocReg(), getRegClassForSVT(SVT, IsPPC64)); in LowerFormalArguments_AIX()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64FastISel.cpp3116 TII.get(TargetOpcode::COPY), VA.getLocReg()).addReg(ArgReg); in processCallArgs()
3117 CLI.OutRegs.push_back(VA.getLocReg()); in processCallArgs()
3181 .addReg(RVLocs[0].getLocReg()); in finishCall()
3182 CLI.InRegs.push_back(RVLocs[0].getLocReg()); in finishCall()
3894 Register DestReg = VA.getLocReg(); in selectRet()
3937 RetRegs.push_back(VA.getLocReg()); in selectRet()
DAArch64CallLowering.cpp618 Register Reg = ArgLoc.getLocReg(); in areCalleeOutgoingArgsTailCallable()
DAArch64ISelLowering.cpp3424 unsigned Reg = MF.addLiveIn(VA.getLocReg(), RC); in LowerFormalArguments()
3703 SDValue Val = CopiedRegs.lookup(VA.getLocReg()); in LowerCallResult()
3706 DAG.getCopyFromReg(Chain, DL, VA.getLocReg(), VA.getLocVT(), InFlag); in LowerCallResult()
3709 CopiedRegs[VA.getLocReg()] = Val; in LowerCallResult()
4111 if (RegsUsed.count(VA.getLocReg())) { in LowerCall()
4119 return Elt.first == VA.getLocReg(); in LowerCall()
4128 return ArgReg.Reg == VA.getLocReg(); in LowerCall()
4132 RegsToPass.emplace_back(VA.getLocReg(), Arg); in LowerCall()
4133 RegsUsed.insert(VA.getLocReg()); in LowerCall()
4136 CSInfo.emplace_back(VA.getLocReg(), i); in LowerCall()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp1386 MRI.addLiveIn(VA.getLocReg(), VReg); in LowerFormalArguments()
1480 Register Reg = VA.getLocReg(); in canUseSiblingCall()
1563 RegsToPass.push_back(std::make_pair(VA.getLocReg(), ArgValue)); in LowerCall()
1655 SDValue RetValue = DAG.getCopyFromReg(Chain, DL, VA.getLocReg(), in LowerCall()
1727 Register Reg = VA.getLocReg(); in LowerReturn()

12