Home
last modified time | relevance | path

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

1234567

/openbsd/gnu/llvm/llvm/include/llvm/IR/
H A DGlobalVariable.h222 AttributeSet getAttributes() const { in getAttributes() function
243 return getAttributes().hasAttribute("bss-section") || in hasImplicitSection()
244 getAttributes().hasAttribute("data-section") || in hasImplicitSection()
245 getAttributes().hasAttribute("relro-section") || in hasImplicitSection()
246 getAttributes().hasAttribute("rodata-section"); in hasImplicitSection()
H A DInstrTypes.h1484 AttributeList getAttributes() const { return Attrs; }
1616 return getAttributes().getAttributeAtIndex(i, Kind);
1621 return getAttributes().getAttributeAtIndex(i, Kind);
1626 Attribute Attr = getAttributes().getFnAttr(Kind);
1634 Attribute A = getAttributes().getFnAttr(Kind);
1643 return getAttributes().getParamAttr(ArgNo, Kind);
1649 return getAttributes().getParamAttr(ArgNo, Kind);
1747 return F->getAttributes().getRetAlignment();
1765 return F->getAttributes().getParamByValType(ArgNo);
1783 return F->getAttributes().getParamInAllocaType(ArgNo);
[all …]
/openbsd/gnu/llvm/llvm/tools/llvm-reduce/deltas/
H A DReduceAttributes.cpp61 AttributeSet AS = GV.getAttributes(); in visitGlobalVariable()
72 F.setAttributes(visitAttributeList(F.getAttributes())); in visitFunction()
76 CB.setAttributes(visitAttributeList(CB.getAttributes())); in visitCallBase()
81 visitAttributeSet(AL.getAttributes(Index), AttributesToPreserve); in visitAttributeIndex()
/openbsd/gnu/llvm/llvm/lib/IR/
H A DAttributes.cpp1304 AttributeSet Attrs = getAttributes(Index); in addAttributeAtIndex()
1354 AttrBuilder Merged(C, getAttributes(Index)); in addAttributesAtIndex()
1382 AttributeSet Attrs = getAttributes(Index); in removeAttributeAtIndex()
1392 AttributeSet Attrs = getAttributes(Index); in removeAttributeAtIndex()
1401 AttributeSet Attrs = getAttributes(Index); in removeAttributesAtIndex()
1455 return getAttributes(ArgNo + FirstArgIndex); in getParamAttrs()
1459 return getAttributes(ReturnIndex); in getRetAttrs()
1463 return getAttributes(FunctionIndex); in getFnAttrs()
1468 return getAttributes(Index).hasAttribute(Kind); in hasAttributeAtIndex()
1476 return getAttributes(Index).hasAttributes(); in hasAttributesAtIndex()
[all …]
H A DInstruction.cpp235 AttributeList AL = CB->getAttributes(); in dropUndefImplyingAttrsAndUnknownMetadata()
511 CI->getAttributes() == cast<CallInst>(I2)->getAttributes() && in haveSameSpecialState()
515 CI->getAttributes() == cast<InvokeInst>(I2)->getAttributes() && in haveSameSpecialState()
519 CI->getAttributes() == cast<CallBrInst>(I2)->getAttributes() && in haveSameSpecialState()
H A DTypeFinder.cpp59 incorporateAttributes(FI.getAttributes()); in run()
84 incorporateAttributes(CB->getAttributes()); in run()
H A DPseudoProbe.cpp54 Probe.Attr = II->getAttributes()->getZExtValue(); in extractProbe()
H A DFunction.cpp141 AttributeList Attrs = getParent()->getAttributes(); in hasPassPointeeByValueCopyAttr()
150 AttributeList Attrs = getParent()->getAttributes(); in hasPointeeInMemoryValueAttr()
179 getParent()->getAttributes().getParamAttrs(getArgNo()); in getPassPointeeByValueCopySize()
187 getParent()->getAttributes().getParamAttrs(getArgNo()); in getPointeeInMemoryValueType()
274 AttributeList Attrs = getParent()->getAttributes(); in onlyReadsMemory()
280 AttributeList AL = getParent()->getAttributes(); in addAttrs()
298 AttributeList AL = getParent()->getAttributes(); in removeAttrs()
421 setAttributes(Intrinsic::getAttributes(getContext(), IntID)); in Function()
742 setAttributes(Src->getAttributes()); in copyAttributesFrom()
756 return getAttributes().getMemoryEffects(); in getMemoryEffects()
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCGLoopInfo.h101 const LoopAttributes &getAttributes() const { return Attrs; } in getAttributes() function
224 return hasInfo() ? getInfo().getAttributes().IsParallel : false; in getCurLoopParallel()
/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp421 CB.getAttributes().hasParamAttr(I, Attribute::ByVal)) { in isLegalToPromote()
427 CB.getAttributes().hasParamAttr(I, Attribute::InAlloca)) { in isLegalToPromote()
501 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()
611 if (int Res = cmpAttrs(CBL->getAttributes(), CBR->getAttributes())) in cmpOperations()
841 if (int Res = cmpAttrs(FnL->getAttributes(), FnR->getAttributes())) in compareSignature()
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/Utils/
H A DAArch64SMEAttributes.cpp30 *this = SMEAttrs(CB.getAttributes()); in SMEAttrs()
H A DAArch64SMEAttributes.h41 SMEAttrs(const Function &F) : SMEAttrs(F.getAttributes()) {} in SMEAttrs()
/openbsd/gnu/llvm/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp185 AttributeList PAL = CB->getAttributes(); in deleteDeadVarargs()
491 if (F.getAttributes().hasAttrSomewhere(Attribute::InAlloca) || in surveyFunction()
492 F.getAttributes().hasAttrSomewhere(Attribute::Preallocated)) { in surveyFunction()
737 const AttributeList &PAL = F->getAttributes(); in removeDeadStuffFromFunction()
874 const AttributeList &CallPAL = CB.getAttributes(); in removeDeadStuffFromFunction()
H A DArgumentPromotion.cpp161 AttributeList PAL = F->getAttributes(); in doPromotion()
226 const AttributeList &CallPAL = CB.getAttributes(); in doPromotion()
727 if (F->getAttributes().hasAttrSomewhere(Attribute::InAlloca)) in promoteArguments()
H A DSCCP.cpp197 F.setAttributes(UpdateAttrs(F.getAttributes())); in runIPSCCP()
203 CB->setAttributes(UpdateAttrs(CB->getAttributes())); in runIPSCCP()
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonOptimizeSZextends.cpp75 if (F.getAttributes().hasParamAttr(Idx, Attribute::SExt)) { in runOnFunction()
/openbsd/gnu/llvm/llvm/tools/bugpoint-passes/
H A DTestPasses.cpp146 AttributeSet A = F.getAttributes().getFnAttrs(); in runOnFunction()
/openbsd/gnu/llvm/clang/lib/Parse/
H A DParseDecl.cpp1741 for (ParsedAttr &AL : DS.getAttributes()) { in stripTypeAttributesOffDeclSpec()
1749 DS.getAttributes().remove(AL); in stripTypeAttributesOffDeclSpec()
3977 ParseAlignmentSpecifier(DS.getAttributes()); in ParseDeclarationSpecifiers()
4340 ParseOpenCLQualifiers(DS.getAttributes()); in ParseDeclarationSpecifiers()
4345 ParseHLSLQualifiers(DS.getAttributes()); in ParseDeclarationSpecifiers()
5860 ParseOpenCLQualifiers(DS.getAttributes()); in ParseTypeQualifierListOpt()
5865 ParseHLSLQualifiers(DS.getAttributes()); in ParseTypeQualifierListOpt()
5927 ParseGNUAttributes(DS.getAttributes()); in ParseTypeQualifierListOpt()
6076 std::move(DS.getAttributes()), in ParseDeclaratorInternal()
6796 for (ParsedAttr &attr : DS.getAttributes()) { in InitCXXThisScopeForDeclaratorIfRelevant()
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/WebAssembly/
H A DWebAssemblyAddMissingPrototypes.cpp137 NewF->setAttributes(F.getAttributes()); in runOnModule()
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64RegisterInfo.cpp108 MF->getFunction().getAttributes().hasAttrSomewhere( in getCalleeSavedRegs()
156 MF->getFunction().getAttributes().hasAttrSomewhere( in getDarwinCalleeSavedRegs()
234 MF.getFunction().getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in getDarwinCallPreservedMask()
273 MF.getFunction().getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in getCallPreservedMask()
/openbsd/gnu/llvm/llvm/lib/Target/X86/
H A DX86IndirectBranchTracking.cpp94 AttributeList Attrs = CalleeFn->getAttributes(); in IsCallReturnTwice()

1234567