| /NextBSD/contrib/llvm/lib/IR/ |
| HD | Attributes.cpp | 34 Attribute Attribute::get(LLVMContext &Context, Attribute::AttrKind Kind, in get() 55 return Attribute(PA); in get() 58 Attribute Attribute::get(LLVMContext &Context, StringRef Kind, StringRef Val) { in get() 75 return Attribute(PA); in get() 78 Attribute Attribute::getWithAlignment(LLVMContext &Context, uint64_t Align) { in getWithAlignment() 84 Attribute Attribute::getWithStackAlignment(LLVMContext &Context, in getWithStackAlignment() 91 Attribute Attribute::getWithDereferenceableBytes(LLVMContext &Context, in getWithDereferenceableBytes() 97 Attribute Attribute::getWithDereferenceableOrNullBytes(LLVMContext &Context, in getWithDereferenceableOrNullBytes() 107 bool Attribute::isEnumAttribute() const { in isEnumAttribute() 111 bool Attribute::isIntAttribute() const { in isIntAttribute() [all …]
|
| HD | AttributeImpl.h | 55 bool hasAttribute(Attribute::AttrKind A) const; 58 Attribute::AttrKind getKindAsEnum() const; 75 static void Profile(FoldingSetNodeID &ID, Attribute::AttrKind Kind, in Profile() 86 static uint64_t getAttrMask(Attribute::AttrKind Val); 98 Attribute::AttrKind Kind; 101 EnumAttributeImpl(AttrEntryKind ID, Attribute::AttrKind Kind) in EnumAttributeImpl() 105 EnumAttributeImpl(Attribute::AttrKind Kind) in EnumAttributeImpl() 108 Attribute::AttrKind getEnumKind() const { return Kind; } in getEnumKind() 116 IntAttributeImpl(Attribute::AttrKind Kind, uint64_t Val) in IntAttributeImpl() 118 assert((Kind == Attribute::Alignment || Kind == Attribute::StackAlignment || in IntAttributeImpl() [all …]
|
| HD | Verifier.cpp | 1249 if (I->getKindAsEnum() == Attribute::NoReturn || in VerifyAttributeTypes() 1250 I->getKindAsEnum() == Attribute::NoUnwind || in VerifyAttributeTypes() 1251 I->getKindAsEnum() == Attribute::NoInline || in VerifyAttributeTypes() 1252 I->getKindAsEnum() == Attribute::AlwaysInline || in VerifyAttributeTypes() 1253 I->getKindAsEnum() == Attribute::OptimizeForSize || in VerifyAttributeTypes() 1254 I->getKindAsEnum() == Attribute::StackProtect || in VerifyAttributeTypes() 1255 I->getKindAsEnum() == Attribute::StackProtectReq || in VerifyAttributeTypes() 1256 I->getKindAsEnum() == Attribute::StackProtectStrong || in VerifyAttributeTypes() 1257 I->getKindAsEnum() == Attribute::SafeStack || in VerifyAttributeTypes() 1258 I->getKindAsEnum() == Attribute::NoRedZone || in VerifyAttributeTypes() [all …]
|
| HD | Function.cpp | 80 hasAttribute(getArgNo()+1, Attribute::NonNull)) in hasNonNullAttr() 93 hasAttribute(getArgNo()+1, Attribute::ByVal); in hasByValAttr() 101 hasAttribute(getArgNo()+1, Attribute::InAlloca); in hasInAllocaAttr() 107 return Attrs.hasAttribute(getArgNo() + 1, Attribute::ByVal) || in hasByValOrInAllocaAttr() 108 Attrs.hasAttribute(getArgNo() + 1, Attribute::InAlloca); in hasByValOrInAllocaAttr() 134 hasAttribute(getArgNo()+1, Attribute::Nest); in hasNestAttr() 142 hasAttribute(getArgNo()+1, Attribute::NoAlias); in hasNoAliasAttr() 150 hasAttribute(getArgNo()+1, Attribute::NoCapture); in hasNoCaptureAttr() 158 hasAttribute(getArgNo()+1, Attribute::StructRet); in hasStructRetAttr() 165 hasAttribute(getArgNo()+1, Attribute::Returned); in hasReturnedAttr() [all …]
|
| /NextBSD/contrib/llvm/include/llvm/IR/ |
| HD | Function.h | 187 void addFnAttr(Attribute::AttrKind N) { 193 void removeFnAttr(Attribute::AttrKind N) { 217 bool hasFnAttribute(Attribute::AttrKind Kind) const { 225 Attribute getFnAttribute(Attribute::AttrKind Kind) const { 228 Attribute getFnAttribute(StringRef Kind) const { 245 void addAttribute(unsigned i, Attribute::AttrKind attr); 280 Attribute::ReadNone); 283 addFnAttr(Attribute::ReadNone); 290 Attribute::ReadOnly); 293 addFnAttr(Attribute::ReadOnly); [all …]
|
| HD | Attributes.h | 45 class Attribute { 125 Attribute(AttributeImpl *A) : pImpl(A) {} in Attribute() function 127 Attribute() : pImpl(nullptr) {} in Attribute() function 134 static Attribute get(LLVMContext &Context, AttrKind Kind, uint64_t Val = 0); 135 static Attribute get(LLVMContext &Context, StringRef Kind, 140 static Attribute getWithAlignment(LLVMContext &Context, uint64_t Align); 141 static Attribute getWithStackAlignment(LLVMContext &Context, uint64_t Align); 142 static Attribute getWithDereferenceableBytes(LLVMContext &Context, 144 static Attribute getWithDereferenceableOrNullBytes(LLVMContext &Context, 169 Attribute::AttrKind getKindAsEnum() const; [all …]
|
| HD | CallSite.h | 237 bool hasFnAttr(Attribute::AttrKind A) const { in hasFnAttr() 242 bool paramHasAttr(unsigned i, Attribute::AttrKind A) const { in paramHasAttr() 323 return paramHasAttr(ArgNo + 1, Attribute::NoCapture); in doesNotCapture() 328 return paramHasAttr(ArgNo + 1, Attribute::ByVal); in isByValArgument() 333 return paramHasAttr(ArgNo + 1, Attribute::InAlloca); in isInAllocaArgument() 338 return paramHasAttr(ArgNo + 1, Attribute::ByVal) || in isByValOrInAllocaArgument() 339 paramHasAttr(ArgNo + 1, Attribute::InAlloca); in isByValOrInAllocaArgument() 345 return paramHasAttr(arg_size(), Attribute::InAlloca); in hasInAllocaArgument() 349 return paramHasAttr(ArgNo + 1, Attribute::ReadNone); in doesNotAccessMemory() 353 return paramHasAttr(ArgNo + 1, Attribute::ReadOnly) || in onlyReadsMemory() [all …]
|
| /NextBSD/contrib/llvm/lib/CodeGen/AsmPrinter/ |
| HD | DwarfUnit.h | 119 void addLocalString(DIE &Die, dwarf::Attribute Attribute, StringRef Str); 121 void addIndexedString(DIE &Die, dwarf::Attribute Attribute, StringRef Str); 186 void addFlag(DIE &Die, dwarf::Attribute Attribute); 189 void addUInt(DIE &Die, dwarf::Attribute Attribute, Optional<dwarf::Form> Form, 195 void addSInt(DIE &Die, dwarf::Attribute Attribute, Optional<dwarf::Form> Form, 206 void addString(DIE &Die, dwarf::Attribute Attribute, StringRef Str); 209 DIE::value_iterator addLabel(DIE &Die, dwarf::Attribute Attribute, 215 void addSectionOffset(DIE &Die, dwarf::Attribute Attribute, uint64_t Integer); 222 void addLabelDelta(DIE &Die, dwarf::Attribute Attribute, const MCSymbol *Hi, 226 void addDIEEntry(DIE &Die, dwarf::Attribute Attribute, DIE &Entry); [all …]
|
| HD | DwarfCompileUnit.h | 85 void addLabelAddress(DIE &Die, dwarf::Attribute Attribute, 90 void addLocalLabelAddress(DIE &Die, dwarf::Attribute Attribute, 94 DIE::value_iterator addSectionDelta(DIE &Die, dwarf::Attribute Attribute, 108 DIE::value_iterator addSectionLabel(DIE &Die, dwarf::Attribute Attribute, 197 void addAddress(DIE &Die, dwarf::Attribute Attribute, 205 dwarf::Attribute Attribute, 209 void addLocationList(DIE &Die, dwarf::Attribute Attribute, unsigned Index);
|
| HD | DIEHash.cpp | 184 void DIEHash::hashShallowTypeReference(dwarf::Attribute Attribute, in hashShallowTypeReference() argument 190 addULEB128(Attribute); in hashShallowTypeReference() 210 void DIEHash::hashRepeatedTypeReference(dwarf::Attribute Attribute, in hashRepeatedTypeReference() argument 216 addULEB128(Attribute); in hashRepeatedTypeReference() 223 void DIEHash::hashDIEEntry(dwarf::Attribute Attribute, dwarf::Tag Tag, in hashDIEEntry() argument 238 Attribute == dwarf::DW_AT_type) { in hashDIEEntry() 242 hashShallowTypeReference(Attribute, Entry, Name); in hashDIEEntry() 249 hashRepeatedTypeReference(Attribute, DieNumber); in hashDIEEntry() 256 addULEB128(Attribute); in hashDIEEntry() 283 dwarf::Attribute Attribute = Value.getAttribute(); in hashAttribute() local [all …]
|
| HD | DwarfUnit.cpp | 186 void DwarfUnit::addFlag(DIE &Die, dwarf::Attribute Attribute) { in addFlag() argument 188 Die.addValue(DIEValueAllocator, Attribute, dwarf::DW_FORM_flag_present, in addFlag() 191 Die.addValue(DIEValueAllocator, Attribute, dwarf::DW_FORM_flag, in addFlag() 195 void DwarfUnit::addUInt(DIE &Die, dwarf::Attribute Attribute, in addUInt() argument 199 Die.addValue(DIEValueAllocator, Attribute, *Form, DIEInteger(Integer)); in addUInt() 203 addUInt(Block, (dwarf::Attribute)0, Form, Integer); in addUInt() 206 void DwarfUnit::addSInt(DIE &Die, dwarf::Attribute Attribute, in addSInt() argument 210 Die.addValue(DIEValueAllocator, Attribute, *Form, DIEInteger(Integer)); in addSInt() 215 addSInt(Die, (dwarf::Attribute)0, Form, Integer); in addSInt() 218 void DwarfUnit::addString(DIE &Die, dwarf::Attribute Attribute, in addString() argument [all …]
|
| HD | DwarfCompileUnit.cpp | 30 void DwarfCompileUnit::addLabelAddress(DIE &Die, dwarf::Attribute Attribute, in addLabelAddress() argument 39 return addLocalLabelAddress(Die, Attribute, Label); in addLabelAddress() 45 Die.addValue(DIEValueAllocator, Attribute, dwarf::DW_FORM_GNU_addr_index, in addLabelAddress() 50 dwarf::Attribute Attribute, in addLocalLabelAddress() argument 56 Die.addValue(DIEValueAllocator, Attribute, dwarf::DW_FORM_addr, in addLocalLabelAddress() 59 Die.addValue(DIEValueAllocator, Attribute, dwarf::DW_FORM_addr, in addLocalLabelAddress() 232 DwarfCompileUnit::addSectionLabel(DIE &Die, dwarf::Attribute Attribute, in addSectionLabel() argument 235 return addLabel(Die, Attribute, in addSectionLabel() 239 return addSectionDelta(Die, Attribute, Label, Sec); in addSectionLabel() 366 DwarfCompileUnit::addSectionDelta(DIE &Die, dwarf::Attribute Attribute, in addSectionDelta() argument [all …]
|
| HD | DIEHash.h | 140 void hashDIEEntry(dwarf::Attribute Attribute, dwarf::Tag Tag, 146 void hashShallowTypeReference(dwarf::Attribute Attribute, const DIE &Entry, 150 void hashRepeatedTypeReference(dwarf::Attribute Attribute,
|
| /NextBSD/contrib/llvm/lib/Transforms/Utils/ |
| HD | BuildLibCalls.cpp | 43 AS[0] = AttributeSet::get(M->getContext(), 1, Attribute::NoCapture); in EmitStrLen() 44 Attribute::AttrKind AVs[2] = { Attribute::ReadOnly, Attribute::NoUnwind }; in EmitStrLen() 68 AS[0] = AttributeSet::get(M->getContext(), 1, Attribute::NoCapture); in EmitStrNLen() 69 Attribute::AttrKind AVs[2] = { Attribute::ReadOnly, Attribute::NoUnwind }; in EmitStrNLen() 93 Attribute::AttrKind AVs[2] = { Attribute::ReadOnly, Attribute::NoUnwind }; in EmitStrChr() 118 AS[0] = AttributeSet::get(M->getContext(), 1, Attribute::NoCapture); in EmitStrNCmp() 119 AS[1] = AttributeSet::get(M->getContext(), 2, Attribute::NoCapture); in EmitStrNCmp() 120 Attribute::AttrKind AVs[2] = { Attribute::ReadOnly, Attribute::NoUnwind }; in EmitStrNCmp() 145 AS[0] = AttributeSet::get(M->getContext(), 2, Attribute::NoCapture); in EmitStrCpy() 147 Attribute::NoUnwind); in EmitStrCpy() [all …]
|
| /NextBSD/contrib/llvm/include/llvm/CodeGen/ |
| HD | DIE.h | 38 dwarf::Attribute Attribute; variable 45 DIEAbbrevData(dwarf::Attribute A, dwarf::Form F) : Attribute(A), Form(F) {} in DIEAbbrevData() 48 dwarf::Attribute getAttribute() const { return Attribute; } in getAttribute() 91 void AddAttribute(dwarf::Attribute Attribute, dwarf::Form Form) { in AddAttribute() argument 92 Data.push_back(DIEAbbrevData(Attribute, Form)); in AddAttribute() 321 dwarf::Attribute Attribute = (dwarf::Attribute)0; variable 395 DIEValue(const DIEValue &X) : Ty(X.Ty), Attribute(X.Attribute), Form(X.Form) { in DIEValue() 401 Attribute = X.Attribute; 409 DIEValue(dwarf::Attribute Attribute, dwarf::Form Form, const DIE##T &V) \ 410 : Ty(is##T), Attribute(Attribute), Form(Form) { \ [all …]
|
| /NextBSD/contrib/llvm/lib/Transforms/IPO/ |
| HD | Inliner.cpp | 95 B.addAttribute(Attribute::StackProtect) in AdjustCallerSSPLevel() 96 .addAttribute(Attribute::StackProtectStrong) in AdjustCallerSSPLevel() 97 .addAttribute(Attribute::StackProtectReq); in AdjustCallerSSPLevel() 102 if (Callee->hasFnAttribute(Attribute::SafeStack)) { in AdjustCallerSSPLevel() 104 Caller->addFnAttr(Attribute::SafeStack); in AdjustCallerSSPLevel() 105 } else if (Callee->hasFnAttribute(Attribute::StackProtectReq) && in AdjustCallerSSPLevel() 106 !Caller->hasFnAttribute(Attribute::SafeStack)) { in AdjustCallerSSPLevel() 108 Caller->addFnAttr(Attribute::StackProtectReq); in AdjustCallerSSPLevel() 109 } else if (Callee->hasFnAttribute(Attribute::StackProtectStrong) && in AdjustCallerSSPLevel() 110 !Caller->hasFnAttribute(Attribute::SafeStack) && in AdjustCallerSSPLevel() [all …]
|
| HD | FunctionAttrs.cpp | 164 if (!F || F->hasFnAttribute(Attribute::OptimizeNone)) in AddReadAttrs() 281 B.addAttribute(Attribute::ReadOnly) in AddReadAttrs() 282 .addAttribute(Attribute::ReadNone); in AddReadAttrs() 289 ReadsMemory ? Attribute::ReadOnly : Attribute::ReadNone); in AddReadAttrs() 412 static Attribute::AttrKind 422 return Attribute::None; in determinePointerReadAttrs() 429 return Attribute::None; in determinePointerReadAttrs() 479 return Attribute::None; in determinePointerReadAttrs() 489 return Attribute::None; in determinePointerReadAttrs() 495 return Attribute::None; in determinePointerReadAttrs() [all …]
|
| /NextBSD/contrib/llvm/lib/Target/ARM/MCTargetDesc/ |
| HD | ARMELFStreamer.cpp | 79 void emitAttribute(unsigned Attribute, unsigned Value) override; 80 void emitTextAttribute(unsigned Attribute, StringRef String) override; 81 void emitIntTextAttribute(unsigned Attribute, unsigned IntValue, 156 void ARMTargetAsmStreamer::emitAttribute(unsigned Attribute, unsigned Value) { in emitAttribute() argument 157 OS << "\t.eabi_attribute\t" << Attribute << ", " << Twine(Value); in emitAttribute() 159 StringRef Name = ARMBuildAttrs::AttrTypeAsString(Attribute); in emitAttribute() 165 void ARMTargetAsmStreamer::emitTextAttribute(unsigned Attribute, in emitTextAttribute() argument 167 switch (Attribute) { in emitTextAttribute() 172 OS << "\t.eabi_attribute\t" << Attribute << ", \"" << String << "\""; in emitTextAttribute() 174 StringRef Name = ARMBuildAttrs::AttrTypeAsString(Attribute); in emitTextAttribute() [all …]
|
| /NextBSD/crypto/heimdal/lib/asn1/ |
| HD | pkcs8.asn1 | 7 IMPORTS Attribute, AlgorithmIdentifier FROM rfc2459 14 PKCS8Attributes ::= SET OF Attribute 20 attributes [0] IMPLICIT SET OF Attribute OPTIONAL
|
| HD | cms.asn1 | 7 Attribute, Certificate, SubjectKeyIdentifier FROM rfc2459 70 CMSAttributes ::= SET OF Attribute -- SIZE (1..MAX) 79 SET OF Attribute OPTIONAL, 83 SET OF Attribute OPTIONAL 130 UnprotectedAttributes ::= SET OF Attribute -- SIZE (1..MAX)
|
| /NextBSD/contrib/llvm/lib/Target/Mips/ |
| HD | MipsTargetMachine.cpp | 125 Attribute CPUAttr = F.getFnAttribute("target-cpu"); in getSubtargetImpl() 126 Attribute FSAttr = F.getFnAttribute("target-features"); in getSubtargetImpl() 128 std::string CPU = !CPUAttr.hasAttribute(Attribute::None) in getSubtargetImpl() 131 std::string FS = !FSAttr.hasAttribute(Attribute::None) in getSubtargetImpl() 135 !F.getFnAttribute("mips16").hasAttribute(Attribute::None); in getSubtargetImpl() 137 !F.getFnAttribute("nomips16").hasAttribute(Attribute::None); in getSubtargetImpl()
|
| /NextBSD/sys/boot/efi/loader/ |
| HD | main.c | 247 if (p->Attribute & EFI_MEMORY_UC) in command_memmap() 249 if (p->Attribute & EFI_MEMORY_WC) in command_memmap() 251 if (p->Attribute & EFI_MEMORY_WT) in command_memmap() 253 if (p->Attribute & EFI_MEMORY_WB) in command_memmap() 255 if (p->Attribute & EFI_MEMORY_UCE) in command_memmap() 257 if (p->Attribute & EFI_MEMORY_WP) in command_memmap() 259 if (p->Attribute & EFI_MEMORY_RP) in command_memmap() 261 if (p->Attribute & EFI_MEMORY_XP) in command_memmap()
|
| /NextBSD/contrib/llvm/lib/CodeGen/ |
| HD | Analysis.cpp | 279 if (cast<CallInst>(I)->paramHasAttr(attrInd, Attribute::Returned) && in getNoopInput() 290 if (cast<InvokeInst>(I)->paramHasAttr(attrInd, Attribute::Returned) && in getNoopInput() 547 CallerAttrs = CallerAttrs.removeAttribute(Attribute::NoAlias); in returnTypeIsEligibleForTailCall() 548 CalleeAttrs = CalleeAttrs.removeAttribute(Attribute::NoAlias); in returnTypeIsEligibleForTailCall() 551 if (CallerAttrs.contains(Attribute::ZExt)) { in returnTypeIsEligibleForTailCall() 552 if (!CalleeAttrs.contains(Attribute::ZExt)) in returnTypeIsEligibleForTailCall() 556 CallerAttrs.removeAttribute(Attribute::ZExt); in returnTypeIsEligibleForTailCall() 557 CalleeAttrs.removeAttribute(Attribute::ZExt); in returnTypeIsEligibleForTailCall() 558 } else if (CallerAttrs.contains(Attribute::SExt)) { in returnTypeIsEligibleForTailCall() 559 if (!CalleeAttrs.contains(Attribute::SExt)) in returnTypeIsEligibleForTailCall() [all …]
|
| /NextBSD/contrib/llvm/lib/Target/AMDGPU/ |
| HD | AMDGPUAlwaysInlinePass.cpp | 42 !F.hasFnAttribute(Attribute::NoInline)) in runOnModule() 55 if (F.hasLocalLinkage() && !F.hasFnAttribute(Attribute::NoInline)) { in runOnModule() 56 F.addFnAttr(Attribute::AlwaysInline); in runOnModule()
|
| /NextBSD/contrib/llvm/lib/Target/WebAssembly/ |
| HD | WebAssemblyTargetMachine.cpp | 64 Attribute CPUAttr = F.getFnAttribute("target-cpu"); in getSubtargetImpl() 65 Attribute FSAttr = F.getFnAttribute("target-features"); in getSubtargetImpl() 67 std::string CPU = !CPUAttr.hasAttribute(Attribute::None) in getSubtargetImpl() 70 std::string FS = !FSAttr.hasAttribute(Attribute::None) in getSubtargetImpl()
|