Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Bitcode/
H A DBitcodeCommon.h25 using SwiftError = Bitfield::Element<bool, ExplicitType::NextBit, 1>; member
/freebsd-13.1/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.cpp100 F.getAttributes().hasAttrSomewhere(Attribute::SwiftError)) { in getCalleeSavedRegs()
138 MF.getFunction().getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in getCallPreservedMask()
H A DARMFastISel.cpp2083 F.getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in SelectRet()
2355 CI->paramHasAttr(ArgIdx, Attribute::SwiftError) || in SelectCall()
3032 Arg.hasAttribute(Attribute::SwiftError) || in fastLowerArguments()
/freebsd-13.1/contrib/llvm-project/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.
/freebsd-13.1/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.
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()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp357 if (CLI->supportSwiftError() && SwiftError.getFunctionArg()) { in translateRet()
358 SwiftErrorVReg = SwiftError.getOrCreateVRegUseAt( in translateRet()
359 &RI, &MIRBuilder.getMBB(), SwiftError.getFunctionArg()); in translateRet()
1283 Register VReg = SwiftError.getOrCreateVRegUseAt(&LI, &MIRBuilder.getMBB(), in translateLoad()
1327 Register VReg = SwiftError.getOrCreateVRegDefAt(&SI, &MIRBuilder.getMBB(), in translateStore()
2268 MIRBuilder.buildCopy(SwiftInVReg, SwiftError.getOrCreateVRegUseAt( in translateCallBase()
2272 SwiftError.getOrCreateVRegDefAt(&CB, &MIRBuilder.getMBB(), Arg); in translateCallBase()
3157 SwiftError.setFunction(CurMF); in runOnMachineFunction()
3158 SwiftError.createEntriesInEntryBlock(DbgLoc); in runOnMachineFunction()
3200 SwiftError.setCurrentVReg(EntryBB, SwiftError.getFunctionArg(), VRegs[0]); in runOnMachineFunction()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGISel.h44 SwiftErrorValueTracking *SwiftError; variable
/freebsd-13.1/contrib/llvm-project/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()
1427 bool Inserted = SwiftError->createEntriesInEntryBlock(SDB->getCurDebugLoc()); in SelectAllBasicBlocks()
1484 SwiftError->preassignVRegs(FuncInfo->MBB, Begin, End); in SelectAllBasicBlocks()
1640 SwiftError->propagateVRegs(); in SelectAllBasicBlocks()
H A DSelectionDAGBuilder.cpp2011 F->getAttributes().hasAttrSomewhere(Attribute::SwiftError)) { in visitRet()
2012 assert(SwiftError.getFunctionArg() && "Need a swift error argument"); in visitRet()
2021 DAG.getRegister(SwiftError.getOrCreateVRegUseAt( in visitRet()
2022 &I, FuncInfo.MBB, SwiftError.getFunctionArg()), in visitRet()
4169 SwiftError.getOrCreateVRegDefAt(&I, FuncInfo.MBB, I.getPointerOperand()); in visitStoreToSwiftError()
4207 SwiftError.getOrCreateVRegUseAt(&I, FuncInfo.MBB, SV), ValueVTs[0]); in visitLoadFromSwiftError()
7483 Caller->getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in LowerCallTo()
7562 SwiftError.getOrCreateVRegDefAt(&CB, FuncInfo.MBB, SwiftErrorVal); in LowerCallTo()
10125 if (Arg.hasAttribute(Attribute::SwiftError)) in LowerArguments()
10296 Arg.hasAttribute(Attribute::SwiftError); in LowerArguments()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DSwiftErrorValueTracking.cpp306 if (!F->getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in preassignVRegs()
/freebsd-13.1/contrib/llvm-project/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.cpp260 Arg.hasAttribute(Attribute::SwiftError) || in lowerFormalArguments()
H A DX86CallingConv.td518 // A SwiftError is passed in R12.
624 // A SwiftError is passed in R12.
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp931 case Attribute::SwiftError: in constructFunction()
1203 call->addParamAttr(SwiftErrArgNo, Attribute::SwiftError); in emitCallAndSwitchStatement()
1204 newFunction->addParamAttr(SwiftErrArgNo, Attribute::SwiftError); in emitCallAndSwitchStatement()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DIRTranslator.h170 SwiftErrorValueTracking SwiftError; variable
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DIROutliner.cpp388 Attribute::SwiftError); in createFunction()
907 Attribute::SwiftError); in replaceCalledFunction()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DAttributes.td264 def SwiftError : EnumAttr<"swifterror", [ParamAttr]>;
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DVerifier.cpp1793 Assert(!Attrs.hasAttribute(Attribute::SwiftError), in verifyParameterAttrs()
1919 if (ArgAttrs.hasAttribute(Attribute::SwiftError)) { in verifyFunctionAttrs()
2419 if (Attrs.hasParamAttribute(i, Attribute::SwiftError)) { in visitFunction()
3105 if (Call.paramHasAttr(i, Attribute::SwiftError)) { in visitCallBase()
3298 Assert(!Attrs.contains(Attribute::SwiftError), in verifyTailCCMustTailAttrs()
3322 Attribute::SwiftAsync, Attribute::SwiftError, Attribute::Preallocated, in getParameterABIAttributes()
3751 Assert(Call.paramHasAttr(I.index(), Attribute::SwiftError), in verifySwiftErrorCall()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1249 case Attribute::SwiftError: return 1ULL << 52; in getRawAttributeMask()
1500 return Attribute::SwiftError; in getAttrFromCode()
4890 const bool SwiftError = Bitfield::get<APV::SwiftError>(Rec); in parseFunctionBody() local
4920 AI->setSwiftError(SwiftError); in parseFunctionBody()

12