52 for (
const auto &Alias : M.aliases()) {
56 {},
"Alias without a base object is not yet supported on z/OS.");
60 if (Alias.hasWeakLinkage() || Alias.hasLinkOnceLinkage())
62 "Weak alias/reference not supported on z/OS");
64 GOAliasMap[Aliasee].push_back(&Alias);
67 "Only aliases to functions is supported in GOFF.");
77void SystemZXPLINKAsmPrinter::emitCallInformation(CallType CT) {
85SystemZXPLINKAsmPrinter::AssociatedDataAreaTable::insert(
const MCSymbol *Sym,
87 auto Key = std::make_pair(Sym, SlotKind);
88 auto It = Displacements.
find(
Key);
90 if (It != Displacements.
end())
104 uint32_t Displacement = NextDisplacement;
105 Displacements[std::make_pair(Sym, SlotKind)] = NextDisplacement;
106 NextDisplacement +=
Length;
111uint32_t SystemZXPLINKAsmPrinter::AssociatedDataAreaTable::insert(
112 const MachineOperand MO) {
117 assert(Sym &&
"No symbol");
121 assert(Sym &&
"No symbol");
126 return insert(Sym, ADAslotType);
133 switch (
MI->getOpcode()) {
134 case SystemZ::CallBRASL_XPLINK64:
136 .addReg(SystemZ::R7D)
137 .addExpr(
Lower.getExpr(
MI->getOperand(0),
139 emitCallInformation(CallType::BRASL7);
142 case SystemZ::CallBASR_XPLINK64:
144 .addReg(SystemZ::R7D)
145 .addReg(
MI->getOperand(0).getReg()));
146 emitCallInformation(CallType::BASR76);
149 case SystemZ::Return_XPLINK:
154 case SystemZ::CondReturn_XPLINK:
163 case SystemZ::CallBASR_STACKEXT:
165 .addReg(SystemZ::R3D)
166 .addReg(
MI->getOperand(0).getReg()));
167 emitCallInformation(CallType::BASR33);
170 case SystemZ::ADA_ENTRY_VALUE:
171 case SystemZ::ADA_ENTRY: {
174 uint32_t Disp = ADATable.insert(
MI->getOperand(1));
175 Register TargetReg =
MI->getOperand(0).getReg();
178 Disp +=
MI->getOperand(3).getImm();
179 bool LoadAddr =
MI->getOpcode() == SystemZ::ADA_ENTRY;
181 unsigned Op0 = LoadAddr ? SystemZ::LA : SystemZ::LG;
182 unsigned Op =
TII->getOpcodeForOffset(Op0, Disp);
186 if (TargetReg != ADAReg) {
187 IndexReg = TargetReg;
191 MCInstBuilder(SystemZ::LLILF).addReg(TargetReg).addImm(Disp));
202 MCInstBuilder(
Op).addReg(TargetReg).addReg(ADAReg).addImm(Disp).addReg(
217 assert(
TM.getTargetTriple().isOSBinFormatGOFF() &&
"Only GOFF supported");
221 if (Structors.
empty())
229 static_cast<MCSectionGOFF *
>(Obj.getStaticXtorSection(S.Priority));
239 uint32_t XtorPriority = Section->getPRAttributes().SortKey;
242 assert(GV &&
"C++ xxtor pointer was not a GlobalValue!");
247 unsigned PointerSizeInBytes =
DL.getPointerSize();
250 const MCExpr *ADAFuncRefExpr;
255 assert(ADASection &&
"ADA section must exist for GOFF targets!");
257 assert(ADASym &&
"ADA symbol should already be set!");
266 OutStreamer->emitValue(ADAFuncRefExpr, PointerSizeInBytes);
270 OutStreamer->emitValue(ADAFuncRefExpr, PointerSizeInBytes);
276 auto *
ZOS = getTargetStreamer();
283 for (
auto &GO : M.global_objects()) {
285 if (!GV->hasInitializer()) {
287 ZOS->emitADA(Sym,
OutContext.getObjectFileInfo()->getADASection());
294void SystemZXPLINKAsmPrinter::emitADASection() {
300 auto *
ZOS = getTargetStreamer();
301 unsigned EmittedBytes = 0;
302 for (
auto &Entry : ADATable.getTable()) {
305 std::tie(Sym, SlotKind) = Entry.first;
306 unsigned Offset = Entry.second;
307 assert(
Offset == EmittedBytes &&
"Offset not as expected");
309#define EMIT_COMMENT(Str) \
310 OutStreamer->AddComment(Twine("Offset ") \
311 .concat(utostr(Offset)) \
312 .concat(" " Str " ") \
313 .concat(Sym->getName()));
327 EmittedBytes += PointerSize * 2;
335 EmittedBytes += PointerSize;
352 EmittedBytes += PointerSize;
364 std::string ProductID;
365 if (
auto *MD = M.getModuleFlag(
"zos_product_id"))
367 if (ProductID.empty())
374 M.getModuleFlag(
"zos_product_major_version")))
375 return VersionVal->getZExtValue();
376 return LLVM_VERSION_MAJOR;
381 M.getModuleFlag(
"zos_product_minor_version")))
382 return ReleaseVal->getZExtValue();
383 return LLVM_VERSION_MINOR;
388 M.getModuleFlag(
"zos_product_patchlevel")))
389 return PatchVal->getZExtValue();
390 return LLVM_VERSION_PATCH;
394 std::time_t Time = 0;
396 M.getModuleFlag(
"zos_translation_time"))) {
397 long SecondsSinceEpoch = Val->getSExtValue();
398 Time =
static_cast<time_t
>(SecondsSinceEpoch);
403void SystemZXPLINKAsmPrinter::emitIDRLSection(
Module &M) {
406 constexpr unsigned IDRLDataLength = 30;
414 SmallString<IDRLDataLength + 1> TempStr;
415 raw_svector_ostream
O(TempStr);
416 O <<
formatv(
"{0,-10}{1,0-2:d}{2,0-2:d}{3:%Y%m%d%H%M%S}{4,0-2}",
417 ProductID.substr(0, 10).c_str(), ProductVersion, ProductRelease,
419 SmallString<IDRLDataLength>
Data;
432 auto *
ZOS = getTargetStreamer();
441 EndOfPrologSym =
nullptr;
442 StackUpdateSym =
nullptr;
452 unsigned BBCount = 1;
454 for (
auto &
MBB : *
MF) {
455 for (
auto &
I :
MBB) {
456 if (
I.getOpcode() == SystemZ::FENCE)
458 else if (!StackUpdateMI) {
459 unsigned Opcode =
I.getOpcode();
464 if ((Opcode == SystemZ::AGHI || Opcode == SystemZ::AGFI) &&
465 I.getOperand(0).getReg() == Regs.getStackPointerRegister())
471 if (EndOfPrologMI || BBCount == 3)
478 if (EndOfPrologMI ==
nullptr)
481#ifdef EXPENSIVE_CHECKS
486 for (
auto &
MBB : *
MF) {
487 bool TerminateLoop =
false;
488 for (
auto &
I :
MBB) {
490 if (&
I == EndOfPrologMI) {
491 TerminateLoop =
true;
505 EndOfPrologMI->setPostInstrSymbol(*
MF, EndOfPrologSym);
513void SystemZXPLINKAsmPrinter::calculatePPA1() {
514 auto *
ZOS = getTargetStreamer();
515 assert(
ZOS->PPA2Sym !=
nullptr &&
"PPA2 Symbol not defined");
517 SystemZTargetzOSStreamer::PPA1Info
Info;
519 const TargetRegisterInfo *
TRI =
MF->getRegInfo().getTargetRegisterInfo();
520 const SystemZSubtarget &Subtarget =
MF->getSubtarget<SystemZSubtarget>();
522 const SystemZMachineFunctionInfo *ZFI =
523 MF->getInfo<SystemZMachineFunctionInfo>();
524 const auto *ZFL =
static_cast<const SystemZXPLINKFrameLowering *
>(
526 const MachineFrameInfo &MFFrame =
MF->getFrameInfo();
530 uint16_t SavedGPRMask = 0;
531 uint16_t SavedFPRMask = 0;
532 uint8_t SavedVRMask = 0;
533 int64_t OffsetFPR = 0;
534 int64_t OffsetVR = 0;
535 const int64_t TopOfStack =
540 for (
unsigned I = ZFI->getSpillGPRRegs().LowGPR,
541 E = ZFI->getSpillGPRRegs().HighGPR;
542 I &&
E &&
I <=
E; ++
I) {
544 assert(V < 16 &&
"GPR index out of range");
545 SavedGPRMask |= 1 << (15 -
V);
548 for (
auto &CS : CSI) {
549 unsigned Reg = CS.getReg();
550 unsigned I =
TRI->getEncodingValue(
Reg);
553 assert(
I < 16 &&
"FPR index out of range");
554 SavedFPRMask |= 1 << (15 -
I);
556 if (Temp < OffsetFPR)
558 }
else if (SystemZ::VR128BitRegClass.
contains(
Reg)) {
559 assert(
I >= 16 &&
I <= 23 &&
"VPR index out of range");
560 unsigned BitNum =
I - 16;
561 SavedVRMask |= 1 << (7 - BitNum);
569 OffsetFPR += (OffsetFPR < 0) ? TopOfStack : 0;
570 OffsetVR += (OffsetVR < 0) ? TopOfStack : 0;
573 uint8_t FrameReg =
TRI->getEncodingValue(
TRI->getFrameRegister(*
MF));
574 uint8_t AllocaReg = ZFL->hasFP(*
MF) ? FrameReg : 0;
575 assert(AllocaReg < 16 &&
"Can't have alloca register larger than 15");
577 MCSymbol *PersonalityRoutine =
nullptr;
581 if (!
MF->getLandingPads().empty()) {
583 MF->getFunction().getPersonalityFn()->stripPointerCasts());
584 PersonalityRoutine = Per ?
MF->getTarget().getSymbol(Per) :
nullptr;
585 if (PersonalityRoutine) {
586 GCCEH =
MF->getContext().getOrCreateSymbol(
587 Twine(
"GCC_except_table") + Twine(
MF->getFunctionNumber()));
588 PersonalityADADisp = ADATable.insert(
595 std::string
N(
MF->getFunction().hasName()
596 ? Twine(
MF->getFunction().getName()).concat(
"_").str()
605 if (
MF->getFunction().hasFnAttribute(
"zos-ppa1-name"))
607 MF->getFunction().getFnAttribute(
"zos-ppa1-name").getValueAsString();
608 else if (
MF->getFunction().hasName())
609 Info.Name =
MF->getFunction().getName();
615 Info.EndOfProlog = EndOfPrologSym;
616 Info.StackUpdate = StackUpdateSym;
617 Info.PersonalityADADisp = PersonalityADADisp;
618 Info.GCCEHADADisp = GCCEHADADisp;
619 Info.OffsetFPR = OffsetFPR;
620 Info.OffsetVR = OffsetVR;
622 Info.SizeOfFnParams = ZFI->getSizeOfFnParams();
623 Info.SavedGPRMask = SavedGPRMask;
624 Info.SavedFPRMask = SavedFPRMask;
625 Info.SavedVRMask = SavedVRMask;
626 Info.FrameReg = FrameReg;
627 Info.AllocaReg = AllocaReg;
628 Info.IsVarArg =
MF->getFunction().isVarArg();
631 ZOS->DeferredPPA1.push_back(Info);
639void SystemZXPLINKAsmPrinter::emitPPA2(
Module &M) {
640 auto *
ZOS = getTargetStreamer();
645 const char *StartSymbolName =
"CELQSTRT";
665 ProductRelease, ProductPatch);
670 enum class PPA2MemberId :
uint8_t {
675 enum class PPA2MemberSubId :
uint8_t {
681 LLVMBasedLang = 0xe7,
684 enum class PPA2Flags : uint8_t {
685 CompileForBinaryFloatingPoint = 0x80,
686 CompiledWithXPLink = 0x01,
687 CompiledUnitASCII = 0x04,
688 HasServiceInfo = 0x20,
691 PPA2MemberSubId MemberSubId = PPA2MemberSubId::LLVMBasedLang;
692 if (
auto *MD =
M.getModuleFlag(
"zos_cu_language")) {
694 MemberSubId = StringSwitch<PPA2MemberSubId>(Language)
695 .Case(
"C", PPA2MemberSubId::C)
696 .Case(
"C++", PPA2MemberSubId::CXX)
697 .Case(
"Swift", PPA2MemberSubId::Swift)
698 .Case(
"Go", PPA2MemberSubId::Go)
699 .Default(PPA2MemberSubId::LLVMBasedLang);
704 OutStreamer->emitInt8(
static_cast<uint8_t
>(PPA2MemberId::LE_C_Runtime));
705 OutStreamer->emitInt8(
static_cast<uint8_t
>(MemberSubId));
708 OutStreamer->emitAbsoluteSymbolDiff(CELQSTRT, PPA2Sym, 4);
710 OutStreamer->emitAbsoluteSymbolDiff(DateVersionSym, PPA2Sym, 4);
713 uint8_t Flgs =
static_cast<uint8_t
>(PPA2Flags::CompileForBinaryFloatingPoint);
714 Flgs |=
static_cast<uint8_t
>(PPA2Flags::CompiledWithXPLink);
717 if (
auto *MD =
M.getModuleFlag(
"zos_le_char_mode")) {
719 if (CharMode ==
"ebcdic")
721 else if (CharMode !=
"ascii")
723 {},
"Only ascii or ebcdic are allowed for zos_le_char_mode");
726 Flgs |=
static_cast<uint8_t
>(
727 PPA2Flags::CompiledUnitASCII);
749 OutStreamer->emitAbsoluteSymbolDiff(PPA2Sym, CELQSTRT, 8);
755 if (!
TM.getTargetTriple().isOSzOS())
802 auto *
ZOS = getTargetStreamer();
819 uint32_t DSAAndFlags = DSASize & 0xFFFFFFE0;
820 DSAAndFlags |= Flags;
823 OutStreamer->AddComment(
"XPLINK Routine Layout Entry");
825 OutStreamer->AddComment(
"Eyecatcher 0x00C300C500C500");
826 OutStreamer->emitIntValueInHex(0x00C300C500C500, 7);
830 OutStreamer->emitAbsoluteSymbolDiff(
ZOS->DeferredPPA1.back().PPA1,
831 ZOS->DeferredPPA1.back().EPMarker, 4);
836 OutStreamer->AddComment(
" Bit 1: 1 = Leaf function");
838 OutStreamer->AddComment(
" Bit 1: 0 = Non-leaf function");
840 OutStreamer->AddComment(
" Bit 2: 1 = Uses alloca");
842 OutStreamer->AddComment(
" Bit 2: 0 = Does not use alloca");
assert(UImm &&(UImm !=~static_cast< T >(0)) &&"Invalid immediate!")
MachineBasicBlock MachineBasicBlock::iterator DebugLoc DL
static GCRegistry::Add< ShadowStackGC > C("shadow-stack", "Very portable GC for uncooperative code generators")
static GCRegistry::Add< CoreCLRGC > E("coreclr", "CoreCLR-compatible GC")
This file provides utility functions for converting between EBCDIC-1047 and UTF-8.
const HexagonInstrInfo * TII
Module.h This file contains the declarations for the Module class.
This file contains the MCSymbolGOFF class.
Register const TargetRegisterInfo * TRI
Promote Memory to Register
static bool contains(SmallPtrSetImpl< ConstantExpr * > &Cache, ConstantExpr *Expr, Constant *C)
std::unique_ptr< MCStreamer > && Streamer
#define EMIT_COMMENT(Str)
static void determinePrologueStackUpdateSym(MachineFunction *MF, MCSymbol *&EndOfPrologSym, MCSymbol *&StackUpdateSym)
static uint32_t getProductVersion(Module &M)
static std::string getProductID(Module &M)
static time_t getTranslationTime(Module &M)
static uint32_t getProductRelease(Module &M)
static uint32_t getProductPatch(Module &M)
const TargetLoweringObjectFile & getObjFileLowering() const
Return information about object file lowering.
MCSymbol * getSymbol(const GlobalValue *GV) const
void EmitToStreamer(MCStreamer &S, const MCInst &Inst)
TargetMachine & TM
Target machine description.
virtual void emitGlobalAlias(const Module &M, const GlobalAlias &GA)
Align emitAlignment(Align Alignment, const GlobalObject *GV=nullptr, unsigned MaxBytesToEmit=0) const
Emit an alignment directive to the specified power of two boundary.
MachineFunction * MF
The current machine function.
virtual const MCExpr * lowerConstant(const Constant *CV, const Constant *BaseCV=nullptr, uint64_t Offset=0)
Lower the specified LLVM Constant to an MCExpr.
virtual void emitStartOfAsmFile(Module &)
This virtual method can be overridden by targets that want to emit something at the start of their fi...
bool doInitialization(Module &M) override
Set up the AsmPrinter when we are working on a new module.
virtual void emitLinkage(const GlobalValue *GV, MCSymbol *GVSym) const
This emits linkage information about GVSym based on GV, if this is supported by the target.
MCSymbol * CurrentFnSym
The symbol for the current function.
MCContext & OutContext
This is the context for the output file that we are streaming.
void emitVisibility(MCSymbol *Sym, unsigned Visibility, bool IsDefinition=true) const
This emits visibility information about symbol, if this is supported by the target.
void emitInt32(int Value) const
Emit a long directive and value.
std::unique_ptr< MCStreamer > OutStreamer
This is the MCStreamer object for the file we are generating.
void preprocessXXStructorList(const DataLayout &DL, const Constant *List, SmallVector< Structor, 8 > &Structors)
This method gathers an array of Structors and then sorts them out by Priority.
unsigned getPointerSize() const
Return the pointer size from the TargetMachine.
const DataLayout & getDataLayout() const
Return information about data layout.
virtual void emitFunctionEntryLabel()
EmitFunctionEntryLabel - Emit the label that is the entrypoint for the function.
This is an important base class in LLVM.
const Constant * stripPointerCasts() const
A parsed version of the target data layout string in and methods for querying it.
LLVM_ABI unsigned getPointerSize(unsigned AS=0) const
The pointer representation size in bytes, rounded up to a whole number of bytes.
LLVM_ABI const GlobalObject * getAliaseeObject() const
bool hasExternalLinkage() const
LLVM_ABI const GlobalObject * getAliaseeObject() const
static const MCBinaryExpr * createAdd(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx, SMLoc Loc=SMLoc())
static LLVM_ABI const MCConstantExpr * create(int64_t Value, MCContext &Ctx, bool PrintInHex=false, unsigned SizeInBytes=0)
Context object for machine code objects.
LLVM_ABI MCSymbol * createTempSymbol()
Create a temporary symbol with a unique name.
LLVM_ABI MCSymbol * getOrCreateSymbol(const Twine &Name)
Lookup the symbol inside with the specified Name.
Base class for the full range of assembler expressions which are needed for parsing.
MCInstBuilder & addReg(MCRegister Reg)
Add a new register operand.
MCInstBuilder & addImm(int64_t Val)
Add a new integer immediate operand.
Instances of this class represent a single low-level machine instruction.
MCSymbol * getBeginSymbol()
static const MCSpecifierExpr * create(const MCExpr *Expr, Spec S, MCContext &Ctx, SMLoc Loc=SMLoc())
StringRef getExternalName() const
static const MCSymbolRefExpr * create(const MCSymbol *Symbol, MCContext &Ctx, SMLoc Loc=SMLoc())
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
StringRef getName() const
getName - Get the symbol name.
The MachineFrameInfo class represents an abstract stack frame until prolog/epilog code is inserted.
bool hasVarSizedObjects() const
This method may be called any time after instruction selection is complete to determine if the stack ...
uint64_t getStackSize() const
Return the number of bytes that must be allocated to hold all of the fixed size frame objects.
uint64_t getMaxCallFrameSize() const
Return the maximum size of a call frame that must be allocated for an outgoing function call.
int64_t getOffsetAdjustment() const
Return the correction for frame offsets.
const std::vector< CalleeSavedInfo > & getCalleeSavedInfo() const
Returns a reference to call saved info vector for the current function.
bool hasStackProtectorIndex() const
int64_t getObjectOffset(int ObjectIdx) const
Return the assigned stack offset of the specified object from the incoming stack pointer.
const TargetSubtargetInfo & getSubtarget() const
getSubtarget - Return the subtarget for which this machine code is being compiled.
StringRef getName() const
getName - Return the name of the corresponding LLVM function.
MCContext & getContext() const
const TargetMachine & getTarget() const
getTarget - Return the target machine this machine code is compiled with
Representation of each machine instruction.
LLVM_ABI void setPreInstrSymbol(MachineFunction &MF, MCSymbol *Symbol)
Set a symbol that will be emitted just prior to the instruction itself.
LLVM_ABI const MachineFunction * getMF() const
Return the function that contains the basic block that this instruction belongs to.
const GlobalValue * getGlobal() const
MachineInstr * getParent()
getParent - Return the instruction that this operand belongs to.
unsigned getTargetFlags() const
MachineOperandType getType() const
getType - Returns the MachineOperandType for this operand.
const char * getSymbolName() const
@ MO_GlobalAddress
Address of a global value.
@ MO_ExternalSymbol
Name of external global symbol.
iterator find(const KeyT &Key)
A Module instance is used to store all the information related to an LLVM module.
Wrapper class representing virtual and physical registers.
SmallString - A SmallString is just a SmallVector with methods and accessors that make it work better...
StringRef str() const
Explicit conversion to StringRef.
This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small.
void emitInstruction(const MachineInstr *MI) override
Targets should implement this to emit instructions.
SystemZAsmPrinter(TargetMachine &TM, std::unique_ptr< MCStreamer > Streamer)
const SystemZInstrInfo * getInstrInfo() const override
const TargetFrameLowering * getFrameLowering() const override
SystemZCallingConventionRegisters * getSpecialRegisters() const
XPLINK64 calling convention specific use registers Particular to z/OS when in 64 bit mode.
void emitGlobalAlias(const Module &M, const GlobalAlias &GA) override
bool doInitialization(Module &M) override
Set up the AsmPrinter when we are working on a new module.
SystemZXPLINKAsmPrinter(TargetMachine &TM, std::unique_ptr< MCStreamer > Streamer)
const MCExpr * lowerConstant(const Constant *CV, const Constant *BaseCV=nullptr, uint64_t Offset=0) override
Lower the specified LLVM Constant to an MCExpr.
void emitFunctionBodyEnd() override
Targets can override this to emit stuff after the last basic block in the function.
void emitStartOfAsmFile(Module &M) override
This virtual method can be overridden by targets that want to emit something at the start of their fi...
void emitFunctionEntryLabel() override
EmitFunctionEntryLabel - Emit the label that is the entrypoint for the function.
void emitInstruction(const MachineInstr *MI) override
Targets should implement this to emit instructions.
void emitEndOfAsmFile(Module &M) override
This virtual method can be overridden by targets that want to emit something at the end of their file...
void emitXXStructorList(const DataLayout &DL, const Constant *List, bool IsCtor) override
This method emits llvm.global_ctors or llvm.global_dtors list.
Primary interface to the complete machine description for the target machine.
MCSymbol * getSymbol(const GlobalValue *GV) const
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
Twine concat(const Twine &Suffix) const
static Twine utohexstr(uint64_t Val)
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
constexpr char Language[]
Key for Kernel::Metadata::mLanguage.
LLVM_ABI std::error_code convertToEBCDIC(StringRef Source, SmallVectorImpl< char > &Result)
@ MO_ADA_DATA_SYMBOL_ADDR
@ MO_ADA_DIRECT_FUNC_DESC
@ MO_ADA_INDIRECT_FUNC_DESC
const unsigned GR64Regs[16]
std::enable_if_t< detail::IsValidPointer< X, Y >::value, X * > extract_or_null(Y &&MD)
Extract a Value from Metadata, allowing null.
UtcTime< std::chrono::seconds > toUtcTime(std::time_t T)
Convert a std::time_t to a UtcTime.
This is an optimization pass for GlobalISel generic memory operations.
decltype(auto) dyn_cast(const From &Val)
dyn_cast<X> - Return the argument parameter cast to the specified type.
detail::concat_range< ValueT, RangeTs... > concat(RangeTs &&...Ranges)
Returns a concatenated range across two or more ranges.
auto formatv(bool Validate, const char *Fmt, Ts &&...Vals)
LLVM_ABI void report_fatal_error(Error Err, bool gen_crash_diag=true)
bool isa(const From &Val)
isa<X> - Return true if the parameter to the template is an instance of one of the template type argu...
LLVM_ATTRIBUTE_VISIBILITY_DEFAULT AnalysisKey InnerAnalysisManagerProxy< AnalysisManagerT, IRUnitT, ExtraArgTs... >::Key
DWARFExpression::Operation Op
OutputIt move(R &&Range, OutputIt Out)
Provide wrappers to std::move which take ranges instead of having to pass begin/end explicitly.
@ ZOS
z/OS MVS Exception Handling.
decltype(auto) cast(const From &Val)
cast<X> - Return the argument parameter cast to the specified type.
@ MCSA_OSLinkage
symbol uses OS linkage (GOFF)
@ MCSA_IndirectSymbol
.indirect_symbol (MachO)
@ MCSA_Global
.type _foo, @gnu_unique_object
@ MCSA_Extern
.extern (XCOFF)
@ MCSA_ELF_TypeObject
.type _foo, STT_OBJECT # aka @object
@ MCSA_ELF_TypeFunction
.type _foo, STT_FUNC # aka @function
Implement std::hash so that hash_code can be used in STL containers.
This struct is a compact representation of a valid (non-zero power of two) alignment.
llvm.global_ctors and llvm.global_dtors are arrays of Structor structs.