| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCTLSDynamicCall.cpp | 82 Register InReg = PPC::NoRegister; in processBlock() local 86 InReg = MI.getOperand(1).getReg(); in processBlock() 152 assert(InReg != PPC::NoRegister && "Operand must be a register"); in processBlock() 153 Addi = BuildMI(MBB, I, DL, TII->get(Opc1), GPR3).addReg(InReg); in processBlock()
|
| /llvm-project-15.0.7/llvm/unittests/DebugInfo/DWARF/ |
| H A D | DWARFDebugFrameTest.cpp | 777 constexpr uint8_t InReg = 14; in TEST() local 816 Reg, dwarf::UnwindLocation::createIsRegisterPlusOffset(InReg, 0)); in TEST() 865 constexpr uint8_t InReg = 14; in TEST() local 891 Reg, dwarf::UnwindLocation::createIsRegisterPlusOffset(InReg, 0)); in TEST() 928 constexpr uint8_t InReg = 14; in TEST() local 954 Reg, dwarf::UnwindLocation::createIsRegisterPlusOffset(InReg, 0)); in TEST() 1336 constexpr uint8_t InReg = 14; in TEST() local 1344 Reg, dwarf::UnwindLocation::createIsRegisterPlusOffset(InReg, 0)); in TEST() 1484 constexpr uint8_t InReg = 14; in TEST() local 1511 Reg, dwarf::UnwindLocation::createIsRegisterPlusOffset(InReg, 0)); in TEST() [all …]
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | JMCInstrumenter.cpp | 138 DefaultCheckFunc->addParamAttr(0, Attribute::InReg); in createDefaultCheckFunction() 200 CheckFunc->addParamAttr(0, Attribute::InReg); in runOnModule() 227 CI->addParamAttr(0, Attribute::InReg); in runOnModule()
|
| /llvm-project-15.0.7/clang/include/clang/CodeGen/ |
| H A D | CGFunctionInfo.h | 116 bool InReg : 1; // isDirect() || isExtend() || isIndirect() variable 139 SRetAfterThis(false), InReg(false), CanBeFlattened(false), 380 return InReg; in getInReg() 385 InReg = IR; in setInReg()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | FastISel.h | 109 IsInReg = Call.hasRetAttr(Attribute::InReg); in setCallee() 133 IsInReg = Call.hasRetAttr(Attribute::InReg);
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AArch64/ |
| H A D | arm64-windows-calls.ll | 73 ; InReg arguments to non-instance methods must be passed in X0 and returns in 86 ; InReg arguments to instance methods must be passed in X1 and returns in X0.
|
| /llvm-project-15.0.7/llvm/lib/Target/DirectX/ |
| H A D | DXILPrepare.cpp | 42 Attribute::InReg, in isValidForDXIL()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUCallLowering.cpp | 616 const bool InReg = Arg.hasAttribute(Attribute::InReg); in lowerFormalArguments() local 619 if (!IsGraphics && InReg) in lowerFormalArguments() 627 if (CC == CallingConv::AMDGPU_PS && !InReg && PSInputNum <= 15) { in lowerFormalArguments()
|
| H A D | AMDGPUMachineCFGStructurizer.cpp | 2686 unsigned InReg = LRegion->getBBSelectRegIn(); in structurizeComplexRegion() local 2688 MRI->createVirtualRegister(MRI->getRegClass(InReg)); in structurizeComplexRegion() 2689 Register NewInReg = MRI->createVirtualRegister(MRI->getRegClass(InReg)); in structurizeComplexRegion() 2694 LRegion->replaceRegisterInsideRegion(InReg, InnerSelectReg, false, MRI); in structurizeComplexRegion()
|
| H A D | AMDGPUInstructionSelector.cpp | 2062 bool InReg = I.getOpcode() == AMDGPU::G_SEXT_INREG; in selectG_SZA_EXT() local 2063 bool Signed = I.getOpcode() == AMDGPU::G_SEXT || InReg; in selectG_SZA_EXT() 2129 const TargetRegisterClass &SrcRC = InReg && DstSize > 32 ? in selectG_SZA_EXT() 2147 if (DstSize > 32 && (SrcSize <= 32 || InReg)) { in selectG_SZA_EXT() 2151 unsigned SubReg = InReg ? AMDGPU::sub0 : 0; in selectG_SZA_EXT()
|
| H A D | AMDGPUAsmPrinter.cpp | 783 if (Arg.hasAttribute(Attribute::InReg)) { in getSIProgramInfo()
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyISelLowering.cpp | 438 Register InReg = MI.getOperand(1).getReg(); in LowerFPToInt() local 474 Tmp0 = MRI.createVirtualRegister(MRI.getRegClass(InReg)); in LowerFPToInt() 475 Tmp1 = MRI.createVirtualRegister(MRI.getRegClass(InReg)); in LowerFPToInt() 485 Tmp0 = InReg; in LowerFPToInt() 487 BuildMI(BB, DL, TII.get(Abs), Tmp0).addReg(InReg); in LowerFPToInt() 495 Tmp1 = MRI.createVirtualRegister(MRI.getRegClass(InReg)); in LowerFPToInt() 511 BuildMI(FalseMBB, DL, TII.get(LoweredOpcode), FalseReg).addReg(InReg); in LowerFPToInt()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86CallLowering.cpp | 257 Arg.hasAttribute(Attribute::InReg) || in lowerFormalArguments()
|
| H A D | X86WinEHState.cpp | 415 Call->addParamAttr(0, Attribute::InReg); in generateLSDAInEAXThunk()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | StatepointLowering.cpp | 1266 Register InReg = Record.payload.Reg; in visitGCRelocate() local 1268 DAG.getDataLayout(), InReg, Relocate.getType(), in visitGCRelocate()
|
| H A D | SelectionDAGBuilder.cpp | 1471 Register InReg = It->second; in getCopyFromRegs() local 1474 DAG.getDataLayout(), InReg, Ty, in getCopyFromRegs() 1673 unsigned InReg = FuncInfo.InitializeRegForValue(Inst); in getValueImpl() local 1675 RegsForValue RFV(*DAG.getContext(), TLI, DAG.getDataLayout(), InReg, in getValueImpl() 1977 bool RetInReg = F->getAttributes().hasRetAttr(Attribute::InReg); in visitRet() 2687 if (GuardCheckFn->hasParamAttribute(0, Attribute::AttrKind::InReg)) in visitSPDescriptorParent() 9617 Attrs.push_back(Attribute::InReg); in getReturnAttrs() 10331 if (Arg.hasAttribute(Attribute::InReg)) { in LowerArguments()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | TargetInfo.cpp | 1751 InReg = !IsMCUABI; in shouldAggregateUseDirect() 1873 bool InReg; in classifyArgumentType() local 1878 if (InReg) in classifyArgumentType() 1938 if (InReg) in classifyArgumentType() 1945 if (InReg) in classifyArgumentType() 1952 if (InReg) in classifyArgumentType() 9041 if (InReg) in classifyArgumentType() 9045 if (InReg) in classifyArgumentType() 9673 bool InReg; member 9711 InReg = true; in addFloat() [all …]
|
| H A D | CGCall.cpp | 2325 RetAttrs.addAttribute(llvm::Attribute::InReg); in ConstructAttributeList() 2373 SRETAttrs.addAttribute(llvm::Attribute::InReg); in ConstructAttributeList() 2439 llvm::AttrBuilder(getLLVMContext()).addAttribute(llvm::Attribute::InReg)); in ConstructAttributeList() 2463 Attrs.addAttribute(llvm::Attribute::InReg); in ConstructAttributeList() 2469 Attrs.addAttribute(llvm::Attribute::InReg); in ConstructAttributeList()
|
| /llvm-project-15.0.7/llvm/lib/Target/RISCV/ |
| H A D | RISCVInsertVSETVLI.cpp | 1157 Register InReg = PHI->getOperand(PHIOp).getReg(); in needVSETVLIPHI() local 1166 MachineInstr *DefMI = MRI->getVRegDef(InReg); in needVSETVLIPHI()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Attributes.td | 124 def InReg : EnumAttr<"inreg", [ParamAttr, RetAttr]>;
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | CallLowering.cpp | 42 if (AttrFn(Attribute::InReg)) in addFlagsUsingAttrFn()
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | ARMFastISel.cpp | 2355 if (CI->paramHasAttr(ArgIdx, Attribute::InReg) || in SelectCall() 3032 if (Arg.hasAttribute(Attribute::InReg) || in fastLowerArguments()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | CodeExtractor.cpp | 976 case Attribute::InReg: in constructFunction()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroSplit.cpp | 1350 Attribute::Preallocated, Attribute::InReg, Attribute::Returned, in shouldBeMustTail()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/Utils/ |
| H A D | AMDGPUBaseInfo.cpp | 2216 return F->getAttributes().hasParamAttr(A->getArgNo(), Attribute::InReg) || in isArgPassedInSGPR()
|