Home
last modified time | relevance | path

Searched refs:RetAttrs (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPURewriteOutArguments.cpp326 AttributeMask RetAttrs; in runOnFunction() local
327 RetAttrs.addAttribute(Attribute::SExt); in runOnFunction()
328 RetAttrs.addAttribute(Attribute::ZExt); in runOnFunction()
329 RetAttrs.addAttribute(Attribute::NoAlias); in runOnFunction()
330 NewFunc->removeRetAttrs(RetAttrs); in runOnFunction()
/llvm-project-15.0.7/llvm/unittests/ExecutionEngine/Orc/
H A DIndirectionUtilsTest.cpp28 AttributeSet RetAttrs; // None in TEST() local
33 F->setAttributes(AttributeList::get(Context, FnAttrs, RetAttrs, ArgAttrs)); in TEST()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp839 AttributeSet RetAttrs = AttributeSet::get(F->getContext(), RAttrs); in removeDeadStuffFromFunction() local
848 AttributeList::get(F->getContext(), FnAttrs, RetAttrs, ArgAttrVec); in removeDeadStuffFromFunction()
880 AttributeSet RetAttrs = AttributeSet::get(F->getContext(), RAttrs); in removeDeadStuffFromFunction() local
923 AttributeList::get(F->getContext(), FnAttrs, RetAttrs, ArgAttrVec); in removeDeadStuffFromFunction()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGCall.cpp2073 llvm::AttrBuilder RetAttrs(getLLVMContext()); in ConstructAttributeList() local
2124 RetAttrs.addAttribute(llvm::Attribute::NoAlias); in ConstructAttributeList()
2158 RetAttrs.addAttribute(llvm::Attribute::NoAlias); in ConstructAttributeList()
2161 RetAttrs.addAttribute(llvm::Attribute::NonNull); in ConstructAttributeList()
2313 RetAttrs.addAttribute(llvm::Attribute::NoUndef); in ConstructAttributeList()
2319 RetAttrs.addAttribute(llvm::Attribute::SExt); in ConstructAttributeList()
2321 RetAttrs.addAttribute(llvm::Attribute::ZExt); in ConstructAttributeList()
2325 RetAttrs.addAttribute(llvm::Attribute::InReg); in ConstructAttributeList()
2351 RetAttrs.addDereferenceableAttr( in ConstructAttributeList()
2355 RetAttrs.addAttribute(llvm::Attribute::NonNull); in ConstructAttributeList()
[all …]
/llvm-project-15.0.7/llvm/lib/IR/
H A DAttributes.cpp1111 AttributeSet RetAttrs, in get() argument
1126 if (RetAttrs.hasAttributes()) in get()
1141 AttrSets.push_back(RetAttrs); in get()
H A DVerifier.cpp1939 AttributeSet RetAttrs = Attrs.getRetAttrs(); in verifyFunctionAttrs() local
1940 for (Attribute RetAttr : RetAttrs) in verifyFunctionAttrs()
1947 verifyParameterAttrs(RetAttrs, FT->getReturnType(), V); in verifyFunctionAttrs()
/llvm-project-15.0.7/llvm/lib/AsmParser/
H A DLLParser.cpp5582 AttrBuilder RetAttrs(M->getContext()); in parseFunctionHeader() local
5589 parseOptionalCallingConv(CC) || parseOptionalReturnAttrs(RetAttrs) || in parseFunctionHeader()
5696 AttributeSet::get(Context, RetAttrs), Attrs); in parseFunctionHeader()
6367 AttrBuilder RetAttrs(M->getContext()), FnAttrs(M->getContext()); in parseInvoke() local
6379 if (parseOptionalCallingConv(CC) || parseOptionalReturnAttrs(RetAttrs) || in parseInvoke()
6448 AttributeSet::get(Context, RetAttrs), ArgAttrs); in parseInvoke()
6677 AttrBuilder RetAttrs(M->getContext()), FnAttrs(M->getContext()); in parseCallBr() local
6688 if (parseOptionalCallingConv(CC) || parseOptionalReturnAttrs(RetAttrs) || in parseCallBr()
6773 AttributeSet::get(Context, RetAttrs), ArgAttrs); in parseCallBr()
7094 AttrBuilder RetAttrs(M->getContext()), FnAttrs(M->getContext()); in parseCall() local
[all …]
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DAttributes.h454 AttributeSet RetAttrs,
/llvm-project-15.0.7/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp335 auto RetAttrs = Attrs.getRetAttrs(); in addAttributes() local
348 RetAttrs = RetAttrs.addAttributes(Ctx, RetAttrSet); \ in addAttributes()
352 Fn.setAttributes(AttributeList::get(Ctx, FnAttrs, RetAttrs, ArgAttrs)); \ in addAttributes()