Home
last modified time | relevance | path

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

123456

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DGlobalVariable.h223 AttributeSet getAttributes() const { in getAttributes() function
244 return getAttributes().hasAttribute("bss-section") || in hasImplicitSection()
245 getAttributes().hasAttribute("data-section") || in hasImplicitSection()
246 getAttributes().hasAttribute("relro-section") || in hasImplicitSection()
247 getAttributes().hasAttribute("rodata-section"); in hasImplicitSection()
H A DInstrTypes.h1490 AttributeList PAL = getAttributes();
1497 AttributeList PAL = getAttributes();
1505 AttributeList PAL = getAttributes();
1513 AttributeList PAL = getAttributes();
1520 AttributeList PAL = getAttributes();
1527 AttributeList PAL = getAttributes();
1533 AttributeList PAL = getAttributes();
1541 AttributeList PAL = getAttributes();
1549 AttributeList PAL = getAttributes();
1556 AttributeList PAL = getAttributes();
[all …]
H A DFunction.h250 AttributeList getAttributes() const { return AttributeSets; } in getAttributes() function
278 setAttributes(getAttributes().removeAttribute( in removeFnAttr()
446 return getAttributes().hasAttribute(i, Kind); in hasAttribute()
451 return getAttributes().hasParamAttribute(ArgNo, Kind); in hasParamAttribute()
456 return getAttributes().getParamAttr(ArgNo, Kind); in getParamAttribute()
H A DIntrinsics.h89 AttributeList getAttributes(LLVMContext &C, ID id);
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DAttributes.cpp1215 AttributeSet Attrs = getAttributes(Index); in addAttribute()
1264 AttrBuilder Merged(getAttributes(Index)); in addAttributes()
1318 AttributeSet Attrs = getAttributes(Index); in removeAttributes()
1376 return getAttributes(ArgNo + FirstArgIndex); in getParamAttributes()
1380 return getAttributes(ReturnIndex); in getRetAttributes()
1384 return getAttributes(FunctionIndex); in getFnAttributes()
1397 return getAttributes(Index).hasAttributes(); in hasAttributes()
1524 if (!getAttributes(i).hasAttributes()) in print()
1553 AttributeSet AS = AL.getAttributes(Index); in AttrBuilder()
1636 remove(A.getAttributes(Index)); in removeAttributes()
[all …]
H A DPseudoProbe.cpp53 Probe.Attr = II->getAttributes()->getZExtValue(); in extractProbe()
104 uint32_t OldAttr = Inst.getAttributes()->getZExtValue(); in addPseudoProbeAttribute()
107 Inst.replaceUsesOfWith(Inst.getAttributes(), Builder.getInt32(NewAttr)); in addPseudoProbeAttribute()
H A DFunction.cpp533 AttributeList PAL = getAttributes(); in addAttribute()
539 AttributeList PAL = getAttributes(); in addAttribute()
545 AttributeList PAL = getAttributes(); in addAttributes()
551 AttributeList PAL = getAttributes(); in addParamAttr()
557 AttributeList PAL = getAttributes(); in addParamAttr()
563 AttributeList PAL = getAttributes(); in addParamAttrs()
569 AttributeList PAL = getAttributes(); in removeAttribute()
575 AttributeList PAL = getAttributes(); in removeAttribute()
581 AttributeList PAL = getAttributes(); in removeAttributes()
587 AttributeList PAL = getAttributes(); in removeParamAttr()
[all …]
H A DInstruction.cpp177 AttributeList AL = CB->getAttributes(); in dropUndefImplyingAttrsAndUnknownMetadata()
452 CI->getAttributes() == cast<CallInst>(I2)->getAttributes() && in haveSameSpecialState()
456 CI->getAttributes() == cast<InvokeInst>(I2)->getAttributes() && in haveSameSpecialState()
460 CI->getAttributes() == cast<CallBrInst>(I2)->getAttributes() && in haveSameSpecialState()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp514 NewCI->setAttributes(CI->getAttributes()); in optimizeStrCpy()
543 NewCI->setAttributes(CI->getAttributes()); in optimizeStpCpy()
606 NewCI->setAttributes(CI->getAttributes()); in optimizeStrNCpy()
1084 NewCI->setAttributes(CI->getAttributes()); in optimizeMemCpy()
1138 NewCI->setAttributes(CI->getAttributes()); in optimizeMemPCpy()
1153 NewCI->setAttributes(CI->getAttributes()); in optimizeMemMove()
1215 NewCI->setAttributes(CI->getAttributes()); in optimizeMemSet()
3268 NewCI->setAttributes(CI->getAttributes()); in optimizeMemCpyChk()
3282 NewCI->setAttributes(CI->getAttributes()); in optimizeMemMoveChk()
3298 NewCI->setAttributes(CI->getAttributes()); in optimizeMemSetChk()
[all …]
H A DLowerInvoke.cpp60 NewCall->setAttributes(II->getAttributes()); in runImpl()
H A DFunctionComparator.cpp114 AttributeSet LAS = L.getAttributes(i); in cmpAttrs()
115 AttributeSet RAS = R.getAttributes(i); in cmpAttrs()
596 if (int Res = cmpAttrs(CBL->getAttributes(), CBR->getAttributes())) in cmpOperations()
826 if (int Res = cmpAttrs(FnL->getAttributes(), FnR->getAttributes())) in compareSignature()
H A DAssumeBundleBuilder.cpp209 for (Attribute Attr : AttrList.getAttributes(Idx)) { in addCall()
218 addAttrList(Call->getAttributes()); in addCall()
220 addAttrList(Fn->getAttributes()); in addCall()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAttributor.cpp186 virtual const DenseSet<StringRef> &getAttributes() const = 0;
380 const DenseSet<StringRef> &CalleeAttributes = AAAMD.getAttributes(); in updateImpl()
467 const DenseSet<StringRef> &getAttributes() const override { in getAttributes() function
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp187 AttributeList PAL = CB->getAttributes(); in DeleteDeadVarargs()
491 if (F.getAttributes().hasAttrSomewhere(Attribute::InAlloca) || in SurveyFunction()
492 F.getAttributes().hasAttrSomewhere(Attribute::Preallocated)) { in SurveyFunction()
751 const AttributeList &PAL = F->getAttributes(); in RemoveDeadStuffFromFunction()
888 const AttributeList &CallPAL = CB.getAttributes(); in RemoveDeadStuffFromFunction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64RegisterInfo.cpp100 MF->getFunction().getAttributes().hasAttrSomewhere( in getCalleeSavedRegs()
136 MF->getFunction().getAttributes().hasAttrSomewhere( in getDarwinCalleeSavedRegs()
204 MF.getFunction().getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in getDarwinCallPreservedMask()
239 MF.getFunction().getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in getCallPreservedMask()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCPseudoProbe.h94 uint8_t getAttributes() const { return Attributes; } in getAttributes() function
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyAddMissingPrototypes.cpp127 NewF->setAttributes(F.getAttributes()); in runOnModule()
/freebsd-13.1/contrib/llvm-project/clang/lib/Parse/
H A DParseDecl.cpp1675 for (ParsedAttr &AL : DS.getAttributes()) { in stripTypeAttributesOffDeclSpec()
1683 DS.getAttributes().remove(AL); in stripTypeAttributesOffDeclSpec()
3595 ParseBorlandTypeAttributes(DS.getAttributes()); in ParseDeclarationSpecifiers()
3751 ParseAlignmentSpecifier(DS.getAttributes()); in ParseDeclarationSpecifiers()
4102 ParseOpenCLQualifiers(DS.getAttributes()); in ParseDeclarationSpecifiers()
5566 ParseOpenCLQualifiers(DS.getAttributes()); in ParseTypeQualifierListOpt()
5628 ParseGNUAttributes(DS.getAttributes()); in ParseTypeQualifierListOpt()
5774 std::move(DS.getAttributes()), in ParseDeclaratorInternal()
6470 for (ParsedAttr &attr : DS.getAttributes()) { in InitCXXThisScopeForDeclaratorIfRelevant()
6838 MaybeParseCXX11Attributes(DS.getAttributes()); in ParseParameterDeclarationClause()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonOptimizeSZextends.cpp75 if (F.getAttributes().hasAttribute(Idx, Attribute::SExt)) { in runOnFunction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCLowerMASSVEntries.cpp146 MASSVEntryName, Func.getFunctionType(), Func.getAttributes()); in lowerMASSVCall()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86IndirectBranchTracking.cpp94 AttributeList Attrs = CalleeFn->getAttributes(); in IsCallReturnTwice()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaType.cpp228 return getMutableDeclSpec().getAttributes(); in getCurrentAttributes()
238 for (ParsedAttr &AL : spec.getAttributes()) in saveDeclSpecAttrs()
339 getMutableDeclSpec().getAttributes().clearListOnly(); in restoreDeclSpecAttrs()
341 getMutableDeclSpec().getAttributes().addAtEnd(AL); in restoreDeclSpecAttrs()
558 declarator.getAttributes(), &attr); in distributeObjCPointerTypeAttrFromDeclarator()
572 declarator.getAttributes().remove(&attr); in distributeObjCPointerTypeAttrFromDeclarator()
668 declarator.getAttributes().remove(&attr); in distributeFunctionTypeAttrFromDeclarator()
684 assert(!state.getDeclarator().getAttributes().empty() && in distributeTypeAttrsFromDeclarator()
3370 if (!D.getAttributes().empty()) in GetDeclSpecTypeForDeclarator()
4653 if (hasCFReturnsAttr(D.getAttributes()) || in GetFullTypeForDeclarator()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.cpp377 EnumerateAttributes(F.getAttributes()); in ValueEnumerator()
478 EnumerateAttributes(Call->getAttributes()); in ValueEnumerator()
1040 AttributeSet AS = PAL.getAttributes(i); in EnumerateAttributes()
1096 EnumerateAttributes(F.getAttributes()); in incorporateFunction()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DDeclSpec.h795 ParsedAttributes &getAttributes() { return Attrs; } in getAttributes() function
796 const ParsedAttributes &getAttributes() const { return Attrs; } in getAttributes() function
1475 MethodQualifiers->getAttributes().size()); in hasMethodTypeQualifiers()
2523 const ParsedAttributes &getAttributes() const { return Attrs; } in getAttributes() function
2524 ParsedAttributes &getAttributes() { return Attrs; } in getAttributes() function
2528 if (!getAttributes().empty() || getDeclSpec().hasAttributes()) in hasAttributes()

123456