Home
last modified time | relevance | path

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

12345

/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DGlobalVariable.h224 AttributeSet getAttributes() const { in getAttributes() function
245 return getAttributes().hasAttribute("bss-section") || in hasImplicitSection()
246 getAttributes().hasAttribute("data-section") || in hasImplicitSection()
247 getAttributes().hasAttribute("rodata-section"); in hasImplicitSection()
H A DInstrTypes.h1262 AttributeList PAL = getAttributes();
1269 AttributeList PAL = getAttributes();
1277 AttributeList PAL = getAttributes();
1285 AttributeList PAL = getAttributes();
1292 AttributeList PAL = getAttributes();
1299 AttributeList PAL = getAttributes();
1307 AttributeList PAL = getAttributes();
1315 AttributeList PAL = getAttributes();
1322 AttributeList PAL = getAttributes();
1330 AttributeList PAL = getAttributes();
[all …]
H A DFunction.h224 AttributeList getAttributes() const { return AttributeSets; } in getAttributes() function
252 setAttributes(getAttributes().removeAttribute( in removeFnAttr()
394 return getAttributes().hasAttribute(i, Kind); in hasAttribute()
399 return getAttributes().hasParamAttribute(ArgNo, Kind); in hasParamAttribute()
H A DIntrinsics.h72 AttributeList getAttributes(LLVMContext &C, ID id);
H A DCallSite.h329 AttributeList getAttributes() const { in getAttributes() function
330 CALLSITE_DELEGATE_GETTER(getAttributes()); in getAttributes()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DFunction.cpp369 AttributeList PAL = getAttributes(); in addAttribute()
375 AttributeList PAL = getAttributes(); in addAttribute()
381 AttributeList PAL = getAttributes(); in addAttributes()
387 AttributeList PAL = getAttributes(); in addParamAttr()
393 AttributeList PAL = getAttributes(); in addParamAttr()
399 AttributeList PAL = getAttributes(); in addParamAttrs()
405 AttributeList PAL = getAttributes(); in removeAttribute()
411 AttributeList PAL = getAttributes(); in removeAttribute()
417 AttributeList PAL = getAttributes(); in removeAttributes()
423 AttributeList PAL = getAttributes(); in removeParamAttr()
[all …]
H A DAttributes.cpp1191 return getAttributes(ArgNo + FirstArgIndex); in getParamAttributes()
1195 return getAttributes(ReturnIndex); in getRetAttributes()
1199 return getAttributes(FunctionIndex); in getFnAttributes()
1204 return getAttributes(Index).hasAttribute(Kind); in hasAttribute()
1208 return getAttributes(Index).hasAttribute(Kind); in hasAttribute()
1212 return getAttributes(Index).hasAttributes(); in hasAttributes()
1245 return getAttributes(Index).getAttribute(Kind); in getAttribute()
1309 if (getAttributes(i).hasAttributes()) in dump()
1323 AttributeSet AS = AL.getAttributes(Index); in AttrBuilder()
1395 remove(A.getAttributes(Index)); in removeAttributes()
[all …]
H A DInstruction.cpp403 CI->getAttributes() == cast<CallInst>(I2)->getAttributes() && in haveSameSpecialState()
407 CI->getAttributes() == cast<InvokeInst>(I2)->getAttributes() && in haveSameSpecialState()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGLoopInfo.h91 const LoopAttributes &getAttributes() const { return Attrs; } in getAttributes() function
136 return hasInfo() ? getInfo().getAttributes().IsParallel : false; in getCurLoopParallel()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp110 AttributeSet LAS = L.getAttributes(i); in cmpAttrs()
111 AttributeSet RAS = R.getAttributes(i); in cmpAttrs()
565 cmpAttrs(CI->getAttributes(), cast<CallInst>(R)->getAttributes())) in cmpOperations()
578 cmpAttrs(II->getAttributes(), cast<InvokeInst>(R)->getAttributes())) in cmpOperations()
795 if (int Res = cmpAttrs(FnL->getAttributes(), FnR->getAttributes())) in compareSignature()
H A DLowerInvoke.cpp59 NewCall->setAttributes(II->getAttributes()); in runImpl()
H A DSimplifyLibCalls.cpp1061 AttributeList CalleeAt = CalleeFn->getAttributes(); in optimizeDoubleFP()
1195 AttributeList Attrs = Pow->getCalledFunction()->getAttributes(); in replacePowWithExp()
1255 BaseFn->getAttributes()); in replacePowWithExp()
1332 AttributeList Attrs = Pow->getCalledFunction()->getAttributes(); in replacePowWithSqrt()
1446 getSqrtCall(Base, Pow->getCalledFunction()->getAttributes(), in optimizePow()
1589 Callee->getAttributes()), "mul"); in optimizeLog()
1597 Callee->getName(), B, Callee->getAttributes()), in optimizeLog()
1731 Value *Callee = M->getOrInsertFunction(Name, OrigCallee->getAttributes(), in insertSinCosCall()
2030 M->getOrInsertFunction("iprintf", FT, Callee->getAttributes()); in optimizePrintF()
2109 M->getOrInsertFunction("siprintf", FT, Callee->getAttributes()); in optimizeSPrintF()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParseDecl.cpp1641 for (ParsedAttr &AL : DS.getAttributes()) { in stripTypeAttributesOffDeclSpec()
1649 DS.getAttributes().remove(AL); in stripTypeAttributesOffDeclSpec()
3353 ParseMicrosoftDeclSpecs(DS.getAttributes()); in ParseDeclarationSpecifiers()
3509 ParseAlignmentSpecifier(DS.getAttributes()); in ParseDeclarationSpecifiers()
3803 ParseOpenCLQualifiers(DS.getAttributes()); in ParseDeclarationSpecifiers()
3822 ParseOpenCLQualifiers(DS.getAttributes()); in ParseDeclarationSpecifiers()
5187 ParseOpenCLQualifiers(DS.getAttributes()); in ParseTypeQualifierListOpt()
5248 ParseGNUAttributes(DS.getAttributes()); in ParseTypeQualifierListOpt()
5388 std::move(DS.getAttributes()), in ParseDeclaratorInternal()
6391 MaybeParseCXX11Attributes(DS.getAttributes()); in ParseParameterDeclarationClause()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUIntrinsicInfo.cpp94 getAttributes(M->getContext(), static_cast<SIIntrinsic::ID>(IntrID)); in getDeclaration()
H A DAMDGPUTargetTransformInfo.cpp534 return F->getAttributes().hasParamAttribute(A->getArgNo(), Attribute::InReg) || in isArgPassedInSGPR()
535 F->getAttributes().hasParamAttribute(A->getArgNo(), Attribute::ByVal); in isArgPassedInSGPR()
/freebsd-12.1/contrib/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.cpp334 EnumerateAttributes(F.getAttributes()); in ValueEnumerator()
419 EnumerateAttributes(CI->getAttributes()); in ValueEnumerator()
421 EnumerateAttributes(II->getAttributes()); in ValueEnumerator()
933 AttributeSet AS = PAL.getAttributes(i); in EnumerateAttributes()
975 EnumerateAttributes(F.getAttributes()); in incorporateFunction()
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp187 AttributeList PAL = CS.getAttributes(); in DeleteDeadVarargs()
490 if (F.getAttributes().hasAttrSomewhere(Attribute::InAlloca)) { in SurveyFunction()
745 const AttributeList &PAL = F->getAttributes(); in RemoveDeadStuffFromFunction()
883 const AttributeList &CallPAL = CS.getAttributes(); in RemoveDeadStuffFromFunction()
/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/
H A DSystemZRegisterInfo.cpp129 MF->getFunction().getAttributes().hasAttrSomewhere( in getCalleeSavedRegs()
143 MF.getFunction().getAttributes().hasAttrSomewhere( in getCallPreservedMask()
/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/
H A DWebAssemblyAddMissingPrototypes.cpp100 NewF->setAttributes(F.getAttributes()); in runOnModule()
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonOptimizeSZextends.cpp75 if (F.getAttributes().hasAttribute(Idx, Attribute::SExt)) { in runOnFunction()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaType.cpp219 return getMutableDeclSpec().getAttributes(); in getCurrentAttributes()
229 for (ParsedAttr &AL : spec.getAttributes()) in saveDeclSpecAttrs()
303 getMutableDeclSpec().getAttributes().clearListOnly(); in restoreDeclSpecAttrs()
305 getMutableDeclSpec().getAttributes().addAtEnd(AL); in restoreDeclSpecAttrs()
530 moveAttrFromListToList(attr, declarator.getAttributes(), in distributeObjCPointerTypeAttrFromDeclarator()
536 declarator.getAttributes().remove(&attr); in distributeObjCPointerTypeAttrFromDeclarator()
632 declarator.getAttributes().remove(&attr); in distributeFunctionTypeAttrFromDeclarator()
648 assert(!state.getDeclarator().getAttributes().empty() && in distributeTypeAttrsFromDeclarator()
2886 if (!D.getAttributes().empty()) in GetDeclSpecTypeForDeclarator()
4141 if (hasCFReturnsAttr(D.getAttributes()) || in GetFullTypeForDeclarator()
[all …]
H A DDeclSpec.cpp209 MethodQualifiers->getAttributes().size())) { in getFunction()
210 auto &attrs = MethodQualifiers->getAttributes(); in getFunction()
216 I.Fun.MethodQualifiers->getAttributes().takeAllFrom(attrs); in getFunction()
1026 writtenBS.ModeAttr = getAttributes().hasAttribute(ParsedAttr::AT_Mode); in SaveWrittenBuiltinSpecs()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DDeclSpec.h762 ParsedAttributes &getAttributes() { return Attrs; } in getAttributes() function
763 const ParsedAttributes &getAttributes() const { return Attrs; } in getAttributes() function
1454 MethodQualifiers->getAttributes().size()); in hasMethodTypeQualifiers()
2409 const ParsedAttributes &getAttributes() const { return Attrs; } in getAttributes() function
2410 ParsedAttributes &getAttributes() { return Attrs; } in getAttributes() function
2414 if (!getAttributes().empty() || getDeclSpec().hasAttributes()) in hasAttributes()
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64RegisterInfo.cpp62 MF->getFunction().getAttributes().hasAttrSomewhere( in getCalleeSavedRegs()
126 MF.getFunction().getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in getCallPreservedMask()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DRewriteStatepointsForGC.cpp1407 const AttributeList &CSAS = CS.getAttributes(); in getDeoptLowering()
1453 parseStatepointDirectivesFromAttrs(CS.getAttributes()); in makeStatepointExplicitImpl()
1506 Call->setAttributes(legalizeCallAttributes(ToReplace->getAttributes())); in makeStatepointExplicitImpl()
1532 Invoke->setAttributes(legalizeCallAttributes(ToReplace->getAttributes())); in makeStatepointExplicitImpl()
1580 CS.getAttributes().getRetAttributes())); in makeStatepointExplicitImpl()
2398 if (AH.getAttributes().hasAttribute(Index, Attribute::NoAlias)) in RemoveNonValidAttrAtIndex()
2402 AH.setAttributes(AH.getAttributes().removeAttributes(Ctx, Index, R)); in RemoveNonValidAttrAtIndex()

12345