/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | CommandFlags.cpp | 661 renderBoolStringAttr(NewAttrs, AttrName, *CL); \ 670 AttrBuilder NewAttrs(Ctx); in setFunctionAttributes() local 673 NewAttrs.addAttribute("target-cpu", CPU); in setFunctionAttributes() 679 NewAttrs.addAttribute("target-features", Features); in setFunctionAttributes() 684 NewAttrs.addAttribute("target-features", Appended); in setFunctionAttributes() 690 NewAttrs.addAttribute("frame-pointer", "all"); in setFunctionAttributes() 692 NewAttrs.addAttribute("frame-pointer", "non-leaf"); in setFunctionAttributes() 694 NewAttrs.addAttribute("frame-pointer", "reserved"); in setFunctionAttributes() 696 NewAttrs.addAttribute("frame-pointer", "none"); in setFunctionAttributes() 699 NewAttrs.addAttribute("disable-tail-calls", in setFunctionAttributes() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Attributes.cpp | 1467 SmallVector<Attribute, 8> NewAttrs(Attrs.begin(), Attrs.end()); in addAttributeAtIndex() local 1468 NewAttrs.push_back(Attribute::get(C, Kind)); in addAttributeAtIndex() 1469 return setAttributesAtIndex(C, Index, AttributeSet::get(C, NewAttrs)); in addAttributeAtIndex() 1542 AttributeSet NewAttrs = Attrs.removeAttribute(C, Kind); in removeAttributeAtIndex() local 1543 if (Attrs == NewAttrs) in removeAttributeAtIndex() 1545 return setAttributesAtIndex(C, Index, NewAttrs); in removeAttributeAtIndex() 1552 AttributeSet NewAttrs = Attrs.removeAttribute(C, Kind); in removeAttributeAtIndex() local 1553 if (Attrs == NewAttrs) in removeAttributeAtIndex() 1555 return setAttributesAtIndex(C, Index, NewAttrs); in removeAttributeAtIndex() 1561 AttributeSet NewAttrs = Attrs.removeAttributes(C, AttrsToRemove); in removeAttributesAtIndex() local [all …]
|
H A D | AutoUpgrade.cpp | 4775 AttributeList NewAttrs = AttributeList::get( in UpgradeIntrinsicCall() local 4779 NewCall->setAttributes(NewAttrs); in UpgradeIntrinsicCall()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
H A D | CoroSplit.cpp | 1010 auto NewAttrs = AttributeList(); in create() local 1016 NewAttrs = NewAttrs.addFnAttributes( in create() 1019 addFramePointerAttrs(NewAttrs, Context, 0, Shape.FrameSize, in create() 1029 addAsyncContextAttrs(NewAttrs, Context, ContextArgIndex); in create() 1035 addSwiftSelfAttrs(NewAttrs, Context, SwiftSelfIndex); in create() 1040 NewAttrs = NewAttrs.addFnAttributes(Context, AttrBuilder(Context, FnAttrs)); in create() 1047 NewAttrs = Shape.RetconLowering.ResumePrototype->getAttributes(); in create() 1050 addFramePointerAttrs(NewAttrs, Context, 0, in create() 1083 NewF->setAttributes(NewAttrs); in create()
|
/freebsd/contrib/llvm-project/llvm/tools/bugpoint/ |
H A D | CrashDebugger.cpp | 372 AttributeList NewAttrs; in TestFuncAttrs() local 373 NewAttrs = NewAttrs.addFnAttributes(BD.getContext(), AB); in TestFuncAttrs() 376 F->setAttributes(NewAttrs); in TestFuncAttrs() 393 for (Attribute A : NewAttrs.getFnAttrs()) { in TestFuncAttrs()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGHLSLRuntime.cpp | 367 AttributeList NewAttrs = AttributeList::get(Ctx, AttributeList::FunctionIndex, in emitEntryFunction() local 369 EntryFn->setAttributes(NewAttrs); in emitEntryFunction()
|
H A D | CGCall.cpp | 4942 llvm::AttributeList NewAttrs = maybeRaiseRetAlignmentAttribute( in TryEmitAsCallSiteAttribute() local 4947 return NewAttrs; in TryEmitAsCallSiteAttribute()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | CloneFunction.cpp | 111 AttributeList NewAttrs = NewFunc->getAttributes(); in CloneFunctionInto() local 113 NewFunc->setAttributes(NewAttrs); in CloneFunctionInto()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | OpenMPClause.h | 9353 void setAttrs(ArrayRef<Attr *> NewAttrs) { in setAttrs() argument 9355 Attrs.append(NewAttrs.begin(), NewAttrs.end()); in setAttrs()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | TreeTransform.h | 11185 SmallVector<const Attr *> NewAttrs; in TransformOMPXAttributeClause() local 11187 NewAttrs.push_back(getDerived().TransformAttr(A)); in TransformOMPXAttributeClause() 11189 NewAttrs, C->getBeginLoc(), C->getLParenLoc(), C->getEndLoc()); in TransformOMPXAttributeClause()
|