Home
last modified time | relevance | path

Searched refs:NoneType (Results 1 – 25 of 82) sorted by relevance

1234

/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DNone.h23 enum class NoneType { None = 1 }; enum
24 const NoneType None = NoneType::None;
H A DOptional.h268 constexpr Optional(NoneType) {} in Optional() argument
396 constexpr bool operator==(const Optional<T> &X, NoneType) {
401 constexpr bool operator==(NoneType, const Optional<T> &X) {
406 constexpr bool operator!=(const Optional<T> &X, NoneType) {
411 constexpr bool operator!=(NoneType, const Optional<T> &X) {
415 template <typename T> constexpr bool operator<(const Optional<T> &, NoneType) {
424 constexpr bool operator<=(const Optional<T> &X, NoneType) {
429 constexpr bool operator<=(NoneType, const Optional<T> &X) {
442 constexpr bool operator>=(const Optional<T> &X, NoneType) {
447 constexpr bool operator>=(NoneType, const Optional<T> &X) {
[all …]
H A DStringMapEntry.h88 template <> class StringMapEntryStorage<NoneType> : public StringMapEntryBase {
90 explicit StringMapEntryStorage(size_t keyLength, NoneType = None)
94 NoneType getValue() const { return None; } in getValue()
H A DStringSet.h23 class StringSet : public StringMap<NoneType, AllocatorTy> {
24 using Base = StringMap<NoneType, AllocatorTy>;
/llvm-project-15.0.7/clang/lib/Driver/ToolChains/
H A DHLSL.cpp72 return NoneType(); in tryParseProfile()
87 return NoneType(); in tryParseProfile()
91 return NoneType(); in tryParseProfile()
97 return NoneType(); in tryParseProfile()
108 return NoneType(); in tryParseProfile()
/llvm-project-15.0.7/mlir/test/python/ir/
H A Dbuiltin_types.py211 print("none type:", NoneType.get())
284 none = NoneType.get()
305 none = NoneType.get()
353 none = NoneType.get()
392 none = NoneType.get()
436 none = NoneType.get()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DObjCARCAnalysisUtils.h243 ImpreciseReleaseMDKind = NoneType::None; in init()
244 CopyOnEscapeMDKind = NoneType::None; in init()
245 NoObjCARCExceptionsMDKind = NoneType::None; in init()
/llvm-project-15.0.7/mlir/lib/Dialect/EmitC/IR/
H A DEmitC.cpp97 } else if (arg.isa<ArrayAttr>() && arg.getType().isa<NoneType>()) { in verify()
122 if (!value.getType().isa<NoneType>() && type != value.getType()) in verify()
176 if (!value.getType().isa<NoneType>() && type != value.getType()) in verify()
/llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/
H A DCppModuleConfiguration.cpp53 return llvm::NoneType(); in guessIncludePath()
56 return llvm::NoneType(); in guessIncludePath()
/llvm-project-15.0.7/llvm/lib/Support/
H A DOptional.cpp12 llvm::raw_ostream &llvm::operator<<(raw_ostream &OS, NoneType) { in operator <<() argument
/llvm-project-15.0.7/bolt/lib/Core/
H A DMCPlusBuilder.cpp138 return NoneType(); in getEHInfo()
142 return NoneType(); in getEHInfo()
146 return NoneType(); in getEHInfo()
224 return NoneType(); in getConditionalTailCall()
246 return NoneType(); in getOffset()
/llvm-project-15.0.7/clang-tools-extra/clangd/support/
H A DThreadsafeFS.h33 view(llvm::NoneType CWD) const { in view()
/llvm-project-15.0.7/llvm/include/llvm/Bitcode/
H A DBitcodeConvenience.h208 static void read(ArrayRef<T> buffer, NoneType, DataTy &&...data) { in read() argument
240 template <typename T> static void read(ArrayRef<T> buffer, NoneType) { in read() argument
281 unsigned code, NoneType) { in emit() argument
296 template <typename T> static void read(ArrayRef<T> buffer, NoneType) { in read() argument
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DSMLoc.h53 SMRange(NoneType) {} in SMRange() argument
/llvm-project-15.0.7/mlir/lib/IR/
H A DMLIRContext.cpp217 NoneType noneType;
299 impl->noneType = TypeUniquer::get<NoneType>(this); in MLIRContext()
876 NoneType NoneType::get(MLIRContext *context) { in get()
877 if (NoneType cachedInst = context->getImpl().noneType) in get()
902 storage->setType(NoneType::get(ctx)); in initializeAttributeStorage()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DDirectoryEntry.h278 OptionalDirectoryEntryRefDegradesToDirectoryEntryPtr(llvm::NoneType) {}
284 OptionalDirectoryEntryRefDegradesToDirectoryEntryPtr &operator=(llvm::NoneType) {
H A DFileEntry.h292 OptionalFileEntryRefDegradesToFileEntryPtr(llvm::NoneType) {}
298 OptionalFileEntryRefDegradesToFileEntryPtr &operator=(llvm::NoneType) {
/llvm-project-15.0.7/bolt/lib/Profile/
H A DDataAggregator.cpp942 return NoneType(); in getFallthroughsInTrace()
1815 return NoneType(); in parseCommExecEvent()
1821 return NoneType(); in parseCommExecEvent()
1831 return NoneType(); in parseCommExecEvent()
1845 return NoneType(); in parsePerfTime()
1858 return NoneType(); in parseForkEvent()
1865 return NoneType(); in parseForkEvent()
1884 return NoneType(); in parseForkEvent()
1891 return NoneType(); in parseForkEvent()
2145 return NoneType(); in parseNameBuildIDPair()
[all …]
/llvm-project-15.0.7/lldb/include/lldb/Utility/
H A DTimeout.h39 Timeout(llvm::NoneType none) : Base(none) {} in Timeout()
/llvm-project-15.0.7/clang/include/clang/Analysis/Analyses/
H A DPostOrderCFGView.h51 std::pair<llvm::NoneType, bool> insert(const CFGBlock *Block) { in insert()
/llvm-project-15.0.7/flang/include/flang/Optimizer/Builder/Runtime/
H A DRTBuilder.h257 return fir::BoxType::get(mlir::NoneType::get(context));
264 fir::BoxType::get(mlir::NoneType::get(context)));
285 return mlir::NoneType::get(context);
/llvm-project-15.0.7/flang/lib/Lower/
H A DConvertType.cpp193 return mlir::NoneType::get(context); in genTypelessExprType()
196 return fir::ReferenceType::get(mlir::NoneType::get(context)); in genTypelessExprType()
203 return mlir::NoneType::get(context); in genTypelessExprType()
/llvm-project-15.0.7/bolt/lib/Utils/
H A DUtils.cpp72 return NoneType(); in readDWARFExpressionTargetReg()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DRemoveRedundantDebugValues.cpp92 DebugVariable Var(MI.getDebugVariable(), NoneType(), in reduceDbgValsForwardScan()
/llvm-project-15.0.7/mlir/python/mlir/dialects/
H A D_transform_ops_ext.py87 optionalRoot: NoneType): argument

1234