Home
last modified time | relevance | path

Searched refs:SwiftError (Results 1 – 25 of 39) sorted by relevance

12

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMCallingConv.td29 // A SwiftError is passed in R8.
55 // A SwiftError is returned in R8.
174 // A SwiftError is passed in R8.
192 // A SwiftError is returned in R8.
219 // A SwiftError is passed in R8.
242 // A SwiftError is returned in R8.
H A DARMBaseRegisterInfo.cpp99 F.getAttributes().hasAttrSomewhere(Attribute::SwiftError)) { in getCalleeSavedRegs()
133 MF.getFunction().getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in getCallPreservedMask()
H A DARMFastISel.cpp2082 F.getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in SelectRet()
2353 CI->paramHasAttr(ArgIdx, Attribute::SwiftError) || in SelectCall()
3029 Arg.hasAttribute(Attribute::SwiftError) || in fastLowerArguments()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Bitcode/
H A DBitcodeCommon.h25 using SwiftError = Bitfield::Element<bool, ExplicitType::NextBit, 1>; member
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64RegisterInfo.cpp101 Attribute::SwiftError)) in getCalleeSavedRegs()
137 Attribute::SwiftError)) in getDarwinCalleeSavedRegs()
204 MF.getFunction().getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in getDarwinCallPreservedMask()
239 MF.getFunction().getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in getCallPreservedMask()
H A DAArch64CallingConvention.td69 // A SwiftError is passed in X21.
207 // A SwiftError is passed in X21.
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/
H A DSystemZCallingConv.td39 // A SwiftError is returned in R9.
102 // A SwiftError is passed in callee-saved R9.
149 // R9 is used to return SwiftError; remove it from CSR.
229 // A SwiftError is passed in R0.
H A DSystemZRegisterInfo.cpp206 Attribute::SwiftError)) in getCalleeSavedRegs()
228 Attribute::SwiftError)) in getCallPreservedMask()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp353 if (CLI->supportSwiftError() && SwiftError.getFunctionArg()) { in translateRet()
354 SwiftErrorVReg = SwiftError.getOrCreateVRegUseAt( in translateRet()
355 &RI, &MIRBuilder.getMBB(), SwiftError.getFunctionArg()); in translateRet()
1279 Register VReg = SwiftError.getOrCreateVRegUseAt(&LI, &MIRBuilder.getMBB(), in translateLoad()
1323 Register VReg = SwiftError.getOrCreateVRegDefAt(&SI, &MIRBuilder.getMBB(), in translateStore()
2237 MIRBuilder.buildCopy(SwiftInVReg, SwiftError.getOrCreateVRegUseAt( in translateCallBase()
2241 SwiftError.getOrCreateVRegDefAt(&CB, &MIRBuilder.getMBB(), Arg); in translateCallBase()
3117 SwiftError.setFunction(CurMF); in runOnMachineFunction()
3118 SwiftError.createEntriesInEntryBlock(DbgLoc); in runOnMachineFunction()
3160 SwiftError.setCurrentVReg(EntryBB, SwiftError.getFunctionArg(), VRegs[0]); in runOnMachineFunction()
[all …]
H A DCallLowering.cpp59 if (AttrFn(Attribute::SwiftError)) in addFlagsUsingAttrFn()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyMachineFunctionInfo.cpp83 HasSwiftErrorArg |= Arg.hasAttribute(Attribute::SwiftError); in computeSignatureVTs()
H A DWebAssemblyFastISel.cpp650 Attrs.hasParamAttribute(I, Attribute::SwiftError) || in fastLowerArguments()
834 Attrs.hasParamAttribute(I, Attribute::SwiftError) || in selectCall()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DSelectionDAGISel.h44 SwiftErrorValueTracking *SwiftError; variable
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h425 SwiftErrorValueTracking &SwiftError; variable
443 SwiftError(swifterror) {} in SelectionDAGBuilder()
H A DSelectionDAGISel.cpp317 SwiftError(new SwiftErrorValueTracking()), in SelectionDAGISel()
319 SDB(std::make_unique<SelectionDAGBuilder>(*CurDAG, *FuncInfo, *SwiftError, in SelectionDAGISel()
331 delete SwiftError; in ~SelectionDAGISel()
461 SwiftError->setFunction(*MF); in runOnMachineFunction()
1418 bool Inserted = SwiftError->createEntriesInEntryBlock(SDB->getCurDebugLoc()); in SelectAllBasicBlocks()
1475 SwiftError->preassignVRegs(FuncInfo->MBB, Begin, End); in SelectAllBasicBlocks()
1631 SwiftError->propagateVRegs(); in SelectAllBasicBlocks()
H A DSelectionDAGBuilder.cpp2010 F->getAttributes().hasAttrSomewhere(Attribute::SwiftError)) { in visitRet()
2011 assert(SwiftError.getFunctionArg() && "Need a swift error argument"); in visitRet()
2020 DAG.getRegister(SwiftError.getOrCreateVRegUseAt( in visitRet()
2021 &I, FuncInfo.MBB, SwiftError.getFunctionArg()), in visitRet()
4168 SwiftError.getOrCreateVRegDefAt(&I, FuncInfo.MBB, I.getPointerOperand()); in visitStoreToSwiftError()
4206 SwiftError.getOrCreateVRegUseAt(&I, FuncInfo.MBB, SV), ValueVTs[0]); in visitLoadFromSwiftError()
7426 Caller->getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in LowerCallTo()
7449 DAG.getRegister(SwiftError.getOrCreateVRegUseAt(&CB, FuncInfo.MBB, V), in LowerCallTo()
7505 SwiftError.getOrCreateVRegDefAt(&CB, FuncInfo.MBB, SwiftErrorVal); in LowerCallTo()
10070 if (Arg.hasAttribute(Attribute::SwiftError)) in LowerArguments()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DSwiftErrorValueTracking.cpp306 if (!F->getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in preassignVRegs()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86RegisterInfo.cpp389 F.getAttributes().hasAttrSomewhere(Attribute::SwiftError); in getCalleeSavedRegs()
510 F.getAttributes().hasAttrSomewhere(Attribute::SwiftError); in getCallPreservedMask()
H A DX86CallLowering.cpp261 Arg.hasAttribute(Attribute::SwiftError) || in lowerFormalArguments()
H A DX86CallingConv.td518 // A SwiftError is passed in R12.
624 // A SwiftError is passed in R12.
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp930 case Attribute::SwiftError: in constructFunction()
1201 call->addParamAttr(SwiftErrArgNo, Attribute::SwiftError); in emitCallAndSwitchStatement()
1202 newFunction->addParamAttr(SwiftErrArgNo, Attribute::SwiftError); in emitCallAndSwitchStatement()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/
H A DIRTranslator.h170 SwiftErrorValueTracking SwiftError; variable
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DIROutliner.cpp372 Attribute::SwiftError); in createFunction()
827 Attribute::SwiftError); in replaceCalledFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DVerifier.cpp1851 Assert(!Attrs.hasAttribute(Attribute::SwiftError), in verifyParameterAttrs()
1882 Assert(!Attrs.hasAttribute(Attribute::SwiftError), in verifyParameterAttrs()
1929 !RetAttrs.hasAttribute(Attribute::SwiftError)), in verifyFunctionAttrs()
1986 if (ArgAttrs.hasAttribute(Attribute::SwiftError)) { in verifyFunctionAttrs()
2508 if (Attrs.hasParamAttribute(i, Attribute::SwiftError)) { in visitFunction()
3181 if (Call.paramHasAttr(i, Attribute::SwiftError)) { in visitCallBase()
3382 Attribute::SwiftAsync, Attribute::SwiftError, Attribute::Preallocated, in getParameterABIAttributes()
3785 Assert(Call.paramHasAttr(I.index(), Attribute::SwiftError), in verifySwiftErrorCall()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DAttributes.td242 def SwiftError : EnumAttr<"swifterror">;

12