| /freebsd/contrib/llvm-project/llvm/include/llvm/Bitcode/ |
| H A D | BitcodeCommon.h | 28 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 D | ARMCallingConv.td | 29 // 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 D | ARMBaseRegisterInfo.cpp | 120 F.getAttributes().hasAttrSomewhere(Attribute::SwiftError)) { in getCalleeSavedRegs() 170 MF.getFunction().getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in getCallPreservedMask()
|
| H A D | ARMFastISel.cpp | 2148 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 D | SystemZCallingConv.td | 39 // 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 D | SystemZRegisterInfo.cpp | 206 Attribute::SwiftError)) in getCalleeSavedRegs() 230 Attribute::SwiftError)) in getCallPreservedMask()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64RegisterInfo.cpp | 98 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 D | AArch64CallingConvention.td | 74 // 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 D | WebAssemblyMachineFunctionInfo.cpp | 99 HasSwiftErrorArg |= Arg.hasAttribute(Attribute::SwiftError); in computeSignatureVTs()
|
| H A D | WebAssemblyFastISel.cpp | 665 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 D | IRTranslator.cpp | 386 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 D | SwiftErrorValueTracking.cpp | 324 if (!F->getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in preassignVRegs()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.h | 262 SwiftErrorValueTracking &SwiftError; variable 280 FuncInfo(funcinfo), SwiftError(swifterror) {} in SelectionDAGBuilder()
|
| H A D | SelectionDAGISel.cpp | 377 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 D | SelectionDAGBuilder.cpp | 2272 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 D | SelectionDAGISel.h | 50 std::unique_ptr<SwiftErrorValueTracking> SwiftError; variable
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86CallLowering.cpp | |
| H A D | X86RegisterInfo.cpp | 395 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 D | X86CallLowering.cpp | 283 Arg.hasAttribute(Attribute::SwiftError) || in lowerFormalArguments()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | CodeExtractor.cpp | 1006 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 D | IRTranslator.h | 166 SwiftErrorValueTracking SwiftError; variable
|
| /freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/ |
| H A D | IRMutator.cpp | 422 Attribute::SwiftAsync, Attribute::SwiftError, in isUnsupportedFunction()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Attributes.td | 356 def SwiftError : EnumAttr<"swifterror", IntersectPreserve, [ParamAttr]>;
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Function.cpp | 150 return getParent()->hasParamAttribute(getArgNo(), Attribute::SwiftError); in hasSwiftErrorAttr()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | IROutliner.cpp | 662 Attribute::SwiftError); in createFunction() 1515 Call->addParamAttr(*Group.SwiftErrorArgument, Attribute::SwiftError); in replaceCalledFunction()
|