| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | GlobalVariable.h | 228 AttributeSet getAttributes() const { in getAttributes() function 249 return getAttributes().hasAttribute("bss-section") || in hasImplicitSection() 250 getAttributes().hasAttribute("data-section") || in hasImplicitSection() 251 getAttributes().hasAttribute("relro-section") || in hasImplicitSection() 252 getAttributes().hasAttribute("rodata-section"); in hasImplicitSection()
|
| H A D | InstrTypes.h | 1558 AttributeList getAttributes() const { return Attrs; } 1695 return getAttributes().getAttributeAtIndex(i, Kind); 1700 return getAttributes().getAttributeAtIndex(i, Kind); 1705 Attribute Attr = getAttributes().getFnAttr(Kind); 1713 Attribute A = getAttributes().getFnAttr(Kind); 1722 return getAttributes().getParamAttr(ArgNo, Kind); 1728 return getAttributes().getParamAttr(ArgNo, Kind); 1826 return F->getAttributes().getRetAlignment(); 1844 return F->getAttributes().getParamByValType(ArgNo); 1862 return F->getAttributes().getParamInAllocaType(ArgNo); [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Attributes.cpp | 1333 AttributeSet Attrs = getAttributes(Index); in addAttributeAtIndex() 1383 AttrBuilder Merged(C, getAttributes(Index)); in addAttributesAtIndex() 1411 AttributeSet Attrs = getAttributes(Index); in removeAttributeAtIndex() 1421 AttributeSet Attrs = getAttributes(Index); in removeAttributeAtIndex() 1430 AttributeSet Attrs = getAttributes(Index); in removeAttributesAtIndex() 1484 return getAttributes(ArgNo + FirstArgIndex); in getParamAttrs() 1488 return getAttributes(ReturnIndex); in getRetAttrs() 1492 return getAttributes(FunctionIndex); in getFnAttrs() 1497 return getAttributes(Index).hasAttribute(Kind); in hasAttributeAtIndex() 1505 return getAttributes(Index).hasAttributes(); in hasAttributesAtIndex() [all …]
|
| H A D | TypeFinder.cpp | 59 incorporateAttributes(FI.getAttributes()); in run() 84 incorporateAttributes(CB->getAttributes()); in run()
|
| H A D | Instruction.cpp | 420 AttributeList AL = CB->getAttributes(); in dropUBImplyingAttrsAndUnknownMetadata() 722 CI->getAttributes() == cast<CallInst>(I2)->getAttributes() && in hasSameSpecialState() 726 CI->getAttributes() == cast<InvokeInst>(I2)->getAttributes() && in hasSameSpecialState() 730 CI->getAttributes() == cast<CallBrInst>(I2)->getAttributes() && in hasSameSpecialState()
|
| H A D | Function.cpp | 163 AttributeList Attrs = getParent()->getAttributes(); in hasPassPointeeByValueCopyAttr() 172 AttributeList Attrs = getParent()->getAttributes(); in hasPointeeInMemoryValueAttr() 201 getParent()->getAttributes().getParamAttrs(getArgNo()); in getPassPointeeByValueCopySize() 209 getParent()->getAttributes().getParamAttrs(getArgNo()); in getPointeeInMemoryValueType() 300 AttributeList Attrs = getParent()->getAttributes(); in onlyReadsMemory() 306 AttributeList AL = getParent()->getAttributes(); in addAttrs() 324 AttributeList AL = getParent()->getAttributes(); in removeAttrs() 447 setAttributes(Intrinsic::getAttributes(getContext(), IntID)); in Function() 781 setAttributes(Src->getAttributes()); in copyAttributesFrom() 795 return getAttributes().getMemoryEffects(); in getMemoryEffects()
|
| H A D | PseudoProbe.cpp | 61 Probe.Attr = II->getAttributes()->getZExtValue(); in extractProbe()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64Arm64ECCallLowering.cpp | 455 getThunkType(F->getFunctionType(), F->getAttributes(), ThunkType::Entry, in buildEntryThunk() 519 auto SRetAttr = F->getAttributes().getParamAttr(0, Attribute::StructRet); in buildEntryThunk() 520 auto InRegAttr = F->getAttributes().getParamAttr(0, Attribute::InReg); in buildEntryThunk() 554 getThunkType(F->getFunctionType(), F->getAttributes(), ThunkType::GuestExit, in buildGuestExitThunk() 590 Function *Thunk = buildExitThunk(F->getFunctionType(), F->getAttributes()); in buildGuestExitThunk() 610 auto SRetAttr = F->getAttributes().getParamAttr(0, Attribute::StructRet); in buildGuestExitThunk() 611 auto InRegAttr = F->getAttributes().getParamAttr(0, Attribute::InReg); in buildGuestExitThunk() 644 Function *Thunk = buildExitThunk(CB->getFunctionType(), CB->getAttributes()); in lowerCall() 704 {F, buildExitThunk(F->getFunctionType(), F->getAttributes()), 4}); in runOnModule()
|
| H A D | AArch64RegisterInfo.cpp | 94 MF->getFunction().getAttributes().hasAttrSomewhere( in getCalleeSavedRegs() 119 MF->getFunction().getAttributes().hasAttrSomewhere( in getCalleeSavedRegs() 169 MF->getFunction().getAttributes().hasAttrSomewhere( in getDarwinCalleeSavedRegs() 249 MF.getFunction().getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in getDarwinCallPreservedMask() 290 MF.getFunction().getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in getCallPreservedMask()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGLoopInfo.h | 104 const LoopAttributes &getAttributes() const { return Attrs; } in getAttributes() function 227 return hasInfo() ? getInfo().getAttributes().IsParallel : false; in getCurLoopParallel()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | CallPromotionUtils.cpp | 422 CB.getAttributes().hasParamAttr(I, Attribute::ByVal)) { in isLegalToPromote() 428 CB.getAttributes().hasParamAttr(I, Attribute::InAlloca)) { in isLegalToPromote() 502 const AttributeList &CallerPAL = CB.getAttributes(); in promoteCall()
|
| H A D | LowerInvoke.cpp | 58 NewCall->setAttributes(II->getAttributes()); in runImpl()
|
| H A D | FunctionComparator.cpp | 122 AttributeSet LAS = L.getAttributes(i); in cmpAttrs() 123 AttributeSet RAS = R.getAttributes(i); in cmpAttrs() 682 if (int Res = cmpAttrs(CBL->getAttributes(), CBR->getAttributes())) in cmpOperations() 927 if (int Res = cmpAttrs(FnL->getAttributes(), FnR->getAttributes())) in compareSignature()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/Utils/ |
| H A D | AArch64SMEAttributes.cpp | 42 *this = SMEAttrs(CB.getAttributes()); in SMEAttrs()
|
| H A D | AArch64SMEAttributes.h | 53 SMEAttrs(const Function &F) : SMEAttrs(F.getAttributes()) {} in SMEAttrs()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseDecl.cpp | 64 for (ParsedAttr &AL : DS.getAttributes()) { in ParseTypeName() 70 Attrs->takeOneFrom(DS.getAttributes(), AL); in ParseTypeName() 1874 for (ParsedAttr &AL : DS.getAttributes()) { in stripTypeAttributesOffDeclSpec() 1882 DS.getAttributes().remove(AL); in stripTypeAttributesOffDeclSpec() 4518 ParseOpenCLQualifiers(DS.getAttributes()); in ParseDeclarationSpecifiers() 4526 ParseHLSLQualifiers(DS.getAttributes()); in ParseDeclarationSpecifiers() 6071 ParseOpenCLQualifiers(DS.getAttributes()); in ParseTypeQualifierListOpt() 6079 ParseHLSLQualifiers(DS.getAttributes()); in ParseTypeQualifierListOpt() 6147 ParseGNUAttributes(DS.getAttributes()); in ParseTypeQualifierListOpt() 7028 for (ParsedAttr &attr : DS.getAttributes()) { in InitCXXThisScopeForDeclaratorIfRelevant() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | DeadArgumentElimination.cpp | 192 AttributeList PAL = CB->getAttributes(); in deleteDeadVarargs() 498 if (F.getAttributes().hasAttrSomewhere(Attribute::InAlloca) || in surveyFunction() 499 F.getAttributes().hasAttrSomewhere(Attribute::Preallocated)) { in surveyFunction() 752 const AttributeList &PAL = F->getAttributes(); in removeDeadStuffFromFunction() 890 const AttributeList &CallPAL = CB.getAttributes(); in removeDeadStuffFromFunction()
|
| H A D | ArgumentPromotion.cpp | 127 AttributeList PAL = F->getAttributes(); in doPromotion() 186 if (auto AllocSize = NF->getAttributes().getFnAttrs().getAllocSizeArgs()) { in doPromotion() 212 const AttributeList &CallPAL = CB.getAttributes(); in doPromotion() 721 if (F->getAttributes().hasAttrSomewhere(Attribute::InAlloca)) in promoteArguments()
|
| H A D | FunctionAttrs.cpp | 175 if (F.getAttributes().hasAttrSomewhere(Attribute::InAlloca) || in checkFunctionMemoryAccess() 176 F.getAttributes().hasAttrSomewhere(Attribute::Preallocated)) in checkFunctionMemoryAccess() 767 if (F->getAttributes().hasAttrSomewhere(Attribute::Returned)) in addArgumentReturnedAttrs() 1242 if (F->getAttributes().hasRetAttr(Attribute::NonNull)) in addNonNullAttrs() 1276 if (F->getAttributes().hasRetAttr(Attribute::NonNull) || in addNonNullAttrs() 1295 if (F->getAttributes().hasRetAttr(Attribute::NoUndef)) in addNoUndefAttrs()
|
| H A D | SCCP.cpp | 202 F.setAttributes(UpdateAttrs(F.getAttributes())); in runIPSCCP() 208 CB->setAttributes(UpdateAttrs(CB->getAttributes())); in runIPSCCP()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCGenScalarMASSEntries.cpp | 101 MASSEntryStr, Func.getFunctionType(), Func.getAttributes()); in createScalarMASSCall()
|
| H A D | PPCLowerMASSVEntries.cpp | 146 MASSVEntryName, Func.getFunctionType(), Func.getAttributes()); in lowerMASSVCall()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonOptimizeSZextends.cpp | 75 if (F.getAttributes().hasParamAttr(Idx, Attribute::SExt)) { in runOnFunction()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyAddMissingPrototypes.cpp | 137 NewF->setAttributes(F.getAttributes()); in runOnModule()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86IndirectBranchTracking.cpp | 94 AttributeList Attrs = CalleeFn->getAttributes(); in IsCallReturnTwice()
|