Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/include/llvm/Bitcode/
H A DBitcodeCommon.h28 using SwiftError = Bitfield::Element<bool, ExplicitType::NextBit, 1>; member
29 using AlignUpper = Bitfield::Element<unsigned, SwiftError::NextBit, 3>;
/freebsd/contrib/llvm-project/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.cpp98 F.getAttributes().hasAttrSomewhere(Attribute::SwiftError)) { in getCalleeSavedRegs()
144 MF.getFunction().getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in getCallPreservedMask()
H A DARMFastISel.cpp2086 F.getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in SelectRet()
2358 CI->paramHasAttr(ArgIdx, Attribute::SwiftError) || in SelectCall()
3038 Arg.hasAttribute(Attribute::SwiftError) || in fastLowerArguments()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64RegisterInfo.cpp95 Attribute::SwiftError)) in getCalleeSavedRegs()
120 Attribute::SwiftError)) in getCalleeSavedRegs()
170 Attribute::SwiftError)) in getDarwinCalleeSavedRegs()
249 MF.getFunction().getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in getDarwinCallPreservedMask()
290 MF.getFunction().getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in getCallPreservedMask()
H A DAArch64CallingConvention.td63 // A SwiftError is passed in X21.
229 // A SwiftError is passed in R12 (X19).
365 // A SwiftError is passed in X21.
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZCallingConv.td39 // A SwiftError is returned in R9.
102 // A SwiftError is passed in callee-saved R9.
150 // R9 is used to return SwiftError; remove it from CSR.
241 // A SwiftError is passed in R0.
H A DSystemZRegisterInfo.cpp207 Attribute::SwiftError)) in getCalleeSavedRegs()
231 Attribute::SwiftError)) in getCallPreservedMask()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyMachineFunctionInfo.cpp98 HasSwiftErrorArg |= Arg.hasAttribute(Attribute::SwiftError); in computeSignatureVTs()
H A DWebAssemblyFastISel.cpp651 Attrs.hasParamAttr(I, Attribute::SwiftError) || in fastLowerArguments()
835 Attrs.hasParamAttr(I, Attribute::SwiftError) || in selectCall()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp372 if (CLI->supportSwiftError() && SwiftError.getFunctionArg()) { in translateRet()
373 SwiftErrorVReg = SwiftError.getOrCreateVRegUseAt( in translateRet()
374 &RI, &MIRBuilder.getMBB(), SwiftError.getFunctionArg()); in translateRet()
1383 SwiftError.getOrCreateVRegUseAt(&LI, &MIRBuilder.getMBB(), Ptr); in translateLoad()
1431 Register VReg = SwiftError.getOrCreateVRegDefAt(&SI, &MIRBuilder.getMBB(), in translateStore()
2511 MIRBuilder.buildCopy(SwiftInVReg, SwiftError.getOrCreateVRegUseAt( in translateCallBase()
2515 SwiftError.getOrCreateVRegDefAt(&CB, &MIRBuilder.getMBB(), Arg); in translateCallBase()
3707 SwiftError.setFunction(CurMF); in runOnMachineFunction()
3708 SwiftError.createEntriesInEntryBlock(DbgLoc); in runOnMachineFunction()
3750 SwiftError.setCurrentVReg(EntryBB, SwiftError.getFunctionArg(), VRegs[0]); in runOnMachineFunction()
[all …]
H A DCallLowering.cpp60 if (AttrFn(Attribute::SwiftError)) in addFlagsUsingAttrFn()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGISel.h46 SwiftErrorValueTracking *SwiftError; variable
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DSwiftErrorValueTracking.cpp324 if (!F->getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in preassignVRegs()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h263 SwiftErrorValueTracking &SwiftError; variable
281 FuncInfo(funcinfo), SwiftError(swifterror) {} in SelectionDAGBuilder()
H A DSelectionDAGISel.cpp347 SwiftError(new SwiftErrorValueTracking()), in SelectionDAGISel()
349 SDB(std::make_unique<SelectionDAGBuilder>(*CurDAG, *FuncInfo, *SwiftError, in SelectionDAGISel()
361 delete SwiftError; in ~SelectionDAGISel()
468 SwiftError->setFunction(*MF); in runOnMachineFunction()
1544 bool Inserted = SwiftError->createEntriesInEntryBlock(SDB->getCurDebugLoc()); in SelectAllBasicBlocks()
1607 SwiftError->preassignVRegs(FuncInfo->MBB, Begin, End); in SelectAllBasicBlocks()
1773 SwiftError->propagateVRegs(); in SelectAllBasicBlocks()
H A DSelectionDAGBuilder.cpp2265 F->getAttributes().hasAttrSomewhere(Attribute::SwiftError)) { in visitRet()
2266 assert(SwiftError.getFunctionArg() && "Need a swift error argument"); in visitRet()
2274 DAG.getRegister(SwiftError.getOrCreateVRegUseAt( in visitRet()
2275 &I, FuncInfo.MBB, SwiftError.getFunctionArg()), in visitRet()
4436 SwiftError.getOrCreateVRegDefAt(&I, FuncInfo.MBB, I.getPointerOperand()); in visitStoreToSwiftError()
4472 SwiftError.getOrCreateVRegUseAt(&I, FuncInfo.MBB, SV), ValueVTs[0]); in visitLoadFromSwiftError()
8323 Caller->getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in LowerCallTo()
8414 SwiftError.getOrCreateVRegDefAt(&CB, FuncInfo.MBB, SwiftErrorVal); in LowerCallTo()
11001 if (Arg.hasAttribute(Attribute::SwiftError)) in LowerArguments()
11179 Arg.hasAttribute(Attribute::SwiftError); in LowerArguments()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86RegisterInfo.cpp394 F.getAttributes().hasAttrSomewhere(Attribute::SwiftError); in getCalleeSavedRegs()
513 F.getAttributes().hasAttrSomewhere(Attribute::SwiftError); in getCallPreservedMask()
H A DX86CallingConv.td547 // A SwiftError is passed in R12.
644 // A SwiftError is passed in R12.
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/GISel/
H A DX86CallLowering.cpp278 Arg.hasAttribute(Attribute::SwiftError) || in lowerFormalArguments()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp993 case Attribute::SwiftError: in constructFunction()
1236 call->addParamAttr(SwiftErrArgNo, Attribute::SwiftError); in emitCallAndSwitchStatement()
1237 newFunction->addParamAttr(SwiftErrArgNo, Attribute::SwiftError); in emitCallAndSwitchStatement()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DIRTranslator.h171 SwiftErrorValueTracking SwiftError; variable
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DAttributes.td292 def SwiftError : EnumAttr<"swifterror", [ParamAttr]>;
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DVerifier.cpp2098 if (ArgAttrs.hasAttribute(Attribute::SwiftError)) { in verifyFunctionAttrs()
2731 if (Attrs.hasParamAttr(i, Attribute::SwiftError)) { in visitFunction()
3436 if (Call.paramHasAttr(i, Attribute::SwiftError)) { in visitCallBase()
3652 Check(!Attrs.contains(Attribute::SwiftError), in verifyTailCCMustTailAttrs()
3676 Attribute::SwiftAsync, Attribute::SwiftError, Attribute::Preallocated, in getParameterABIAttributes()
4118 Check(Call.paramHasAttr(I.index(), Attribute::SwiftError), in verifySwiftErrorCall()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DIROutliner.cpp661 Attribute::SwiftError); in createFunction()
1526 Call->addParamAttr(*Group.SwiftErrorArgument, Attribute::SwiftError); in replaceCalledFunction()

12