50 for (
const auto &Alias : M.aliases()) {
54 {},
"Alias without a base object is not yet supported on z/OS.");
58 if (Alias.hasWeakLinkage() || Alias.hasLinkOnceLinkage())
60 "Weak alias/reference not supported on z/OS");
62 GOAliasMap[Aliasee].push_back(&Alias);
65 "Only aliases to functions is supported in GOFF.");
75void SystemZXPLINKAsmPrinter::emitCallInformation(CallType CT) {
83SystemZXPLINKAsmPrinter::AssociatedDataAreaTable::insert(
const MCSymbol *Sym,
85 auto Key = std::make_pair(Sym, SlotKind);
86 auto It = Displacements.
find(
Key);
88 if (It != Displacements.
end())
102 uint32_t Displacement = NextDisplacement;
103 Displacements[std::make_pair(Sym, SlotKind)] = NextDisplacement;
104 NextDisplacement +=
Length;
109uint32_t SystemZXPLINKAsmPrinter::AssociatedDataAreaTable::insert(
114 Sym =
MF.getTarget().getSymbol(GV);
115 assert(Sym &&
"No symbol");
118 Sym =
MF.getContext().getOrCreateSymbol(SymName);
119 assert(Sym &&
"No symbol");
124 return insert(Sym, ADAslotType);
131 switch (
MI->getOpcode()) {
132 case SystemZ::CallBRASL_XPLINK64:
134 .addReg(SystemZ::R7D)
135 .addExpr(
Lower.getExpr(
MI->getOperand(0),
137 emitCallInformation(CallType::BRASL7);
140 case SystemZ::CallBASR_XPLINK64:
142 .addReg(SystemZ::R7D)
143 .addReg(
MI->getOperand(0).getReg()));
144 emitCallInformation(CallType::BASR76);
147 case SystemZ::Return_XPLINK:
152 case SystemZ::CondReturn_XPLINK:
161 case SystemZ::CallBASR_STACKEXT:
163 .addReg(SystemZ::R3D)
164 .addReg(
MI->getOperand(0).getReg()));
165 emitCallInformation(CallType::BASR33);
168 case SystemZ::ADA_ENTRY_VALUE:
169 case SystemZ::ADA_ENTRY: {
172 uint32_t Disp = ADATable.insert(*
MF,
MI->getOperand(1));
173 Register TargetReg =
MI->getOperand(0).getReg();
176 Disp +=
MI->getOperand(3).getImm();
177 bool LoadAddr =
MI->getOpcode() == SystemZ::ADA_ENTRY;
179 unsigned Op0 = LoadAddr ? SystemZ::LA : SystemZ::LG;
180 unsigned Op =
TII->getOpcodeForOffset(Op0, Disp);
184 if (TargetReg != ADAReg) {
185 IndexReg = TargetReg;
189 MCInstBuilder(SystemZ::LLILF).addReg(TargetReg).addImm(Disp));
200 MCInstBuilder(
Op).addReg(TargetReg).addReg(ADAReg).addImm(Disp).addReg(
215 assert(
TM.getTargetTriple().isOSBinFormatGOFF() &&
"Only GOFF supported");
219 if (Structors.
empty())
227 static_cast<MCSectionGOFF *
>(Obj.getStaticXtorSection(S.Priority));
237 uint32_t XtorPriority = Section->getPRAttributes().SortKey;
240 assert(GV &&
"C++ xxtor pointer was not a GlobalValue!");
245 unsigned PointerSizeInBytes =
DL.getPointerSize();
248 const MCExpr *ADAFuncRefExpr;
253 assert(ADASection &&
"ADA section must exist for GOFF targets!");
255 assert(ADASym &&
"ADA symbol should already be set!");
264 OutStreamer->emitValue(ADAFuncRefExpr, PointerSizeInBytes);
268 OutStreamer->emitValue(ADAFuncRefExpr, PointerSizeInBytes);
274 auto *
ZOS = getTargetStreamer();
281 for (
auto &GO : M.global_objects()) {
283 if (!GV->hasInitializer()) {
285 ZOS->emitADA(Sym,
OutContext.getObjectFileInfo()->getADASection());
292void SystemZXPLINKAsmPrinter::emitADASection() {
298 auto *
ZOS = getTargetStreamer();
299 unsigned EmittedBytes = 0;
300 for (
auto &Entry : ADATable.getTable()) {
303 std::tie(Sym, SlotKind) = Entry.first;
304 unsigned Offset = Entry.second;
305 assert(
Offset == EmittedBytes &&
"Offset not as expected");
307#define EMIT_COMMENT(Str) \
308 OutStreamer->AddComment(Twine("Offset ") \
309 .concat(utostr(Offset)) \
310 .concat(" " Str " ") \
311 .concat(Sym->getName()));
325 EmittedBytes += PointerSize * 2;
333 EmittedBytes += PointerSize;
350 EmittedBytes += PointerSize;
362 std::string ProductID;
363 if (
auto *MD = M.getModuleFlag(
"zos_product_id"))
365 if (ProductID.empty())
372 M.getModuleFlag(
"zos_product_major_version")))
373 return VersionVal->getZExtValue();
374 return LLVM_VERSION_MAJOR;
379 M.getModuleFlag(
"zos_product_minor_version")))
380 return ReleaseVal->getZExtValue();
381 return LLVM_VERSION_MINOR;
386 M.getModuleFlag(
"zos_product_patchlevel")))
387 return PatchVal->getZExtValue();
388 return LLVM_VERSION_PATCH;
392 std::time_t Time = 0;
394 M.getModuleFlag(
"zos_translation_time"))) {
395 long SecondsSinceEpoch = Val->getSExtValue();
396 Time =
static_cast<time_t
>(SecondsSinceEpoch);
401void SystemZXPLINKAsmPrinter::emitIDRLSection(
Module &M) {
404 constexpr unsigned IDRLDataLength = 30;
412 SmallString<IDRLDataLength + 1> TempStr;
413 raw_svector_ostream
O(TempStr);
414 O <<
formatv(
"{0,-10}{1,0-2:d}{2,0-2:d}{3:%Y%m%d%H%M%S}{4,0-2}",
415 ProductID.substr(0, 10).c_str(), ProductVersion, ProductRelease,
417 SmallString<IDRLDataLength>
Data;
430 auto *
ZOS = getTargetStreamer();
439 EndOfPrologSym =
nullptr;
440 StackUpdateSym =
nullptr;
450 unsigned BBCount = 1;
452 for (
auto &
MBB : *
MF) {
453 for (
auto &
I :
MBB) {
454 if (
I.getOpcode() == SystemZ::FENCE)
456 else if (!StackUpdateMI) {
457 unsigned Opcode =
I.getOpcode();
462 if ((Opcode == SystemZ::AGHI || Opcode == SystemZ::AGFI) &&
463 I.getOperand(0).getReg() == Regs.getStackPointerRegister())
469 if (EndOfPrologMI || BBCount == 3)
476 if (EndOfPrologMI ==
nullptr)
479#ifdef EXPENSIVE_CHECKS
484 for (
auto &
MBB : *
MF) {
485 bool TerminateLoop =
false;
486 for (
auto &
I :
MBB) {
488 if (&
I == EndOfPrologMI) {
489 TerminateLoop =
true;
503 EndOfPrologMI->setPostInstrSymbol(*
MF, EndOfPrologSym);
511void SystemZXPLINKAsmPrinter::calculatePPA1() {
512 auto *
ZOS = getTargetStreamer();
513 assert(
ZOS->PPA2Sym !=
nullptr &&
"PPA2 Symbol not defined");
515 SystemZTargetzOSStreamer::PPA1Info
Info;
517 const TargetRegisterInfo *
TRI =
MF->getRegInfo().getTargetRegisterInfo();
518 const SystemZSubtarget &Subtarget =
MF->getSubtarget<SystemZSubtarget>();
520 const SystemZMachineFunctionInfo *ZFI =
521 MF->getInfo<SystemZMachineFunctionInfo>();
522 const auto *ZFL =
static_cast<const SystemZXPLINKFrameLowering *
>(
524 const MachineFrameInfo &MFFrame =
MF->getFrameInfo();
528 uint16_t SavedGPRMask = 0;
529 uint16_t SavedFPRMask = 0;
530 uint8_t SavedVRMask = 0;
531 int64_t OffsetFPR = 0;
532 int64_t OffsetVR = 0;
533 const int64_t TopOfStack =
538 for (
unsigned I = ZFI->getSpillGPRRegs().LowGPR,
539 E = ZFI->getSpillGPRRegs().HighGPR;
540 I &&
E &&
I <=
E; ++
I) {
542 assert(V < 16 &&
"GPR index out of range");
543 SavedGPRMask |= 1 << (15 -
V);
546 for (
auto &CS : CSI) {
547 unsigned Reg = CS.getReg();
548 unsigned I =
TRI->getEncodingValue(
Reg);
551 assert(
I < 16 &&
"FPR index out of range");
552 SavedFPRMask |= 1 << (15 -
I);
554 if (Temp < OffsetFPR)
556 }
else if (SystemZ::VR128BitRegClass.
contains(
Reg)) {
557 assert(
I >= 16 &&
I <= 23 &&
"VPR index out of range");
558 unsigned BitNum =
I - 16;
559 SavedVRMask |= 1 << (7 - BitNum);
567 OffsetFPR += (OffsetFPR < 0) ? TopOfStack : 0;
568 OffsetVR += (OffsetVR < 0) ? TopOfStack : 0;
571 uint8_t FrameReg =
TRI->getEncodingValue(
TRI->getFrameRegister(*
MF));
572 uint8_t AllocaReg = ZFL->hasFP(*
MF) ? FrameReg : 0;
573 assert(AllocaReg < 16 &&
"Can't have alloca register larger than 15");
575 MCSymbol *PersonalityRoutine =
nullptr;
579 if (!
MF->getLandingPads().empty()) {
581 MF->getFunction().getPersonalityFn()->stripPointerCasts());
582 PersonalityRoutine = Per ?
MF->getTarget().getSymbol(Per) :
nullptr;
583 if (PersonalityRoutine) {
584 GCCEH =
MF->getContext().getOrCreateSymbol(
585 Twine(
"GCC_except_table") + Twine(
MF->getFunctionNumber()));
586 PersonalityADADisp = ADATable.insert(
593 std::string
N(
MF->getFunction().hasName()
594 ? Twine(
MF->getFunction().getName()).concat(
"_").str()
603 if (
MF->getFunction().hasFnAttribute(
"zos-ppa1-name"))
605 MF->getFunction().getFnAttribute(
"zos-ppa1-name").getValueAsString();
606 else if (
MF->getFunction().hasName())
607 Info.Name =
MF->getFunction().getName();
613 Info.EndOfProlog = EndOfPrologSym;
614 Info.StackUpdate = StackUpdateSym;
615 Info.PersonalityADADisp = PersonalityADADisp;
616 Info.GCCEHADADisp = GCCEHADADisp;
617 Info.OffsetFPR = OffsetFPR;
618 Info.OffsetVR = OffsetVR;
620 Info.SizeOfFnParams = ZFI->getSizeOfFnParams();
621 Info.SavedGPRMask = SavedGPRMask;
622 Info.SavedFPRMask = SavedFPRMask;
623 Info.SavedVRMask = SavedVRMask;
624 Info.FrameReg = FrameReg;
625 Info.AllocaReg = AllocaReg;
626 Info.IsVarArg =
MF->getFunction().isVarArg();
629 ZOS->DeferredPPA1.push_back(Info);
637void SystemZXPLINKAsmPrinter::emitPPA2(
Module &M) {
638 auto *
ZOS = getTargetStreamer();
643 const char *StartSymbolName =
"CELQSTRT";
663 ProductRelease, ProductPatch);
668 enum class PPA2MemberId :
uint8_t {
673 enum class PPA2MemberSubId :
uint8_t {
679 LLVMBasedLang = 0xe7,
682 enum class PPA2Flags : uint8_t {
683 CompileForBinaryFloatingPoint = 0x80,
684 CompiledWithXPLink = 0x01,
685 CompiledUnitASCII = 0x04,
686 HasServiceInfo = 0x20,
689 PPA2MemberSubId MemberSubId = PPA2MemberSubId::LLVMBasedLang;
690 if (
auto *MD =
M.getModuleFlag(
"zos_cu_language")) {
692 MemberSubId = StringSwitch<PPA2MemberSubId>(Language)
693 .Case(
"C", PPA2MemberSubId::C)
694 .Case(
"C++", PPA2MemberSubId::CXX)
695 .Case(
"Swift", PPA2MemberSubId::Swift)
696 .Case(
"Go", PPA2MemberSubId::Go)
697 .Default(PPA2MemberSubId::LLVMBasedLang);
702 OutStreamer->emitInt8(
static_cast<uint8_t
>(PPA2MemberId::LE_C_Runtime));
703 OutStreamer->emitInt8(
static_cast<uint8_t
>(MemberSubId));
706 OutStreamer->emitAbsoluteSymbolDiff(CELQSTRT, PPA2Sym, 4);
708 OutStreamer->emitAbsoluteSymbolDiff(DateVersionSym, PPA2Sym, 4);
711 uint8_t Flgs =
static_cast<uint8_t
>(PPA2Flags::CompileForBinaryFloatingPoint);
712 Flgs |=
static_cast<uint8_t
>(PPA2Flags::CompiledWithXPLink);
715 if (
auto *MD =
M.getModuleFlag(
"zos_le_char_mode")) {
717 if (CharMode ==
"ebcdic")
719 else if (CharMode !=
"ascii")
721 {},
"Only ascii or ebcdic are allowed for zos_le_char_mode");
724 Flgs |=
static_cast<uint8_t
>(
725 PPA2Flags::CompiledUnitASCII);
747 OutStreamer->emitAbsoluteSymbolDiff(PPA2Sym, CELQSTRT, 8);
753 if (!
TM.getTargetTriple().isOSzOS())
800 auto *
ZOS = getTargetStreamer();
817 uint32_t DSAAndFlags = DSASize & 0xFFFFFFE0;
818 DSAAndFlags |= Flags;
821 OutStreamer->AddComment(
"XPLINK Routine Layout Entry");
823 OutStreamer->AddComment(
"Eyecatcher 0x00C300C500C500");
824 OutStreamer->emitIntValueInHex(0x00C300C500C500, 7);
828 OutStreamer->emitAbsoluteSymbolDiff(
ZOS->DeferredPPA1.back().PPA1,
829 ZOS->DeferredPPA1.back().EPMarker, 4);
834 OutStreamer->AddComment(
" Bit 1: 1 = Leaf function");
836 OutStreamer->AddComment(
" Bit 1: 0 = Non-leaf function");
838 OutStreamer->AddComment(
" Bit 2: 1 = Uses alloca");
840 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
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.
const GlobalValue * getGlobal() const
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.
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.