Home
last modified time | relevance | path

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

/freebsd-14.2/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.cpp756 void *OpaqueType) { in __clang_Interpreter_SetValueWithAlloc() argument
758 VRef = Value(static_cast<Interpreter *>(This), OpaqueType); in __clang_Interpreter_SetValueWithAlloc()
764 __clang_Interpreter_SetValueNoAlloc(void *This, void *OutVal, void *OpaqueType, in __clang_Interpreter_SetValueNoAlloc() argument
767 VRef = Value(static_cast<Interpreter *>(This), OpaqueType); in __clang_Interpreter_SetValueNoAlloc()
773 void *OpaqueType) { in __clang_Interpreter_SetValueNoAlloc() argument
775 VRef = Value(static_cast<Interpreter *>(This), OpaqueType); in __clang_Interpreter_SetValueNoAlloc()
796 __clang_Interpreter_SetValueNoAlloc(void *This, void *OutVal, void *OpaqueType, in __clang_Interpreter_SetValueNoAlloc() argument
799 VRef = Value(static_cast<Interpreter *>(This), OpaqueType); in __clang_Interpreter_SetValueNoAlloc()
807 VRef = Value(static_cast<Interpreter *>(This), OpaqueType); in __clang_Interpreter_SetValueNoAlloc()
815 VRef = Value(static_cast<Interpreter *>(This), OpaqueType); in __clang_Interpreter_SetValueNoAlloc()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Interpreter/
H A DValue.h137 void setOpaqueType(void *Ty) { OpaqueType = Ty; } in setOpaqueType()
195 void *OpaqueType = nullptr;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVBuiltins.cpp1604 Type *OpaqueType = StructType::getTypeByName(Context, "spirv.DeviceEvent"); in getOrCreateSPIRVDeviceEventPointer() local
1605 if (!OpaqueType) in getOrCreateSPIRVDeviceEventPointer()
1606 OpaqueType = StructType::getTypeByName(Context, "opencl.clk_event_t"); in getOrCreateSPIRVDeviceEventPointer()
1607 if (!OpaqueType) in getOrCreateSPIRVDeviceEventPointer()
1608 OpaqueType = StructType::create(Context, "spirv.DeviceEvent"); in getOrCreateSPIRVDeviceEventPointer()
1611 Type *PtrType = PointerType::get(PointerType::get(OpaqueType, SC0), SC1); in getOrCreateSPIRVDeviceEventPointer()
2066 static SPIRVType *getSampledImageType(const TargetExtType *OpaqueType, in getSampledImageType() argument
2070 OpaqueType, SPIRV::AccessQualifier::ReadOnly, MIRBuilder, GR); in getSampledImageType()
2126 SPIRVType *lowerBuiltinType(const Type *OpaqueType, in lowerBuiltinType() argument
2138 const TargetExtType *BuiltinType = dyn_cast<TargetExtType>(OpaqueType); in lowerBuiltinType()
[all …]