/openbsd/gnu/llvm/llvm/include/llvm/IR/ |
H A D | GlobalVariable.h | 222 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 D | InstrTypes.h | 1484 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 D | ReduceAttributes.cpp | 61 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 D | Attributes.cpp | 1304 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 D | Instruction.cpp | 235 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 D | TypeFinder.cpp | 59 incorporateAttributes(FI.getAttributes()); in run() 84 incorporateAttributes(CB->getAttributes()); in run()
|
H A D | PseudoProbe.cpp | 54 Probe.Attr = II->getAttributes()->getZExtValue(); in extractProbe()
|
H A D | Function.cpp | 141 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 D | CGLoopInfo.h | 101 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 D | CallPromotionUtils.cpp | 421 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 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() 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 D | AArch64SMEAttributes.cpp | 30 *this = SMEAttrs(CB.getAttributes()); in SMEAttrs()
|
H A D | AArch64SMEAttributes.h | 41 SMEAttrs(const Function &F) : SMEAttrs(F.getAttributes()) {} in SMEAttrs()
|
/openbsd/gnu/llvm/llvm/lib/Transforms/IPO/ |
H A D | DeadArgumentElimination.cpp | 185 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 D | ArgumentPromotion.cpp | 161 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 D | SCCP.cpp | 197 F.setAttributes(UpdateAttrs(F.getAttributes())); in runIPSCCP() 203 CB->setAttributes(UpdateAttrs(CB->getAttributes())); in runIPSCCP()
|
/openbsd/gnu/llvm/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()
|
/openbsd/gnu/llvm/llvm/lib/Target/Hexagon/ |
H A D | HexagonOptimizeSZextends.cpp | 75 if (F.getAttributes().hasParamAttr(Idx, Attribute::SExt)) { in runOnFunction()
|
/openbsd/gnu/llvm/llvm/tools/bugpoint-passes/ |
H A D | TestPasses.cpp | 146 AttributeSet A = F.getAttributes().getFnAttrs(); in runOnFunction()
|
/openbsd/gnu/llvm/clang/lib/Parse/ |
H A D | ParseDecl.cpp | 1741 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 D | WebAssemblyAddMissingPrototypes.cpp | 137 NewF->setAttributes(F.getAttributes()); in runOnModule()
|
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/ |
H A D | AArch64RegisterInfo.cpp | 108 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 D | X86IndirectBranchTracking.cpp | 94 AttributeList Attrs = CalleeFn->getAttributes(); in IsCallReturnTwice()
|