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()
3037 Arg.hasAttribute(Attribute::SwiftError) || in fastLowerArguments()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64RegisterInfo.cpp97 Attribute::SwiftError)) in getCalleeSavedRegs()
131 Attribute::SwiftError)) in getCalleeSavedRegs()
190 Attribute::SwiftError)) in getDarwinCalleeSavedRegs()
267 MF.getFunction().getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in getDarwinCallPreservedMask()
313 MF.getFunction().getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in getCallPreservedMask()
H A DAArch64CallingConvention.td68 // A SwiftError is passed in X21.
234 // A SwiftError is passed in R12 (X19).
370 // 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.cpp100 HasSwiftErrorArg |= Arg.hasAttribute(Attribute::SwiftError); in computeSignatureVTs()
H A DWebAssemblyFastISel.cpp659 Attrs.hasParamAttr(I, Attribute::SwiftError) || in fastLowerArguments()
850 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()
1380 SwiftError.getOrCreateVRegUseAt(&LI, &MIRBuilder.getMBB(), Ptr); in translateLoad()
1427 Register VReg = SwiftError.getOrCreateVRegDefAt(&SI, &MIRBuilder.getMBB(), in translateStore()
2643 MIRBuilder.buildCopy(SwiftInVReg, SwiftError.getOrCreateVRegUseAt( in translateCallBase()
2647 SwiftError.getOrCreateVRegDefAt(&CB, &MIRBuilder.getMBB(), Arg); in translateCallBase()
3904 SwiftError.setFunction(CurMF); in runOnMachineFunction()
3905 SwiftError.createEntriesInEntryBlock(DbgLoc); in runOnMachineFunction()
3947 SwiftError.setCurrentVReg(EntryBB, SwiftError.getFunctionArg(), VRegs[0]); in runOnMachineFunction()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DSwiftErrorValueTracking.cpp324 if (!F->getAttributes().hasAttrSomewhere(Attribute::SwiftError))
/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.cpp379 SwiftError(new SwiftErrorValueTracking()), in SelectionDAGISel()
381 SDB(std::make_unique<SelectionDAGBuilder>(*CurDAG, *FuncInfo, *SwiftError, in SelectionDAGISel()
393 delete SwiftError; in ~SelectionDAGISel()
591 SwiftError->setFunction(mf); in runOnMachineFunction()
1657 bool Inserted = SwiftError->createEntriesInEntryBlock(SDB->getCurDebugLoc()); in SelectAllBasicBlocks()
1719 SwiftError->preassignVRegs(FuncInfo->MBB, Begin, End); in SelectAllBasicBlocks()
1885 SwiftError->propagateVRegs(); in SelectAllBasicBlocks()
H A DSelectionDAGBuilder.cpp2306 F->getAttributes().hasAttrSomewhere(Attribute::SwiftError)) { in visitRet()
2307 assert(SwiftError.getFunctionArg() && "Need a swift error argument"); in visitRet()
2315 DAG.getRegister(SwiftError.getOrCreateVRegUseAt( in visitRet()
2316 &I, FuncInfo.MBB, SwiftError.getFunctionArg()), in visitRet()
4640 SwiftError.getOrCreateVRegDefAt(&I, FuncInfo.MBB, I.getPointerOperand()); in visitStoreToSwiftError()
4676 SwiftError.getOrCreateVRegUseAt(&I, FuncInfo.MBB, SV), ValueVTs[0]); in visitLoadFromSwiftError()
8740 Caller->getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in LowerCallTo()
8763 DAG.getRegister(SwiftError.getOrCreateVRegUseAt(&CB, FuncInfo.MBB, V), in LowerCallTo()
8847 SwiftError.getOrCreateVRegDefAt(&CB, FuncInfo.MBB, SwiftErrorVal); in LowerCallTo()
11521 if (Arg.hasAttribute(Attribute::SwiftError)) in LowerArguments()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGISel.h49 SwiftErrorValueTracking *SwiftError; variable
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86RegisterInfo.cpp396 F.getAttributes().hasAttrSomewhere(Attribute::SwiftError); in getCalleeSavedRegs()
517 F.getAttributes().hasAttrSomewhere(Attribute::SwiftError); in getCallPreservedMask()
H A DX86CallLowering.cpp
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.cpp284 Arg.hasAttribute(Attribute::SwiftError) || in lowerFormalArguments()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp995 case Attribute::SwiftError: in constructFunction()
1252 call->addParamAttr(SwiftErrArgNo, Attribute::SwiftError); in emitCallAndSwitchStatement()
1253 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.td310 def SwiftError : EnumAttr<"swifterror", [ParamAttr]>;
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DVerifier.cpp2188 if (ArgAttrs.hasAttribute(Attribute::SwiftError)) { in verifyFunctionAttrs()
2860 if (Attrs.hasParamAttr(i, Attribute::SwiftError)) { in visitFunction()
3570 if (Call.paramHasAttr(i, Attribute::SwiftError)) { in visitCallBase()
3786 Check(!Attrs.contains(Attribute::SwiftError), in verifyTailCCMustTailAttrs()
3810 Attribute::SwiftAsync, Attribute::SwiftError, Attribute::Preallocated, in getParameterABIAttributes()
4252 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()
1529 Call->addParamAttr(*Group.SwiftErrorArgument, Attribute::SwiftError); in replaceCalledFunction()

12