Home
last modified time | relevance | path

Searched refs:NewAttrs (Results 1 – 10 of 10) sorted by relevance

/external/llvm/include/llvm/CodeGen/
DCommandFlags.h356 AttributeSet Attrs = F.getAttributes(), NewAttrs; in setFunctionAttributes() local
359 NewAttrs = NewAttrs.addAttribute(Ctx, AttributeSet::FunctionIndex, in setFunctionAttributes()
363 NewAttrs = NewAttrs.addAttribute(Ctx, AttributeSet::FunctionIndex, in setFunctionAttributes()
367 NewAttrs = NewAttrs.addAttribute(Ctx, AttributeSet::FunctionIndex, in setFunctionAttributes()
372 NewAttrs = NewAttrs.addAttribute(Ctx, AttributeSet::FunctionIndex, in setFunctionAttributes()
377 NewAttrs = NewAttrs.addAttribute(Ctx, AttributeSet::FunctionIndex, in setFunctionAttributes()
391 NewAttrs = Attrs.addAttributes(Ctx, AttributeSet::FunctionIndex, NewAttrs); in setFunctionAttributes()
392 F.setAttributes(NewAttrs); in setFunctionAttributes()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DAttributes.cpp280 Attributes NewAttrs = OldAttrs | Attrs; in addAttr() local
281 if (NewAttrs == OldAttrs) in addAttr()
319 Attributes NewAttrs = OldAttrs & ~Attrs; in removeAttr() local
320 if (NewAttrs == OldAttrs) in removeAttr()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DCommandFlags.inc364 AttrBuilder NewAttrs;
367 NewAttrs.addAttribute("target-cpu", CPU);
369 NewAttrs.addAttribute("target-features", Features);
371 NewAttrs.addAttribute("no-frame-pointer-elim",
374 NewAttrs.addAttribute("disable-tail-calls",
377 NewAttrs.addAttribute("stackrealign");
390 // Let NewAttrs override Attrs.
392 Attrs.addAttributes(Ctx, AttributeList::FunctionIndex, NewAttrs));
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCalls.cpp1284 SmallVector<AttributeWithIndex, 8> NewAttrs; in transformCallThroughTrampoline() local
1285 NewAttrs.reserve(Attrs.getNumSlots() + 1); in transformCallThroughTrampoline()
1292 NewAttrs.push_back(AttributeWithIndex::get(0, Attr)); in transformCallThroughTrampoline()
1304 NewAttrs.push_back(AttributeWithIndex::get(NestIdx, NestAttr)); in transformCallThroughTrampoline()
1313 NewAttrs.push_back in transformCallThroughTrampoline()
1322 NewAttrs.push_back(AttributeWithIndex::get(~0, Attr)); in transformCallThroughTrampoline()
1361 const AttrListPtr &NewPAL = AttrListPtr::get(NewAttrs.begin(), in transformCallThroughTrampoline()
1362 NewAttrs.end()); in transformCallThroughTrampoline()
/external/llvm/lib/Analysis/
DStratifiedSets.h395 void noteAttributes(const T &Main, AliasAttrs NewAttrs) { in noteAttributes() argument
399 Link.setAttrs(NewAttrs); in noteAttributes()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DStratifiedSets.h386 void noteAttributes(const T &Main, AliasAttrs NewAttrs) { in noteAttributes() argument
390 Link.setAttrs(NewAttrs); in noteAttributes()
/external/llvm/lib/Transforms/Scalar/
DRewriteStatepointsForGC.cpp1355 AttributeSet NewAttrs = legalizeCallAttributes(ToReplace->getAttributes()); in makeStatepointExplicitImpl() local
1358 Call->setAttributes(NewAttrs.getFnAttributes()); in makeStatepointExplicitImpl()
1359 ReturnAttrs = NewAttrs.getRetAttributes(); in makeStatepointExplicitImpl()
1383 AttributeSet NewAttrs = legalizeCallAttributes(ToReplace->getAttributes()); in makeStatepointExplicitImpl() local
1386 Invoke->setAttributes(NewAttrs.getFnAttributes()); in makeStatepointExplicitImpl()
1387 ReturnAttrs = NewAttrs.getRetAttributes(); in makeStatepointExplicitImpl()
/external/llvm/lib/Transforms/Utils/
DCloneFunction.cpp94 AttributeSet NewAttrs = NewFunc->getAttributes(); in CloneFunctionInto() local
96 NewFunc->setAttributes(NewAttrs); in CloneFunctionInto()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp2930 SmallVector<AttributeSet, 8> NewAttrs; in transformCallThroughTrampoline() local
2931 NewAttrs.reserve(Attrs.getNumSlots() + 1); in transformCallThroughTrampoline()
2938 NewAttrs.push_back(AttributeSet::get(Caller->getContext(), in transformCallThroughTrampoline()
2951 NewAttrs.push_back(AttributeSet::get(Caller->getContext(), in transformCallThroughTrampoline()
2963 NewAttrs.push_back(AttributeSet::get(Caller->getContext(), in transformCallThroughTrampoline()
2974 NewAttrs.push_back(AttributeSet::get(FTy->getContext(), in transformCallThroughTrampoline()
3016 AttributeSet::get(FTy->getContext(), NewAttrs); in transformCallThroughTrampoline()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DCloneFunction.cpp100 AttributeList NewAttrs = NewFunc->getAttributes(); in CloneFunctionInto() local
102 NewFunc->setAttributes(NewAttrs); in CloneFunctionInto()