Home
last modified time | relevance | path

Searched refs:ParamAttrs (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/llvm/include/llvm/Frontend/OpenMP/
DOMPKinds.def566 #define ParamAttrs(...) ArrayRef<AttributeSet>({__VA_ARGS__})
680 ParamAttrs(ReadOnlyPtrAttrs))
682 ParamAttrs(ReadOnlyPtrAttrs))
684 ParamAttrs())
685 __OMP_RTL_ATTRS(__kmpc_syncwarp, BarrierAttrs, AttributeSet(), ParamAttrs())
687 ParamAttrs(ReadOnlyPtrAttrs))
689 ParamAttrs(ReadOnlyPtrAttrs))
691 ParamAttrs(ReadOnlyPtrAttrs))
693 ParamAttrs(ReadOnlyPtrAttrs))
695 ParamAttrs(ReadOnlyPtrAttrs, AttributeSet(), ReadOnlyPtrAttrs))
[all …]
/external/llvm-project/llvm/lib/IR/
DFunction.cpp152 static Type *getMemoryParamAllocType(AttributeSet ParamAttrs, Type *ArgTy) { in getMemoryParamAllocType() argument
155 if (Type *ByValTy = ParamAttrs.getByValType()) in getMemoryParamAllocType()
157 if (Type *ByRefTy = ParamAttrs.getByRefType()) in getMemoryParamAllocType()
159 if (Type *PreAllocTy = ParamAttrs.getPreallocatedType()) in getMemoryParamAllocType()
164 if (ParamAttrs.hasAttribute(Attribute::InAlloca) || in getMemoryParamAllocType()
165 ParamAttrs.hasAttribute(Attribute::ByVal) || in getMemoryParamAllocType()
166 ParamAttrs.hasAttribute(Attribute::StructRet) || in getMemoryParamAllocType()
167 ParamAttrs.hasAttribute(Attribute::Preallocated)) in getMemoryParamAllocType()
174 AttributeSet ParamAttrs = in getPassPointeeByValueCopySize() local
176 if (Type *MemTy = getMemoryParamAllocType(ParamAttrs, getType())) in getPassPointeeByValueCopySize()
[all …]
/external/llvm-project/llvm/lib/Transforms/Coroutines/
DCoroSplit.cpp710 AttrBuilder ParamAttrs; in addFramePointerAttrs() local
711 ParamAttrs.addAttribute(Attribute::NonNull); in addFramePointerAttrs()
712 ParamAttrs.addAttribute(Attribute::NoAlias); in addFramePointerAttrs()
713 ParamAttrs.addAlignmentAttr(Alignment); in addFramePointerAttrs()
714 ParamAttrs.addDereferenceableAttr(Size); in addFramePointerAttrs()
715 Attrs = Attrs.addParamAttributes(Context, ParamIndex, ParamAttrs); in addFramePointerAttrs()
/external/clang/lib/CodeGen/
DCGOpenMPRuntime.cpp6276 ArrayRef<ParamAttrTy> ParamAttrs) { in evaluateCDTSize() argument
6306 if (ParamAttrs[Offset].Kind == Vector) in evaluateCDTSize()
6312 if (ParamAttrs[I + Offset].Kind == Vector) { in evaluateCDTSize()
6330 ArrayRef<ParamAttrTy> ParamAttrs, in emitX86DeclareSimdFunction() argument
6370 evaluateCDTSize(FD, ParamAttrs)); in emitX86DeclareSimdFunction()
6373 for (auto &ParamAttr : ParamAttrs) { in emitX86DeclareSimdFunction()
6413 llvm::SmallVector<ParamAttrTy, 8> ParamAttrs(ParamPositions.size()); in emitDeclareSimdFunction() local
6425 ParamAttrs[Pos].Kind = Uniform; in emitDeclareSimdFunction()
6442 ParamAttrs[Pos].Alignment = in emitDeclareSimdFunction()
6462 auto &ParamAttr = ParamAttrs[Pos]; in emitDeclareSimdFunction()
[all …]
/external/llvm-project/clang/lib/CodeGen/
DCGOpenMPRuntime.cpp11080 ArrayRef<ParamAttrTy> ParamAttrs) { in evaluateCDTSize() argument
11110 if (ParamAttrs[Offset].Kind == Vector) in evaluateCDTSize()
11116 if (ParamAttrs[I + Offset].Kind == Vector) { in evaluateCDTSize()
11134 ArrayRef<ParamAttrTy> ParamAttrs, in emitX86DeclareSimdFunction() argument
11173 unsigned NumElts = evaluateCDTSize(FD, ParamAttrs); in emitX86DeclareSimdFunction()
11179 for (const ParamAttrTy &ParamAttr : ParamAttrs) { in emitX86DeclareSimdFunction()
11278 getNDSWDS(const FunctionDecl *FD, ArrayRef<ParamAttrTy> ParamAttrs) { in getNDSWDS() argument
11293 Sizes.push_back(getAArch64LS(QT, ParamAttrs[I].Kind, C)); in getNDSWDS()
11314 static std::string mangleVectorParameters(ArrayRef<ParamAttrTy> ParamAttrs) { in mangleVectorParameters() argument
11317 for (const auto &ParamAttr : ParamAttrs) { in mangleVectorParameters()
[all …]
/external/clang/include/clang/Parse/
DParser.h1385 ParsedAttributes *ParamAttrs);
/external/llvm-project/clang/include/clang/Parse/
DParser.h1731 ParsedAttributes *ParamAttrs);