Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURewriteOutArguments.cpp321 AttributeMask RetAttrs; in runOnFunction() local
322 RetAttrs.addAttribute(Attribute::SExt); in runOnFunction()
323 RetAttrs.addAttribute(Attribute::ZExt); in runOnFunction()
324 RetAttrs.addAttribute(Attribute::NoAlias); in runOnFunction()
325 NewFunc->removeRetAttrs(RetAttrs); in runOnFunction()
H A DAMDGPULowerBufferFatPointers.cpp2409 AttributeSet RetAttrs = OldAttrs.getRetAttrs(); in moveFunctionAdaptingType() local
2411 RetAttrs = RetAttrs.removeAttributes( in moveFunctionAdaptingType()
2413 AttributeFuncs::typeIncompatible(NewF->getReturnType(), RetAttrs)); in moveFunctionAdaptingType()
2415 NewF->getContext(), OldAttrs.getFnAttrs(), RetAttrs, ArgAttrs)); in moveFunctionAdaptingType()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp859 AttributeSet RetAttrs = AttributeSet::get(F->getContext(), RAttrs); in removeDeadStuffFromFunction() local
868 AttributeList::get(F->getContext(), FnAttrs, RetAttrs, ArgAttrVec); in removeDeadStuffFromFunction()
901 AttributeSet RetAttrs = AttributeSet::get(F->getContext(), RAttrs); in removeDeadStuffFromFunction() local
944 AttributeList::get(F->getContext(), FnAttrs, RetAttrs, ArgAttrVec); in removeDeadStuffFromFunction()
H A DAttributor.cpp3425 AttributeSet RetAttrs = Attrs.getRetAttrs(); in identifyDefaultAbstractAttributes() local
3436 checkAndQueryIRAttr<Attribute::NoUndef, AANoUndef>(RetPos, RetAttrs); in identifyDefaultAbstractAttributes()
3444 checkAndQueryIRAttr<Attribute::NonNull, AANonNull>(RetPos, RetAttrs); in identifyDefaultAbstractAttributes()
3447 checkAndQueryIRAttr<Attribute::NoAlias, AANoAlias>(RetPos, RetAttrs); in identifyDefaultAbstractAttributes()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstruction.cpp508 AttributeSet RetAttrs = CB->getAttributes().getRetAttrs(); in hasPoisonGeneratingReturnAttributes() local
509 return RetAttrs.hasAttribute(Attribute::Range) || in hasPoisonGeneratingReturnAttributes()
510 RetAttrs.hasAttribute(Attribute::Alignment) || in hasPoisonGeneratingReturnAttributes()
511 RetAttrs.hasAttribute(Attribute::NonNull); in hasPoisonGeneratingReturnAttributes()
H A DAttributes.cpp1571 AttributeSet RetAttrs, in get() argument
1586 if (RetAttrs.hasAttributes()) in get()
1601 AttrSets.push_back(RetAttrs); in get()
H A DVerifier.cpp2198 AttributeSet RetAttrs = Attrs.getRetAttrs(); in verifyFunctionAttrs() local
2199 for (Attribute RetAttr : RetAttrs) in verifyFunctionAttrs()
2217 verifyParameterAttrs(RetAttrs, FT->getReturnType(), V); in verifyFunctionAttrs()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp2417 llvm::AttrBuilder RetAttrs(getLLVMContext()); in ConstructAttributeList() local
2476 RetAttrs.addAttribute(llvm::Attribute::NoAlias); in ConstructAttributeList()
2514 RetAttrs.addAttribute(llvm::Attribute::NoAlias); in ConstructAttributeList()
2517 RetAttrs.addAttribute(llvm::Attribute::NonNull); in ConstructAttributeList()
2688 RetAttrs.addAttribute(llvm::Attribute::NoUndef); in ConstructAttributeList()
2694 RetAttrs.addAttribute(llvm::Attribute::SExt); in ConstructAttributeList()
2696 RetAttrs.addAttribute(llvm::Attribute::ZExt); in ConstructAttributeList()
2698 RetAttrs.addAttribute(llvm::Attribute::NoExt); in ConstructAttributeList()
2702 RetAttrs.addAttribute(llvm::Attribute::InReg); in ConstructAttributeList()
2705 RetAttrs.addNoFPClassAttr(getNoFPClassTestMask(getLangOpts())); in ConstructAttributeList()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp6620 AttrBuilder RetAttrs(M->getContext()); in parseFunctionHeader() local
6627 parseOptionalCallingConv(CC) || parseOptionalReturnAttrs(RetAttrs) || in parseFunctionHeader()
6737 AttributeSet::get(Context, RetAttrs), Attrs); in parseFunctionHeader()
7600 AttrBuilder RetAttrs(M->getContext()), FnAttrs(M->getContext()); in parseInvoke() local
7612 if (parseOptionalCallingConv(CC) || parseOptionalReturnAttrs(RetAttrs) || in parseInvoke()
7669 AttributeSet::get(Context, RetAttrs), ArgAttrs); in parseInvoke()
7898 AttrBuilder RetAttrs(M->getContext()), FnAttrs(M->getContext()); in parseCallBr() local
7909 if (parseOptionalCallingConv(CC) || parseOptionalReturnAttrs(RetAttrs) || in parseCallBr()
7983 AttributeSet::get(Context, RetAttrs), ArgAttrs); in parseCallBr()
8302 AttrBuilder RetAttrs(M->getContext()), FnAttrs(M->getContext()); in parseCall() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h419 Type *ReturnTy, AttributeSet RetAttrs,
H A DSelectionDAGBuilder.cpp10586 AttributeSet RetAttrs, bool IsPatchPoint) { in populateCallLoweringInfo() argument
10608 RetAttrs) in populateCallLoweringInfo()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DAttributes.h535 AttributeSet RetAttrs,
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp547 auto RetAttrs = Attrs.getRetAttrs(); in addAttributes() local
579 addAttrSet(RetAttrs, RetAttrSet, /*Param*/ false); \ in addAttributes()
582 Fn.setAttributes(AttributeList::get(Ctx, FnAttrs, RetAttrs, ArgAttrs)); \ in addAttributes()