| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPURewriteOutArguments.cpp | 321 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 D | AMDGPULowerBufferFatPointers.cpp | 2409 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 D | DeadArgumentElimination.cpp | 859 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 D | Attributor.cpp | 3425 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 D | Instruction.cpp | 508 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 D | Attributes.cpp | 1571 AttributeSet RetAttrs, in get() argument 1586 if (RetAttrs.hasAttributes()) in get() 1601 AttrSets.push_back(RetAttrs); in get()
|
| H A D | Verifier.cpp | 2198 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 D | CGCall.cpp | 2417 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 D | LLParser.cpp | 6620 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 D | SelectionDAGBuilder.h | 419 Type *ReturnTy, AttributeSet RetAttrs,
|
| H A D | SelectionDAGBuilder.cpp | 10586 AttributeSet RetAttrs, bool IsPatchPoint) { in populateCallLoweringInfo() argument 10608 RetAttrs) in populateCallLoweringInfo()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Attributes.h | 535 AttributeSet RetAttrs,
|
| /freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.cpp | 547 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()
|