/external/llvm-project/llvm/unittests/ExecutionEngine/Orc/ |
D | IndirectionUtilsTest.cpp | 27 AttributeSet RetAttrs; // None in TEST() local 33 F->setAttributes(AttributeList::get(Context, FnAttrs, RetAttrs, ArgAttrs)); in TEST()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPURewriteOutArguments.cpp | 374 AttrBuilder RetAttrs; in runOnFunction() local 375 RetAttrs.addAttribute(Attribute::SExt); in runOnFunction() 376 RetAttrs.addAttribute(Attribute::ZExt); in runOnFunction() 377 RetAttrs.addAttribute(Attribute::NoAlias); in runOnFunction() 378 NewFunc->removeAttributes(AttributeList::ReturnIndex, RetAttrs); in runOnFunction()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPURewriteOutArguments.cpp | 374 AttrBuilder RetAttrs; in runOnFunction() local 375 RetAttrs.addAttribute(Attribute::SExt); in runOnFunction() 376 RetAttrs.addAttribute(Attribute::ZExt); in runOnFunction() 377 RetAttrs.addAttribute(Attribute::NoAlias); in runOnFunction() 378 NewFunc->removeAttributes(AttributeList::ReturnIndex, RetAttrs); in runOnFunction()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | DeadArgumentElimination.cpp | 847 AttributeSet RetAttrs = AttributeSet::get(F->getContext(), RAttrs); in RemoveDeadStuffFromFunction() local 856 AttributeList::get(F->getContext(), FnAttrs, RetAttrs, ArgAttrVec); in RemoveDeadStuffFromFunction() 889 AttributeSet RetAttrs = AttributeSet::get(F->getContext(), RAttrs); in RemoveDeadStuffFromFunction() local 932 F->getContext(), FnAttrs, RetAttrs, ArgAttrVec); in RemoveDeadStuffFromFunction()
|
/external/llvm-project/llvm/lib/Transforms/IPO/ |
D | DeadArgumentElimination.cpp | 849 AttributeSet RetAttrs = AttributeSet::get(F->getContext(), RAttrs); in RemoveDeadStuffFromFunction() local 858 AttributeList::get(F->getContext(), FnAttrs, RetAttrs, ArgAttrVec); in RemoveDeadStuffFromFunction() 890 AttributeSet RetAttrs = AttributeSet::get(F->getContext(), RAttrs); in RemoveDeadStuffFromFunction() local 933 F->getContext(), FnAttrs, RetAttrs, ArgAttrVec); in RemoveDeadStuffFromFunction()
|
/external/llvm-project/llvm/lib/IR/ |
D | Verifier.cpp | 1822 AttributeSet RetAttrs = Attrs.getRetAttributes(); in verifyFunctionAttrs() local 1823 Assert((!RetAttrs.hasAttribute(Attribute::ByVal) && in verifyFunctionAttrs() 1824 !RetAttrs.hasAttribute(Attribute::Nest) && in verifyFunctionAttrs() 1825 !RetAttrs.hasAttribute(Attribute::StructRet) && in verifyFunctionAttrs() 1826 !RetAttrs.hasAttribute(Attribute::NoCapture) && in verifyFunctionAttrs() 1827 !RetAttrs.hasAttribute(Attribute::NoFree) && in verifyFunctionAttrs() 1828 !RetAttrs.hasAttribute(Attribute::Returned) && in verifyFunctionAttrs() 1829 !RetAttrs.hasAttribute(Attribute::InAlloca) && in verifyFunctionAttrs() 1830 !RetAttrs.hasAttribute(Attribute::Preallocated) && in verifyFunctionAttrs() 1831 !RetAttrs.hasAttribute(Attribute::ByRef) && in verifyFunctionAttrs() [all …]
|
D | Attributes.cpp | 1165 AttributeSet RetAttrs, in get() argument 1180 if (RetAttrs.hasAttributes()) in get() 1195 AttrSets.push_back(RetAttrs); in get()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Verifier.cpp | 1701 AttributeSet RetAttrs = Attrs.getRetAttributes(); in verifyFunctionAttrs() local 1702 Assert((!RetAttrs.hasAttribute(Attribute::ByVal) && in verifyFunctionAttrs() 1703 !RetAttrs.hasAttribute(Attribute::Nest) && in verifyFunctionAttrs() 1704 !RetAttrs.hasAttribute(Attribute::StructRet) && in verifyFunctionAttrs() 1705 !RetAttrs.hasAttribute(Attribute::NoCapture) && in verifyFunctionAttrs() 1706 !RetAttrs.hasAttribute(Attribute::NoFree) && in verifyFunctionAttrs() 1707 !RetAttrs.hasAttribute(Attribute::Returned) && in verifyFunctionAttrs() 1708 !RetAttrs.hasAttribute(Attribute::InAlloca) && in verifyFunctionAttrs() 1709 !RetAttrs.hasAttribute(Attribute::SwiftSelf) && in verifyFunctionAttrs() 1710 !RetAttrs.hasAttribute(Attribute::SwiftError)), in verifyFunctionAttrs() [all …]
|
D | Attributes.cpp | 1040 AttributeSet RetAttrs, in get() argument 1055 if (RetAttrs.hasAttributes()) in get() 1070 AttrSets.push_back(RetAttrs); in get()
|
/external/clang/lib/CodeGen/ |
D | CGCall.cpp | 1624 llvm::AttrBuilder RetAttrs; in ConstructAttributeList() local 1673 RetAttrs.addAttribute(llvm::Attribute::NoAlias); in ConstructAttributeList() 1675 RetAttrs.addAttribute(llvm::Attribute::NonNull); in ConstructAttributeList() 1809 RetAttrs.addAttribute(llvm::Attribute::SExt); in ConstructAttributeList() 1811 RetAttrs.addAttribute(llvm::Attribute::ZExt); in ConstructAttributeList() 1815 RetAttrs.addAttribute(llvm::Attribute::InReg); in ConstructAttributeList() 1838 RetAttrs.addDereferenceableAttr(getContext().getTypeSizeInChars(PTy) in ConstructAttributeList() 1841 RetAttrs.addAttribute(llvm::Attribute::NonNull); in ConstructAttributeList() 1845 if (RetAttrs.hasAttributes()) { in ConstructAttributeList() 1847 getLLVMContext(), llvm::AttributeSet::ReturnIndex, RetAttrs)); in ConstructAttributeList()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGCall.cpp | 1913 llvm::AttrBuilder RetAttrs; in ConstructAttributeList() local 1958 RetAttrs.addAttribute(llvm::Attribute::NoAlias); in ConstructAttributeList() 1983 RetAttrs.addAttribute(llvm::Attribute::NoAlias); in ConstructAttributeList() 1986 RetAttrs.addAttribute(llvm::Attribute::NonNull); in ConstructAttributeList() 2094 RetAttrs.addAttribute(llvm::Attribute::SExt); in ConstructAttributeList() 2096 RetAttrs.addAttribute(llvm::Attribute::ZExt); in ConstructAttributeList() 2100 RetAttrs.addAttribute(llvm::Attribute::InReg); in ConstructAttributeList() 2124 RetAttrs.addDereferenceableAttr( in ConstructAttributeList() 2128 RetAttrs.addAttribute(llvm::Attribute::NonNull); in ConstructAttributeList() 2132 RetAttrs.addAlignmentAttr(Alignment); in ConstructAttributeList() [all …]
|
/external/llvm/lib/AsmParser/ |
D | LLParser.cpp | 4555 AttrBuilder RetAttrs; in ParseFunctionHeader() local 4561 ParseOptionalCallingConv(CC) || ParseOptionalReturnAttrs(RetAttrs) || in ParseFunctionHeader() 4662 if (RetAttrs.hasAttributes()) in ParseFunctionHeader() 4665 RetAttrs)); in ParseFunctionHeader() 5245 AttrBuilder RetAttrs, FnAttrs; in ParseInvoke() local 5256 if (ParseOptionalCallingConv(CC) || ParseOptionalReturnAttrs(RetAttrs) || in ParseInvoke() 5293 if (RetAttrs.hasAttributes()) in ParseInvoke() 5296 RetAttrs)); in ParseInvoke() 5841 AttrBuilder RetAttrs, FnAttrs; in ParseCall() local 5859 if (ParseOptionalCallingConv(CC) || ParseOptionalReturnAttrs(RetAttrs) || in ParseCall() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | Attributes.h | 366 AttributeSet RetAttrs,
|
/external/llvm-project/llvm/lib/AsmParser/ |
D | LLParser.cpp | 5641 AttrBuilder RetAttrs; in parseFunctionHeader() local 5648 parseOptionalCallingConv(CC) || parseOptionalReturnAttrs(RetAttrs) || in parseFunctionHeader() 5755 AttributeSet::get(Context, RetAttrs), Attrs); in parseFunctionHeader() 6417 AttrBuilder RetAttrs, FnAttrs; in parseInvoke() local 6429 if (parseOptionalCallingConv(CC) || parseOptionalReturnAttrs(RetAttrs) || in parseInvoke() 6498 AttributeSet::get(Context, RetAttrs), ArgAttrs); in parseInvoke() 6727 AttrBuilder RetAttrs, FnAttrs; in parseCallBr() local 6738 if (parseOptionalCallingConv(CC) || parseOptionalReturnAttrs(RetAttrs) || in parseCallBr() 6824 AttributeSet::get(Context, RetAttrs), ArgAttrs); in parseCallBr() 7145 AttrBuilder RetAttrs, FnAttrs; in parseCall() local [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/ |
D | LLParser.cpp | 5316 AttrBuilder RetAttrs; in ParseFunctionHeader() local 5323 ParseOptionalCallingConv(CC) || ParseOptionalReturnAttrs(RetAttrs) || in ParseFunctionHeader() 5435 AttributeSet::get(Context, RetAttrs), Attrs); in ParseFunctionHeader() 6046 AttrBuilder RetAttrs, FnAttrs; in ParseInvoke() local 6058 if (ParseOptionalCallingConv(CC) || ParseOptionalReturnAttrs(RetAttrs) || in ParseInvoke() 6127 AttributeSet::get(Context, RetAttrs), ArgAttrs); in ParseInvoke() 6357 AttrBuilder RetAttrs, FnAttrs; in ParseCallBr() local 6368 if (ParseOptionalCallingConv(CC) || ParseOptionalReturnAttrs(RetAttrs) || in ParseCallBr() 6457 AttributeSet::get(Context, RetAttrs), ArgAttrs); in ParseCallBr() 6779 AttrBuilder RetAttrs, FnAttrs; in ParseCall() local [all …]
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | Attributes.h | 394 AttributeSet RetAttrs,
|