Home
last modified time | relevance | path

Searched refs:OpaqueType (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DValue.cpp123 Value::Value(Interpreter *In, void *Ty) : Interp(In), OpaqueType(Ty) { in Value()
170 : Interp(RHS.Interp), OpaqueType(RHS.OpaqueType), Data(RHS.Data), in Value()
178 OpaqueType = std::exchange(RHS.OpaqueType, nullptr); in Value()
192 OpaqueType = RHS.OpaqueType; in operator =()
209 OpaqueType = std::exchange(RHS.OpaqueType, nullptr); in operator =()
222 OpaqueType = nullptr; in clear()
235 return QualType::getFromOpaquePtr(OpaqueType); in getType()
265 assert(OpaqueType != nullptr && "Can't print default Value"); in print()
H A DInterpreter.cpp872 void *OpaqueType) { in __clang_Interpreter_SetValueWithAlloc() argument
874 VRef = Value(static_cast<Interpreter *>(This), OpaqueType); in __clang_Interpreter_SetValueWithAlloc()
879 void *This, void *OutVal, void *OpaqueType, ...) { in __clang_Interpreter_SetValueNoAlloc() argument
882 VRef = Value(I, OpaqueType); in __clang_Interpreter_SetValueNoAlloc()
887 va_start(args, /*last named param*/ OpaqueType); in __clang_Interpreter_SetValueNoAlloc()
/freebsd/contrib/llvm-project/clang/include/clang/Interpreter/
H A DValue.h138 void setOpaqueType(void *Ty) { OpaqueType = Ty; } in setOpaqueType()
196 void *OpaqueType = nullptr;
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVBuiltins.cpp2050 Type *OpaqueType = StructType::getTypeByName(Context, "spirv.DeviceEvent"); in getOrCreateSPIRVDeviceEventPointer() local
2051 if (!OpaqueType) in getOrCreateSPIRVDeviceEventPointer()
2052 OpaqueType = StructType::getTypeByName(Context, "opencl.clk_event_t"); in getOrCreateSPIRVDeviceEventPointer()
2053 if (!OpaqueType) in getOrCreateSPIRVDeviceEventPointer()
2054 OpaqueType = StructType::create(Context, "spirv.DeviceEvent"); in getOrCreateSPIRVDeviceEventPointer()
2057 Type *PtrType = PointerType::get(PointerType::get(OpaqueType, SC0), SC1); in getOrCreateSPIRVDeviceEventPointer()
2740 static SPIRVType *getSampledImageType(const TargetExtType *OpaqueType, in getSampledImageType() argument
2744 OpaqueType, SPIRV::AccessQualifier::ReadOnly, MIRBuilder, GR); in getSampledImageType()
2799 SPIRVType *lowerBuiltinType(const Type *OpaqueType, in lowerBuiltinType() argument
2811 const TargetExtType *BuiltinType = dyn_cast<TargetExtType>(OpaqueType); in lowerBuiltinType()
[all …]