Home
last modified time | relevance | path

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

1234567

/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-reduce/deltas/
H A DReduceAttributes.cpp68 const AttributeSet &AS = GV.getAttributes(); in visitGlobalVariable()
76 visitAttributeList(F.getAttributes(), FunctionsToRefine[&F]); in visitFunction()
80 visitAttributeList(I.getAttributes(), CallsToRefine[&I]); in visitCallBase()
90 visitAttributeSet(AL.getAttributes(AttributesToPreserve.first), in visitAttributeList()
118 visitAttributeSet(GV.getAttributes()); in visitGlobalVariable()
124 visitAttributeList(F.getAttributes()); in visitFunction()
127 void visitCallBase(CallBase &I) { visitAttributeList(I.getAttributes()); } in visitCallBase()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
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()
149 Left->getAttributes() == Right->getAttributes() && in removeRedundantPseudoProbes()
159 if (II->getAttributes()->getZExtValue() & in removeRedundantPseudoProbes()
H A DAttributes.cpp1374 CurBuilder.merge(List.getAttributes(I - 1)); in get()
1384 AttributeSet Attrs = getAttributes(Index); in addAttribute()
1427 const MaybeAlign OldAlign = getAttributes(Index).getAlignment(); in addAttributes()
1433 AttrBuilder Merged(getAttributes(Index)); in addAttributes()
1487 AttributeSet Attrs = getAttributes(Index); in removeAttributes()
1556 return getAttributes(ArgNo + FirstArgIndex); in getParamAttributes()
1560 return getAttributes(ReturnIndex); in getRetAttributes()
1564 return getAttributes(FunctionIndex); in getFnAttributes()
1569 return getAttributes(Index).hasAttribute(Kind); in hasAttribute()
1573 return getAttributes(Index).hasAttribute(Kind); in hasAttribute()
[all …]
H A DFunction.cpp137 AttributeList Attrs = getParent()->getAttributes(); in hasPassPointeeByValueCopyAttr()
146 AttributeList Attrs = getParent()->getAttributes(); in hasPointeeInMemoryValueAttr()
181 getParent()->getAttributes().getParamAttributes(getArgNo()); in getPassPointeeByValueCopySize()
189 getParent()->getAttributes().getParamAttributes(getArgNo()); in getPointeeInMemoryValueType()
281 AttributeList Attrs = getParent()->getAttributes(); in onlyReadsMemory()
287 AttributeList AL = getParent()->getAttributes(); in addAttrs()
305 AttributeList AL = getParent()->getAttributes(); in removeAttrs()
408 setAttributes(Intrinsic::getAttributes(getContext(), IntID)); in Function()
534 AttributeList PAL = getAttributes(); in addAttribute()
540 AttributeList PAL = getAttributes(); in addAttribute()
[all …]
H A DInstruction.cpp431 CI->getAttributes() == cast<CallInst>(I2)->getAttributes() && in haveSameSpecialState()
435 CI->getAttributes() == cast<InvokeInst>(I2)->getAttributes() && in haveSameSpecialState()
439 CI->getAttributes() == cast<CallBrInst>(I2)->getAttributes() && in haveSameSpecialState()
/netbsd-src/external/apache2/llvm/dist/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.h1472 AttributeList getAttributes() const { return Attrs; }
1494 AttributeList PAL = getAttributes();
1501 AttributeList PAL = getAttributes();
1509 AttributeList PAL = getAttributes();
1517 AttributeList PAL = getAttributes();
1524 AttributeList PAL = getAttributes();
1531 AttributeList PAL = getAttributes();
1537 AttributeList PAL = getAttributes();
1545 AttributeList PAL = getAttributes();
1553 AttributeList PAL = getAttributes();
[all …]
H A DFunction.h249 AttributeList getAttributes() const { return AttributeSets; } in getAttributes() function
277 setAttributes(getAttributes().removeAttribute( in removeFnAttr()
445 return getAttributes().hasAttribute(i, Kind); in hasAttribute()
450 return getAttributes().hasParamAttribute(ArgNo, Kind); in hasParamAttribute()
455 return getAttributes().getParamAttr(ArgNo, Kind); in getParamAttribute()
/netbsd-src/external/bsd/openldap/dist/contrib/ldapc++/examples/
H A DreadSchema.cpp38 …const LDAPAttribute* schemaAttr = rootDse->getAttributes()->getAttributeByName("subschemaSubentry"… in main()
49 … const LDAPAttribute* oc = entry->getAttributes()->getAttributeByName("objectClasses"); in main()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp514 NewCI->setAttributes(CI->getAttributes()); in optimizeStrCpy()
543 NewCI->setAttributes(CI->getAttributes()); in optimizeStpCpy()
580 CI->getAttributes().getParamAttributes(0).getAlignment().valueOrOne(); in optimizeStrNCpy()
582 AttrBuilder ArgAttrs(CI->getAttributes().getParamAttributes(0)); in optimizeStrNCpy()
583 NewCI->setAttributes(NewCI->getAttributes().addParamAttributes( in optimizeStrNCpy()
606 NewCI->setAttributes(CI->getAttributes()); in optimizeStrNCpy()
1083 NewCI->setAttributes(CI->getAttributes()); in optimizeMemCpy()
1137 NewCI->setAttributes(CI->getAttributes()); in optimizeMemPCpy()
1152 NewCI->setAttributes(CI->getAttributes()); in optimizeMemMove()
1194 Malloc->getAttributes(), B, *TLI)) { in foldMallocMemset()
[all …]
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 DLowerInvoke.cpp60 NewCall->setAttributes(II->getAttributes()); in runImpl()
H A DAssumeBundleBuilder.cpp209 for (Attribute Attr : AttrList.getAttributes(Idx)) { in addCall()
218 addAttrList(Call->getAttributes()); in addCall()
220 addAttrList(Fn->getAttributes()); in addCall()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/
H A Dfile.d1995 uint getAttributes(R)(R name)
2031 uint getAttributes(R)(auto ref R name)
2034 return getAttributes!(StringTypeOf!R)(name);
2046 assertThrown!FileException(f.getAttributes);
2049 auto attributes = f.getAttributes;
2063 assertThrown!FileException(dir.getAttributes);
2066 auto attributes = dir.getAttributes;
2073 static assert(__traits(compiles, getAttributes(TestAliasedString(null))));
2080 as getAttributes.
2082 On Windows, getLinkAttributes is identical to getAttributes. It exists on
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Dfile.d1606 uint getAttributes(R)(R name)
1647 uint getAttributes(R)(auto ref R name)
1650 return getAttributes!(StringTypeOf!R)(name);
1655 static assert(__traits(compiles, getAttributes(TestAliasedString(null))));
1662 as getAttributes.
1664 On Windows, getLinkAttributes is identical to getAttributes. It exists on
1918 $(D getAttributes) to get the attributes to figure out what type of special in version()
1945 return (getAttributes(name) & S_IFMT) == S_IFREG;
2496 assert(!attrIsSymlink(getAttributes(symfile))); in version()
2499 assert(attrIsDir(getAttributes(symfile))); in version()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp187 AttributeList PAL = CB->getAttributes(); in DeleteDeadVarargs()
490 if (F.getAttributes().hasAttrSomewhere(Attribute::InAlloca) || in SurveyFunction()
491 F.getAttributes().hasAttrSomewhere(Attribute::Preallocated)) { in SurveyFunction()
750 const AttributeList &PAL = F->getAttributes(); in RemoveDeadStuffFromFunction()
887 const AttributeList &CallPAL = CB.getAttributes(); in RemoveDeadStuffFromFunction()
/netbsd-src/external/bsd/openldap/dist/contrib/ldapc++/src/
H A DLDAPEntry.h106 const LDAPAttributeList* getAttributes() const;
H A DLDAPAddRequest.cpp46 const LDAPAttributeList* list=m_entry->getAttributes(); in sendRequest()
H A DLdifWriter.cpp46 const LDAPAttributeList *al = le.getAttributes(); in writeRecord()
H A DLDAPEntry.cpp76 const LDAPAttributeList* LDAPEntry::getAttributes() const{ in getAttributes() function in LDAPEntry
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseDecl.cpp1668 for (ParsedAttr &AL : DS.getAttributes()) { in stripTypeAttributesOffDeclSpec()
1676 DS.getAttributes().remove(AL); in stripTypeAttributesOffDeclSpec()
3553 ParseAttributes(PAKM_GNU | PAKM_Declspec, DS.getAttributes(), nullptr, in ParseDeclarationSpecifiers()
3562 DS.getAttributes().addNew(AttrName, AttrNameLoc, nullptr, AttrNameLoc, in ParseDeclarationSpecifiers()
3583 ParseMicrosoftTypeAttributes(DS.getAttributes()); in ParseDeclarationSpecifiers()
3588 ParseBorlandTypeAttributes(DS.getAttributes()); in ParseDeclarationSpecifiers()
3593 ParseOpenCLKernelAttributes(DS.getAttributes()); in ParseDeclarationSpecifiers()
3601 ParseNullabilityTypeSpecifiers(DS.getAttributes()); in ParseDeclarationSpecifiers()
3606 DS.getAttributes().addNew(Tok.getIdentifierInfo(), Loc, nullptr, Loc, in ParseDeclarationSpecifiers()
3744 ParseAlignmentSpecifier(DS.getAttributes()); in ParseDeclarationSpecifiers()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/MC/
H A DMCPseudoProbe.h94 uint8_t getAttributes() const { return Attributes; } in getAttributes() function
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyAddMissingPrototypes.cpp127 NewF->setAttributes(F.getAttributes()); in runOnModule()

1234567