Lines Matching refs:ValueKind
119 ValueKind MetadataStreamerV2::getValueKind(Type *Ty, StringRef TypeQual, in getValueKind()
122 return ValueKind::Pipe; in getValueKind()
124 return StringSwitch<ValueKind>(BaseTypeName) in getValueKind()
125 .Case("image1d_t", ValueKind::Image) in getValueKind()
126 .Case("image1d_array_t", ValueKind::Image) in getValueKind()
127 .Case("image1d_buffer_t", ValueKind::Image) in getValueKind()
128 .Case("image2d_t", ValueKind::Image) in getValueKind()
129 .Case("image2d_array_t", ValueKind::Image) in getValueKind()
130 .Case("image2d_array_depth_t", ValueKind::Image) in getValueKind()
131 .Case("image2d_array_msaa_t", ValueKind::Image) in getValueKind()
132 .Case("image2d_array_msaa_depth_t", ValueKind::Image) in getValueKind()
133 .Case("image2d_depth_t", ValueKind::Image) in getValueKind()
134 .Case("image2d_msaa_t", ValueKind::Image) in getValueKind()
135 .Case("image2d_msaa_depth_t", ValueKind::Image) in getValueKind()
136 .Case("image3d_t", ValueKind::Image) in getValueKind()
137 .Case("sampler_t", ValueKind::Sampler) in getValueKind()
138 .Case("queue_t", ValueKind::Queue) in getValueKind()
142 ValueKind::DynamicSharedPointer : in getValueKind()
143 ValueKind::GlobalBuffer) : in getValueKind()
144 ValueKind::ByValue); in getValueKind()
352 Align Alignment, ValueKind ValueKind, in emitKernelArg() argument
364 Arg.mValueKind = ValueKind; in emitKernelArg()
399 emitKernelArg(DL, Int64Ty, Align(8), ValueKind::HiddenGlobalOffsetX); in emitHiddenKernelArgs()
401 emitKernelArg(DL, Int64Ty, Align(8), ValueKind::HiddenGlobalOffsetY); in emitHiddenKernelArgs()
403 emitKernelArg(DL, Int64Ty, Align(8), ValueKind::HiddenGlobalOffsetZ); in emitHiddenKernelArgs()
412 emitKernelArg(DL, Int8PtrTy, Align(8), ValueKind::HiddenPrintfBuffer); in emitHiddenKernelArgs()
417 emitKernelArg(DL, Int8PtrTy, Align(8), ValueKind::HiddenHostcallBuffer); in emitHiddenKernelArgs()
419 emitKernelArg(DL, Int8PtrTy, Align(8), ValueKind::HiddenNone); in emitHiddenKernelArgs()
426 emitKernelArg(DL, Int8PtrTy, Align(8), ValueKind::HiddenDefaultQueue); in emitHiddenKernelArgs()
427 emitKernelArg(DL, Int8PtrTy, Align(8), ValueKind::HiddenCompletionAction); in emitHiddenKernelArgs()
429 emitKernelArg(DL, Int8PtrTy, Align(8), ValueKind::HiddenNone); in emitHiddenKernelArgs()
430 emitKernelArg(DL, Int8PtrTy, Align(8), ValueKind::HiddenNone); in emitHiddenKernelArgs()
436 emitKernelArg(DL, Int8PtrTy, Align(8), ValueKind::HiddenMultiGridSyncArg); in emitHiddenKernelArgs()
748 const DataLayout &DL, Type *Ty, Align Alignment, StringRef ValueKind, in emitKernelArg() argument
763 Arg[".value_kind"] = Arg.getDocument()->getNode(ValueKind, /*Copy=*/true); in emitKernelArg()