Home
last modified time | relevance | path

Searched refs:getAttributes (Results 1 – 25 of 157) sorted by relevance

1234567

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DGlobalVariable.h228 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 DInstrTypes.h1558 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 DAttributes.cpp1333 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 DTypeFinder.cpp59 incorporateAttributes(FI.getAttributes()); in run()
84 incorporateAttributes(CB->getAttributes()); in run()
H A DInstruction.cpp420 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 DFunction.cpp163 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 DPseudoProbe.cpp61 Probe.Attr = II->getAttributes()->getZExtValue(); in extractProbe()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64Arm64ECCallLowering.cpp455 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 DAArch64RegisterInfo.cpp94 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 DCGLoopInfo.h104 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 DCallPromotionUtils.cpp422 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 DLowerInvoke.cpp58 NewCall->setAttributes(II->getAttributes()); in runImpl()
H A DFunctionComparator.cpp122 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 DAArch64SMEAttributes.cpp42 *this = SMEAttrs(CB.getAttributes()); in SMEAttrs()
H A DAArch64SMEAttributes.h53 SMEAttrs(const Function &F) : SMEAttrs(F.getAttributes()) {} in SMEAttrs()
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseDecl.cpp64 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 DDeadArgumentElimination.cpp192 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 DArgumentPromotion.cpp127 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 DFunctionAttrs.cpp175 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 DSCCP.cpp202 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 DPPCGenScalarMASSEntries.cpp101 MASSEntryStr, Func.getFunctionType(), Func.getAttributes()); in createScalarMASSCall()
H A DPPCLowerMASSVEntries.cpp146 MASSVEntryName, Func.getFunctionType(), Func.getAttributes()); in lowerMASSVCall()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonOptimizeSZextends.cpp75 if (F.getAttributes().hasParamAttr(Idx, Attribute::SExt)) { in runOnFunction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyAddMissingPrototypes.cpp137 NewF->setAttributes(F.getAttributes()); in runOnModule()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86IndirectBranchTracking.cpp94 AttributeList Attrs = CalleeFn->getAttributes(); in IsCallReturnTwice()

1234567