/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPURewriteOutArguments.cpp | 326 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()
|
H A D | AMDGPULowerBufferFatPointers.cpp | 2254 AttributeSet RetAttrs = OldAttrs.getRetAttrs(); 2256 RetAttrs = RetAttrs.removeAttributes( 2258 AttributeFuncs::typeIncompatible(NewF->getReturnType(), RetAttrs)); 2260 NewF->getContext(), OldAttrs.getFnAttrs(), RetAttrs, ArgAttrs)); 1710 AttributeSet RetAttrs = OldAttrs.getRetAttrs(); moveFunctionAdaptingType() local
|
/llvm-project/llvm/unittests/ExecutionEngine/Orc/ |
H A D | IndirectionUtilsTest.cpp | 28 AttributeSet RetAttrs; // None in TEST() local 33 F->setAttributes(AttributeList::get(Context, FnAttrs, RetAttrs, ArgAttrs)); in TEST()
|
/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | DeadArgumentElimination.cpp | 866 AttributeSet RetAttrs = AttributeSet::get(F->getContext(), RAttrs); in removeDeadStuffFromFunction() 875 AttributeList::get(F->getContext(), FnAttrs, RetAttrs, ArgAttrVec); in removeDeadStuffFromFunction() 909 AttributeSet RetAttrs = AttributeSet::get(F->getContext(), RAttrs); in removeDeadStuffFromFunction() 952 AttributeList::get(F->getContext(), FnAttrs, RetAttrs, ArgAttrVec); in removeDeadStuffFromFunction() 852 AttributeSet RetAttrs = AttributeSet::get(F->getContext(), RAttrs); removeDeadStuffFromFunction() local 894 AttributeSet RetAttrs = AttributeSet::get(F->getContext(), RAttrs); removeDeadStuffFromFunction() local
|
H A D | Attributor.cpp | 3429 AttributeSet RetAttrs = Attrs.getRetAttrs(); in identifyDefaultAbstractAttributes() 3440 checkAndQueryIRAttr<Attribute::NoUndef, AANoUndef>(RetPos, RetAttrs); in identifyDefaultAbstractAttributes() 3448 checkAndQueryIRAttr<Attribute::NonNull, AANonNull>(RetPos, RetAttrs); in identifyDefaultAbstractAttributes() 3451 checkAndQueryIRAttr<Attribute::NoAlias, AANoAlias>(RetPos, RetAttrs); in identifyDefaultAbstractAttributes() 3442 AttributeSet RetAttrs = Attrs.getRetAttrs(); identifyDefaultAbstractAttributes() local
|
/llvm-project/llvm/lib/IR/ |
H A D | Instruction.cpp | 509 AttributeSet RetAttrs = CB->getAttributes().getRetAttrs(); in dropUBImplyingAttrsAndMetadata() 510 return RetAttrs.hasAttribute(Attribute::Range) || in dropUBImplyingAttrsAndMetadata() 511 RetAttrs.hasAttribute(Attribute::Alignment) || in dropUBImplyingAttrsAndMetadata() 512 RetAttrs.hasAttribute(Attribute::NonNull); in dropUBImplyingAttrsAndMetadata() 468 AttributeSet RetAttrs = CB->getAttributes().getRetAttrs(); hasPoisonGeneratingReturnAttributes() local
|
H A D | Attributes.cpp | 1564 AttributeSet RetAttrs, in removeAttributesAtIndex() 1579 if (RetAttrs.hasAttributes()) in addDereferenceableRetAttr() 1594 AttrSets.push_back(RetAttrs); in addDereferenceableOrNullParamAttr() 1352 get(LLVMContext & C,AttributeSet FnAttrs,AttributeSet RetAttrs,ArrayRef<AttributeSet> ArgAttrs) get() argument
|
H A D | Verifier.cpp | 2135 AttributeSet RetAttrs = Attrs.getRetAttrs(); in verifyFunctionAttrs() 2136 for (Attribute RetAttr : RetAttrs) in verifyFunctionAttrs() 2154 verifyParameterAttrs(RetAttrs, FT->getReturnType(), V); in verifyFunctionAttrs() 2125 AttributeSet RetAttrs = Attrs.getRetAttrs(); verifyFunctionAttrs() local
|
/llvm-project/clang/lib/CodeGen/ |
H A D | CGCall.cpp | 2343 llvm::AttrBuilder RetAttrs(getLLVMContext()); in ConstructAttributeList() 2403 RetAttrs.addAttribute(llvm::Attribute::NoAlias); in ConstructAttributeList() 2440 RetAttrs.addAttribute(llvm::Attribute::NoAlias); in ConstructAttributeList() 2443 RetAttrs.addAttribute(llvm::Attribute::NonNull); in ConstructAttributeList() 2589 RetAttrs.addAttribute(llvm::Attribute::NoUndef); in ConstructAttributeList() 2595 RetAttrs.addAttribute(llvm::Attribute::SExt); in ConstructAttributeList() 2597 RetAttrs.addAttribute(llvm::Attribute::ZExt); in ConstructAttributeList() 2599 RetAttrs.addAttribute(llvm::Attribute::NoExt); in ConstructAttributeList() 2603 RetAttrs.addAttribute(llvm::Attribute::InReg); in ConstructAttributeList() 2606 RetAttrs in ConstructAttributeList() 2337 llvm::AttrBuilder RetAttrs(getLLVMContext()); ConstructAttributeList() local [all...] |
/llvm-project/llvm/lib/AsmParser/ |
H A D | LLParser.cpp | 6401 AttrBuilder RetAttrs(M->getContext()); in parseFunctionHeader() 6408 parseOptionalCallingConv(CC) || parseOptionalReturnAttrs(RetAttrs) || in parseFunctionHeader() 6518 AttributeSet::get(Context, RetAttrs), Attrs); in parseFunctionHeader() 7383 AttrBuilder RetAttrs(M->getContext()), FnAttrs(M->getContext()); in parseExceptionArgs() 7395 if (parseOptionalCallingConv(CC) || parseOptionalReturnAttrs(RetAttrs) || in parseCleanupRet() 7452 AttributeSet::get(Context, RetAttrs), ArgAttrs); in parseCatchSwitch() 7681 AttrBuilder RetAttrs(M->getContext()), FnAttrs(M->getContext()); in parseArithmetic() 7692 if (parseOptionalCallingConv(CC) || parseOptionalReturnAttrs(RetAttrs) || in parseLogical() 7766 AttributeSet::get(Context, RetAttrs), ArgAttrs); in parseSelect() 8085 AttrBuilder RetAttrs( in parseAlloc() 6296 AttrBuilder RetAttrs(M->getContext()); parseFunctionHeader() local 7264 AttrBuilder RetAttrs(M->getContext()), FnAttrs(M->getContext()); parseInvoke() local 7562 AttrBuilder RetAttrs(M->getContext()), FnAttrs(M->getContext()); parseCallBr() local 7967 AttrBuilder RetAttrs(M->getContext()), FnAttrs(M->getContext()); parseCall() local [all...] |
/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGBuilder.h | 420 Type *ReturnTy, AttributeSet RetAttrs,
|
H A D | SelectionDAGBuilder.cpp | 10585 AttributeSet RetAttrs, bool IsPatchPoint) { in visitPatchpoint() 10607 RetAttrs) in visitPatchpoint() 10361 populateCallLoweringInfo(TargetLowering::CallLoweringInfo & CLI,const CallBase * Call,unsigned ArgIdx,unsigned NumArgs,SDValue Callee,Type * ReturnTy,AttributeSet RetAttrs,bool IsPatchPoint) populateCallLoweringInfo() argument
|
/llvm-project/llvm/include/llvm/IR/ |
H A D | Attributes.h | 520 AttributeSet RetAttrs,
|
/llvm-project/llvm/lib/Frontend/OpenMP/ |
H A D | OMPIRBuilder.cpp | 568 auto RetAttrs = Attrs.getRetAttrs(); in addAttributes() 600 addAttrSet(RetAttrs, RetAttrSet, /*Param*/ false); \ in getOrCreateRuntimeFunction() 603 Fn.setAttributes(AttributeList::get(Ctx, FnAttrs, RetAttrs, ArgAttrs)); \ in getOrCreateRuntimeFunction() 529 auto RetAttrs = Attrs.getRetAttrs(); addAttributes() local
|