/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | GlobalVariable.h | 228 AttributeSet getAttributes() const { 249 return getAttributes().hasAttribute("bss-section") || 250 getAttributes().hasAttribute("data-section") || in classof() 251 getAttributes().hasAttribute("relro-section") || in classof() 252 getAttributes().hasAttribute("rodata-section"); in classof() 222 AttributeSet getAttributes() const { getAttributes() function
|
H A D | InstrTypes.h | 1542 AttributeList getAttributes() const { return Attrs; } 1696 return getAttributes().getAttributeAtIndex(i, Kind); 1701 return getAttributes().getAttributeAtIndex(i, Kind); 1706 Attribute Attr = getAttributes().getFnAttr(Kind); 1714 Attribute A = getAttributes().getFnAttr(Kind); 1723 Attribute A = getAttributes().getParamAttr(ArgNo, Kind); 1732 Attribute A = getAttributes().getParamAttr(ArgNo, Kind); 1833 return F->getAttributes().getRetAlignment(); 1851 return F->getAttributes().getParamByRefType(ArgNo); 1860 return F->getAttributes().getParamByValType(ArgNo); [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Attributes.cpp | 1453 CurBuilder.merge(AttrBuilder(C, List.getAttributes(I - 1))); in get() 1463 AttributeSet Attrs = getAttributes(Index); in addAttributeAtIndex() 1513 AttrBuilder Merged(C, getAttributes(Index)); in addAttributesAtIndex() 1541 AttributeSet Attrs = getAttributes(Index); in removeAttributeAtIndex() 1551 AttributeSet Attrs = getAttributes(Index); in removeAttributeAtIndex() 1560 AttributeSet Attrs = getAttributes(Index); in removeAttributesAtIndex() 1621 return getAttributes(ArgNo + FirstArgIndex); in getParamAttrs() 1625 return getAttributes(ReturnIndex); in getRetAttrs() 1629 return getAttributes(FunctionIndex); in getFnAttrs() 1634 return getAttributes(Index).hasAttribute(Kind); in hasAttributeAtIndex() [all …]
|
H A D | TypeFinder.cpp | 59 incorporateAttributes(FI.getAttributes()); in run() 84 incorporateAttributes(CB->getAttributes()); in run()
|
H A D | Instruction.cpp | 468 AttributeSet RetAttrs = CB->getAttributes().getRetAttrs(); in hasPoisonGeneratingReturnAttributes() 496 AttributeList AL = CB->getAttributes(); in dropUBImplyingAttrsAndUnknownMetadata() 814 CI->getAttributes() == cast<CallInst>(I2)->getAttributes() && in hasSameSpecialState() 818 CI->getAttributes() == cast<InvokeInst>(I2)->getAttributes() && in hasSameSpecialState() 822 CI->getAttributes() == cast<CallBrInst>(I2)->getAttributes() && in hasSameSpecialState()
|
H A D | Function.cpp | 173 AttributeList Attrs = getParent()->getAttributes(); in hasPassPointeeByValueCopyAttr() 182 AttributeList Attrs = getParent()->getAttributes(); in hasPointeeInMemoryValueAttr() 211 getParent()->getAttributes().getParamAttrs(getArgNo()); in getPassPointeeByValueCopySize() 219 getParent()->getAttributes().getParamAttrs(getArgNo()); in getPointeeInMemoryValueType() 317 AttributeList Attrs = getParent()->getAttributes(); in onlyReadsMemory() 323 AttributeList AL = getParent()->getAttributes(); in addAttrs() 341 AttributeList AL = getParent()->getAttributes(); in removeAttrs() 508 setAttributes(Intrinsic::getAttributes(getContext(), IntID)); in Function() 842 setAttributes(Src->getAttributes()); in copyAttributesFrom() 856 return getAttributes().getMemoryEffects(); in getMemoryEffects()
|
H A D | PseudoProbe.cpp | 61 Probe.Attr = II->getAttributes()->getZExtValue(); in extractProbe()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64Arm64ECCallLowering.cpp | 511 getThunkType(F->getFunctionType(), F->getAttributes(), in buildEntryThunk() 579 auto SRetAttr = F->getAttributes().getParamAttr(0, Attribute::StructRet); in buildEntryThunk() 580 auto InRegAttr = F->getAttributes().getParamAttr(0, Attribute::InReg); in buildEntryThunk() 615 getThunkType(F->getFunctionType(), F->getAttributes(), in buildGuestExitThunk() 652 Function *Thunk = buildExitThunk(F->getFunctionType(), F->getAttributes()); in buildGuestExitThunk() 672 auto SRetAttr = F->getAttributes().getParamAttr(0, Attribute::StructRet); in buildGuestExitThunk() 673 auto InRegAttr = F->getAttributes().getParamAttr(0, Attribute::InReg); in buildGuestExitThunk() 689 getThunkType(F->getFunctionType(), F->getAttributes(), in buildPatchableThunk() 711 buildExitThunk(F->getFunctionType(), F->getAttributes()); in buildPatchableThunk() 731 auto SRetAttr = F->getAttributes().getParamAttr(0, Attribute::StructRet); in buildPatchableThunk() [all …]
|
H A D | AArch64RegisterInfo.cpp | 96 MF->getFunction().getAttributes().hasAttrSomewhere( in getCalleeSavedRegs() 130 MF->getFunction().getAttributes().hasAttrSomewhere( in getCalleeSavedRegs() 189 MF->getFunction().getAttributes().hasAttrSomewhere( in getDarwinCalleeSavedRegs() 267 MF.getFunction().getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in getDarwinCallPreservedMask() 313 MF.getFunction().getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in getCallPreservedMask()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXUtilities.cpp | 351 F.getAttributes().getAttributes(Index).getStackAlignment()) in getAlign() 369 I.getAttributes().getAttributes(Index).getStackAlignment()) in getAlign()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGLoopInfo.h | 104 const LoopAttributes &getAttributes() const { return Attrs; } in getAttributes() function 231 return hasInfo() ? getInfo().getAttributes().IsParallel : false; in getCurLoopParallel()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
H A D | DXILIntrinsicExpansion.cpp | 119 Exp2Call->setAttributes(Orig->getAttributes()); in expandExpIntrinsic() 190 Log2Call->setAttributes(Orig->getAttributes()); in expandLogIntrinsic() 214 Exp2Call->setAttributes(Orig->getAttributes()); in expandPowIntrinsic()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | CallPromotionUtils.cpp | 434 CB.getAttributes().hasParamAttr(I, Attribute::ByVal)) { in isLegalToPromote() 440 CB.getAttributes().hasParamAttr(I, Attribute::InAlloca)) { in isLegalToPromote() 514 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() 702 if (int Res = cmpAttrs(CBL->getAttributes(), CBR->getAttributes())) in cmpOperations() 947 if (int Res = cmpAttrs(FnL->getAttributes(), FnR->getAttributes())) in compareSignature()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | DeadArgumentElimination.cpp | 192 AttributeList PAL = CB->getAttributes(); in deleteDeadVarargs() 496 if (F.getAttributes().hasAttrSomewhere(Attribute::InAlloca) || in surveyFunction() 497 F.getAttributes().hasAttrSomewhere(Attribute::Preallocated)) { in surveyFunction() 750 const AttributeList &PAL = F->getAttributes(); in removeDeadStuffFromFunction() 888 const AttributeList &CallPAL = CB.getAttributes(); in removeDeadStuffFromFunction()
|
H A D | ArgumentPromotion.cpp | 128 AttributeList PAL = F->getAttributes(); in doPromotion() 187 if (auto AllocSize = NF->getAttributes().getFnAttrs().getAllocSizeArgs()) { in doPromotion() 213 const AttributeList &CallPAL = CB.getAttributes(); in doPromotion() 778 if (F->getAttributes().hasAttrSomewhere(Attribute::InAlloca)) in promoteArguments()
|
H A D | SCCP.cpp | 201 F.setAttributes(UpdateAttrs(F.getAttributes())); in runIPSCCP() 207 CB->setAttributes(UpdateAttrs(CB->getAttributes())); in runIPSCCP()
|
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 AttributeList Attrs = F->getAttributes(); in addNoUndefAttrs()
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseDecl.cpp | 68 for (ParsedAttr &AL : DS.getAttributes()) { in ParseTypeName() 74 Attrs->takeOneFrom(DS.getAttributes(), AL); in ParseTypeName() 1980 for (ParsedAttr &AL : DS.getAttributes()) { in stripTypeAttributesOffDeclSpec() 1988 DS.getAttributes().remove(AL); in stripTypeAttributesOffDeclSpec() 3700 ParseAlignmentSpecifier(DS.getAttributes()); in ParseDeclarationSpecifiers() 4212 ParseAttributes(PAKM_GNU | PAKM_Declspec, DS.getAttributes(), LateAttrs); in ParseDeclarationSpecifiers() 4220 DS.getAttributes().addNew(AttrName, AttrNameLoc, nullptr, AttrNameLoc, in ParseDeclarationSpecifiers() 4241 ParseMicrosoftTypeAttributes(DS.getAttributes()); in ParseDeclarationSpecifiers() 4245 ParseWebAssemblyFuncrefTypeAttribute(DS.getAttributes()); in ParseDeclarationSpecifiers() 4250 ParseBorlandTypeAttributes(DS.getAttributes()); in ParseDeclarationSpecifiers() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCGenScalarMASSEntries.cpp | 101 MASSEntryStr, Func.getFunctionType(), Func.getAttributes()); in createScalarMASSCall()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/Utils/ |
H A D | AArch64SMEAttributes.cpp | 44 *this = SMEAttrs(CB.getAttributes()); in SMEAttrs()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonOptimizeSZextends.cpp | 75 if (F.getAttributes().hasParamAttr(Idx, Attribute::SExt)) { in runOnFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyAddMissingPrototypes.cpp | 137 NewF->setAttributes(F.getAttributes()); in runOnModule()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | HardwareLoops.cpp | 506 if (BeginBB->getParent()->getAttributes().hasFnAttr(Attribute::StrictFP)) in InsertIterationSetup() 540 if (ExitBranch->getParent()->getParent()->getAttributes().hasFnAttr( in InsertLoopDec() 565 if (ExitBranch->getParent()->getParent()->getAttributes().hasFnAttr( in InsertLoopRegDec()
|