Home
last modified time | relevance | path

Searched refs:SwiftError (Results 1 – 25 of 39) 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.
175 // A SwiftError is passed in R8.
193 // A SwiftError is returned in R8.
220 // A SwiftError is passed in R8.
243 // A SwiftError is returned in R8.
H A DARMBaseRegisterInfo.cpp120 F.getAttributes().hasAttrSomewhere(Attribute::SwiftError)) { in getCalleeSavedRegs()
170 MF.getFunction().getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in getCallPreservedMask()
H A DARMFastISel.cpp2148 F.getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in SelectRet()
2424 CI->paramHasAttr(ArgIdx, Attribute::SwiftError) || in SelectCall()
3107 Arg.hasAttribute(Attribute::SwiftError) || in fastLowerArguments()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZCallingConv.td39 // A SwiftError is returned in R9.
103 // A SwiftError is passed in callee-saved R9.
152 // R9 is used to return SwiftError; remove it from CSR.
245 // A SwiftError is passed in R0.
H A DSystemZRegisterInfo.cpp206 Attribute::SwiftError)) in getCalleeSavedRegs()
230 Attribute::SwiftError)) in getCallPreservedMask()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64RegisterInfo.cpp98 Attribute::SwiftError)) in getCalleeSavedRegs()
139 Attribute::SwiftError)) in getCalleeSavedRegs()
198 Attribute::SwiftError)) in getDarwinCalleeSavedRegs()
276 MF.getFunction().getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in getDarwinCallPreservedMask()
322 MF.getFunction().getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in getCallPreservedMask()
H A DAArch64CallingConvention.td74 // A SwiftError is passed in X21.
236 // A SwiftError is passed in R12 (X19).
374 // A SwiftError is passed in X21.
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyMachineFunctionInfo.cpp99 HasSwiftErrorArg |= Arg.hasAttribute(Attribute::SwiftError); in computeSignatureVTs()
H A DWebAssemblyFastISel.cpp665 Attrs.hasParamAttr(I, Attribute::SwiftError) || in fastLowerArguments()
856 Attrs.hasParamAttr(I, Attribute::SwiftError) || in selectCall()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp386 if (CLI->supportSwiftError() && SwiftError.getFunctionArg()) { in translateRet()
387 SwiftErrorVReg = SwiftError.getOrCreateVRegUseAt( in translateRet()
388 &RI, &MIRBuilder.getMBB(), SwiftError.getFunctionArg()); in translateRet()
1394 SwiftError.getOrCreateVRegUseAt(&LI, &MIRBuilder.getMBB(), Ptr); in translateLoad()
1441 Register VReg = SwiftError.getOrCreateVRegDefAt(&SI, &MIRBuilder.getMBB(), in translateStore()
2693 MIRBuilder.buildCopy(SwiftInVReg, SwiftError.getOrCreateVRegUseAt( in translateCallBase()
2697 SwiftError.getOrCreateVRegDefAt(&CB, &MIRBuilder.getMBB(), Arg); in translateCallBase()
4055 SwiftError.setFunction(CurMF); in runOnMachineFunction()
4056 SwiftError.createEntriesInEntryBlock(DbgLoc); in runOnMachineFunction()
4100 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)) in preassignVRegs()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h262 SwiftErrorValueTracking &SwiftError; variable
280 FuncInfo(funcinfo), SwiftError(swifterror) {} in SelectionDAGBuilder()
H A DSelectionDAGISel.cpp377 SwiftError(new SwiftErrorValueTracking()), in SelectionDAGISel()
379 SDB(std::make_unique<SelectionDAGBuilder>(*CurDAG, *FuncInfo, *SwiftError, in SelectionDAGISel()
564 SwiftError->setFunction(mf); in runOnMachineFunction()
1670 bool Inserted = SwiftError->createEntriesInEntryBlock(SDB->getCurDebugLoc()); in SelectAllBasicBlocks()
1742 SwiftError->preassignVRegs(FuncInfo->MBB, Begin, End); in SelectAllBasicBlocks()
1908 SwiftError->propagateVRegs(); in SelectAllBasicBlocks()
H A DSelectionDAGBuilder.cpp2272 F->getAttributes().hasAttrSomewhere(Attribute::SwiftError)) { in visitRet()
2273 assert(SwiftError.getFunctionArg() && "Need a swift error argument"); in visitRet()
2281 DAG.getRegister(SwiftError.getOrCreateVRegUseAt( in visitRet()
2282 &I, FuncInfo.MBB, SwiftError.getFunctionArg()), in visitRet()
4714 SwiftError.getOrCreateVRegDefAt(&I, FuncInfo.MBB, I.getPointerOperand()); in visitStoreToSwiftError()
4750 SwiftError.getOrCreateVRegUseAt(&I, FuncInfo.MBB, SV), ValueVTs[0]); in visitLoadFromSwiftError()
8893 Caller->getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in LowerCallTo()
8916 DAG.getRegister(SwiftError.getOrCreateVRegUseAt(&CB, FuncInfo.MBB, V), in LowerCallTo()
9000 SwiftError.getOrCreateVRegDefAt(&CB, FuncInfo.MBB, SwiftErrorVal); in LowerCallTo()
11669 if (Arg.hasAttribute(Attribute::SwiftError)) in LowerArguments()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGISel.h50 std::unique_ptr<SwiftErrorValueTracking> SwiftError; variable
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86CallLowering.cpp
H A DX86RegisterInfo.cpp395 F.getAttributes().hasAttrSomewhere(Attribute::SwiftError); in getCalleeSavedRegs()
521 F.getAttributes().hasAttrSomewhere(Attribute::SwiftError); in getCallPreservedMask()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/GISel/
H A DX86CallLowering.cpp283 Arg.hasAttribute(Attribute::SwiftError) || in lowerFormalArguments()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp1006 case Attribute::SwiftError: in constructFunctionDeclaration()
1043 Attribute::SwiftError); in constructFunctionDeclaration()
1913 call->addParamAttr(ParamIdx, Attribute::SwiftError); in emitReplacerCall()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DIRTranslator.h166 SwiftErrorValueTracking SwiftError; variable
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DIRMutator.cpp422 Attribute::SwiftAsync, Attribute::SwiftError, in isUnsupportedFunction()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DAttributes.td356 def SwiftError : EnumAttr<"swifterror", IntersectPreserve, [ParamAttr]>;
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DFunction.cpp150 return getParent()->hasParamAttribute(getArgNo(), Attribute::SwiftError); in hasSwiftErrorAttr()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DIROutliner.cpp662 Attribute::SwiftError); in createFunction()
1515 Call->addParamAttr(*Group.SwiftErrorArgument, Attribute::SwiftError); in replaceCalledFunction()

12