Home
last modified time | relevance | path

Searched refs:impl (Results 1 – 25 of 263) sorted by relevance

1234567891011

/llvm-project-15.0.7/mlir/lib/IR/
H A DMLIRContext.cpp290 impl->int16Ty = in MLIRContext()
292 impl->int32Ty = in MLIRContext()
294 impl->int64Ty = in MLIRContext()
296 impl->int128Ty = in MLIRContext()
307 impl->falseAttr = IntegerAttr::getBoolAttrUnchecked(impl->int1Ty, false); in MLIRContext()
308 impl->trueAttr = IntegerAttr::getBoolAttrUnchecked(impl->int1Ty, true); in MLIRContext()
317 impl->affineUniquer in MLIRContext()
319 impl->affineUniquer in MLIRContext()
522 impl->threadPool = impl->ownedThreadPool.get(); in disableMultithreading()
664 impl = registeredIt->second.impl; in OperationName()
[all …]
H A DOperation.cpp655 OpFoldResult OpTrait::impl::foldIdempotent(Operation *op) { in foldIdempotent()
669 OpFoldResult OpTrait::impl::foldInvolution(Operation *op) { in foldInvolution()
691 LogicalResult OpTrait::impl::verifyNOperands(Operation *op, in verifyNOperands()
775 LogicalResult OpTrait::impl::verifyOneRegion(Operation *op) { in verifyOneRegion()
781 LogicalResult OpTrait::impl::verifyNRegions(Operation *op, in verifyNRegions()
801 LogicalResult OpTrait::impl::verifyOneResult(Operation *op) { in verifyOneResult()
807 LogicalResult OpTrait::impl::verifyNResults(Operation *op, in verifyNResults()
940 LogicalResult OpTrait::impl::verifyNSuccessors(Operation *op, in verifyNSuccessors()
1157 LogicalResult impl::verifyCastInterfaceOp( in verifyCastInterfaceOp()
1188 void impl::ensureRegionTerminator( in ensureRegionTerminator()
[all …]
/llvm-project-15.0.7/mlir/lib/AsmParser/
H A DAsmParserState.cpp97 impl = std::move(other.impl); in operator =()
110 auto it = impl->blocksToIdx.find(block); in getBlockDef()
111 return it == impl->blocksToIdx.end() ? nullptr : &*impl->blocks[it->second]; in getBlockDef()
196 impl->resolveSymbolUses(); in finalize()
216 impl->operationToIdx.try_emplace(op, impl->operations.size()); in finalizeOperationDefinition()
245 impl->symbolUseScopes.pop_back(); in finalizeRegionDefinition()
250 if (it == impl->blocksToIdx.end()) { in addDefinition()
251 impl->blocksToIdx.try_emplace(block, impl->blocks.size()); in addDefinition()
316 if (it == impl->blocksToIdx.end()) { in addUses()
317 it = impl->blocksToIdx.try_emplace(block, impl->blocks.size()).first; in addUses()
[all …]
/llvm-project-15.0.7/clang/test/Analysis/inlining/
H A Dcontainers.cpp32 clang_analyzer_eval(set.begin().impl == set.end().impl); in test()
53 clang_analyzer_eval(w1.begin().impl.impl == w1.begin().impl.impl); in testWrappers()
60 clang_analyzer_eval(w2.start().impl == w2.start().impl); in testWrappers()
67 clang_analyzer_eval(w3.start().impl == w3.start().impl); in testWrappers()
74 clang_analyzer_eval(w4.start().impl == w4.start().impl); in testWrappers()
116 int *impl; member
173 MySet impl; member in BeginOnlySet
206 MySet impl; member in IteratorTypedefOnlySet
228 MySet impl; member in IteratorUsingOnlySet
250 MySet impl; member in IteratorStructOnlySet
[all …]
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DLocation.h50 Location(LocationAttr loc) : impl(loc) { in Location()
53 Location(const LocationAttr::ImplType *impl) : impl(impl) { in Location() argument
54 assert(impl && "location should never be null."); in Location()
61 operator LocationAttr() const { return impl; } in LocationAttr()
67 return impl.isa<U>(); in isa()
71 return impl.dyn_cast<U>(); in dyn_cast()
75 return impl.cast<U>(); in cast()
79 bool operator==(Location rhs) const { return impl == rhs.impl; }
84 void dump() const { impl.dump(); } in dump()
96 LocationAttr impl;
[all …]
H A DTypes.h85 /* implicit */ Type(const ImplType *impl) in Type() argument
86 : impl(const_cast<ImplType *>(impl)) {} in Type()
91 bool operator==(Type other) const { return impl == other.impl; }
93 explicit operator bool() const { return impl; }
95 bool operator!() const { return impl == nullptr; }
171 return static_cast<const void *>(impl); in getAsOpaquePointer()
187 ImplType *impl{nullptr};
253 assert(impl && "isa<> used on a null type."); in isa()
264 return isa<U>() ? U(impl) : U(nullptr); in dyn_cast()
268 return (impl && isa<U>()) ? U(impl) : U(nullptr); in dyn_cast_or_null()
[all …]
H A DAttributes.h37 /* implicit */ Attribute(const ImplType *impl) in Attribute() argument
38 : impl(const_cast<ImplType *>(impl)) {} in Attribute()
43 bool operator==(Attribute other) const { return impl == other.impl; }
45 explicit operator bool() const { return impl; }
70 Type getType() const { return impl->getType(); } in getType()
101 return impl->getAbstractAttribute(); in getAbstractAttribute()
105 ImplType *impl{nullptr};
126 return impl && isa<First, Rest...>(); in isa_and_nonnull()
131 return isa<U>() ? U(impl) : U(nullptr); in dyn_cast()
135 return (impl && isa<U>()) ? U(impl) : U(nullptr); in dyn_cast_or_null()
[all …]
H A DValue.h87 constexpr Value(detail::ValueImpl *impl = nullptr) : impl(impl) {} in impl() function
101 return isa<U>() ? U(impl) : U(nullptr); in dyn_cast()
105 return (*this && isa<U>()) ? U(impl) : U(nullptr); in dyn_cast_or_null()
110 return U(impl); in cast()
113 explicit operator bool() const { return impl; }
114 bool operator==(const Value &other) const { return impl == other.impl; }
118 Type getType() const { return impl->getType(); } in getType()
163 impl->replaceAllUsesWith(newValue); in replaceAllUsesWith()
227 void *getAsOpaquePointer() const { return impl; } in getAsOpaquePointer()
231 detail::ValueImpl *getImpl() const { return impl; } in getImpl()
[all …]
H A DOperationSupport.h168 return impl->interfaceMap.lookup<T>(); in getInterface()
194 return isRegistered() ? impl->dialect : impl->name.getReferencedDialect(); in getDialect()
220 bool operator==(const OperationName &rhs) const { return impl == rhs.impl; }
224 OperationName(Impl *impl) : impl(impl) {} in OperationName() argument
227 Impl *impl; variable
294 return impl->parseAssemblyFn; in getParseAssemblyFn()
307 return impl->verifyInvariantsFn(op); in verifyInvariants()
348 impl->interfaceMap.insert<Models...>(); in attachInterface()
377 return impl->attributeNames; in getAttributeNames()
392 RegisteredOperationName(Impl *impl) : OperationName(impl) {} in RegisteredOperationName() argument
[all …]
/llvm-project-15.0.7/openmp/libomptarget/DeviceRTL/src/
H A DMapping.cpp25 namespace impl { namespace
217 uint32_t ThreadIdInWarp = impl::getThreadIdInWarp(); in getThreadIdInWarp()
218 ASSERT(ThreadIdInWarp < impl::getWarpSize()); in getThreadIdInWarp()
242 uint32_t WarpID = impl::getWarpId(); in getWarpId()
243 ASSERT(WarpID < impl::getNumberOfWarpsInBlock()); in getWarpId()
248 uint32_t BlockId = impl::getBlockId(); in getBlockId()
249 ASSERT(BlockId < impl::getNumberOfBlocks()); in getBlockId()
255 ASSERT(impl::getWarpId() < NumberOfWarpsInBlocks); in getNumberOfWarpsInBlock()
261 ASSERT(impl::getBlockId() < NumberOfBlocks); in getNumberOfBlocks()
299 return impl::getNumHardwareThreadsInBlock(); in __kmpc_get_hardware_num_threads_in_block()
[all …]
H A DSynchronization.cpp26 namespace impl { namespace
304 impl::namedBarrierInit(); in init()
309 void synchronize::threads() { impl::syncThreads(); } in threads()
313 void fence::team(int Ordering) { impl::fenceTeam(Ordering); } in team()
320 return impl::atomicLoad(Addr, Ordering); in load()
324 impl::atomicStore(Addr, V, Ordering); in store()
328 return impl::atomicInc(Addr, V, Ordering); in inc()
332 return impl::atomicAdd(Addr, V, Ordering); in add()
336 return impl::atomicAdd(Addr, V, Ordering); in add()
358 impl::namedBarrier(); in __kmpc_barrier()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/Orc/
H A DLLJIT.h284 !impl().ES && in setExecutorProcessControl()
288 return impl(); in setExecutorProcessControl()
294 return impl(); in setExecutionSession()
303 return impl(); in setJITTargetMachineBuilder()
316 return impl(); in setDataLayout()
326 return impl(); in setObjectLinkingLayerCreator()
338 return impl(); in setCompileFunctionCreator()
348 return impl(); in setPlatformSetUp()
361 return impl(); in setNumCompileThreads()
371 impl().EPC = &EPC; in setExecutorProcessControl()
[all …]
/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dpgmath.h.inc93 #define PGMATH_REAL_IMPL(impl, func) \
99 #define PGMATH_COMPLEX_IMPL(impl, func) \
106 #define PGMATH_ALL_FP_IMPL(impl, func) \
107 PGMATH_REAL_IMPL(impl, func) \
108 PGMATH_FAST_COMPLEX_IMPL(impl, func)
110 #define PGMATH_REAL2_IMPL(impl, func) \
116 #define PGMATH_COMPLEX2_IMPL(impl, func) \
124 #define PGMATH_ALL_FP2_IMPL(impl, func) \
276 #define PGMATH_DELCARE_POW(impl) \
282 PGMATH_USE_S(pow, __##impl##s_powi_1) \
[all …]
/llvm-project-15.0.7/mlir/lib/Pass/
H A DPassCrashRecovery.cpp205 assert((!impl->localReproducer || in initialize()
215 if (!impl->localReproducer) in initialize()
231 if (impl->activeContexts.empty()) in finalize()
244 if (!impl->localReproducer) { in finalize()
264 assert(impl->activeContexts.size() == impl->runningPasses.size() && in finalize()
277 impl->activeContexts.clear(); in finalize()
285 if (!impl->localReproducer) in prepareReproducerFor()
290 if (!impl->activeContexts.empty()) in prepareReproducerFor()
311 passOS.str(), op, impl->streamFactory, impl->pmFlagVerifyPasses)); in prepareReproducerFor()
321 passOS.str(), op, impl->streamFactory, impl->pmFlagVerifyPasses)); in prepareReproducerFor()
[all …]
H A DPass.cpp298 OpPassManager::OpPassManager(OpPassManager &&rhs) : impl(std::move(rhs.impl)) {} in OpPassManager()
301 impl = std::make_unique<OpPassManagerImpl>(*rhs.impl); in operator =()
324 return impl->nest(nestedName); in nest()
327 return impl->nest(nestedName); in nest()
334 impl->addPass(std::move(pass)); in addPass()
347 return impl->getOpName(); in getOpName()
352 return impl->getOpName(context); in getOpName()
356 return impl->getOpAnchorName(); in getOpAnchorName()
874 auto it = impl->childAnalyses.find(op); in nestImmediate()
875 if (it == impl->childAnalyses.end()) in nestImmediate()
[all …]
/llvm-project-15.0.7/mlir/lib/Support/
H A DTiming.cpp83 auto &impl = *tm.impl; in get() local
467 return impl->displayMode; in getDisplayMode()
475 assert(impl->output); in getOutput()
476 return *impl->output; in getOutput()
481 if (impl->enabled) { in print()
482 impl->rootTimer->finalize(); in print()
483 impl->rootTimer->print(*impl->output, impl->displayMode); in print()
496 impl->rootTimer->dump(os); in dumpTimers()
501 impl->rootTimer->finalize(); in dumpAsList()
507 impl->rootTimer->finalize(); in dumpAsTree()
[all …]
/llvm-project-15.0.7/mlir/lib/ExecutionEngine/
H A DRunnerUtils.cpp56 impl::printMemRef(*M); in _mlir_ciface_printMemrefVector4x4xf32()
60 impl::printMemRef(*M); in _mlir_ciface_printMemrefI8()
64 impl::printMemRef(*M); in _mlir_ciface_printMemrefI32()
68 impl::printMemRef(*M); in _mlir_ciface_printMemrefI64()
72 impl::printMemRef(*M); in _mlir_ciface_printMemrefF32()
76 impl::printMemRef(*M); in _mlir_ciface_printMemrefF64()
110 impl::printMemRef(*M); in _mlir_ciface_printMemref0dF32()
113 impl::printMemRef(*M); in _mlir_ciface_printMemref1dF32()
116 impl::printMemRef(*M); in _mlir_ciface_printMemref2dF32()
119 impl::printMemRef(*M); in _mlir_ciface_printMemref3dF32()
[all …]
/llvm-project-15.0.7/llvm/test/TableGen/
H A Dintrin-properties.td1 …>/ArgMemOnly/;s/<ATTR>/ArgMemOnly/' < %s > %t; llvm-tblgen -gen-intrinsic-impl -I %p/../../include…
2 // RUN: sed -e 's/<PROP>/Cold/;s/<ATTR>/Cold/' < %s > %t; llvm-tblgen -gen-intrinsic-impl -I %p/../…
3 …>/Convergent/;s/<ATTR>/Convergent/' < %s > %t; llvm-tblgen -gen-intrinsic-impl -I %p/../../include…
6 …NoDuplicate/;s/<ATTR>/NoDuplicate/' < %s > %t; llvm-tblgen -gen-intrinsic-impl -I %p/../../include…
7 // RUN: sed -e 's/<PROP>/NoFree/;s/<ATTR>/NoFree/' < %s > %t; llvm-tblgen -gen-intrinsic-impl -I %p…
8 // RUN: sed -e 's/<PROP>/NoMem/;s/<ATTR>/ReadNone/' < %s > %t; llvm-tblgen -gen-intrinsic-impl -I %…
9 // RUN: sed -e 's/<PROP>/NoMerge/;s/<ATTR>/NoMerge/' < %s > %t; llvm-tblgen -gen-intrinsic-impl -I …
10 // RUN: sed -e 's/<PROP>/NoReturn/;s/<ATTR>/NoReturn/' < %s > %t; llvm-tblgen -gen-intrinsic-impl -…
11 // RUN: sed -e 's/<PROP>/NoSync/;s/<ATTR>/NoSync/' < %s > %t; llvm-tblgen -gen-intrinsic-impl -I %p…
12 // RUN: sed -e 's/<PROP>/ReadMem/;s/<ATTR>/ReadOnly/' < %s > %t; llvm-tblgen -gen-intrinsic-impl -I…
[all …]
/llvm-project-15.0.7/clang/test/Analysis/Inputs/
H A Dctu-inherited-default-ctor-other.cpp3 class impl;
6 class impl<n> {}; class
9 class impl<n, T, TS...> : impl<n + 1, TS...> { class
10 using child = impl<n + 1, TS...>;
12 impl(T);
15 class container : impl<0, TS...> {};
/llvm-project-15.0.7/libcxxabi/test/
H A Dguard_test_basic.pass.cpp33 Tests() : g{}, impl(&g) {} in Tests()
35 Impl impl; member
60 assert(impl.cxa_guard_acquire() == INIT_IS_PENDING); in test_acquire()
66 assert(impl.cxa_guard_acquire() == INIT_IS_PENDING); in test_acquire()
67 impl.cxa_guard_release(); in test_acquire()
69 assert(impl.cxa_guard_acquire() == INIT_IS_DONE); in test_acquire()
77 assert(impl.cxa_guard_acquire() == INIT_IS_PENDING); in test_release()
79 impl.cxa_guard_release(); in test_release()
88 assert(impl.cxa_guard_acquire() == INIT_IS_PENDING); in test_abort()
90 impl.cxa_guard_abort(); in test_abort()
[all …]
/llvm-project-15.0.7/llvm/utils/unittest/googletest/include/gtest/
H A Dgtest-matchers.h189 : impl_(impl) {} in MatcherInterfaceAdapter()
298 explicit MatcherBase(const MatcherInterface<const T&>* impl) : impl_(impl) {} in MatcherBase() argument
302 const MatcherInterface<U>* impl,
334 : internal::MatcherBase<T>(impl) {} in Matcher()
338 const MatcherInterface<U>* impl,
341 : internal::MatcherBase<T>(impl) {}
375 : internal::MatcherBase<std::string>(impl) {} in Matcher()
464 const Impl& impl() const { return impl_; } in impl() function
475 explicit MonomorphicImpl(const Impl& impl) : impl_(impl) {} in MonomorphicImpl() argument
502 return Matcher<T>(impl); in MakeMatcher()
[all …]
/llvm-project-15.0.7/mlir/utils/gdb-scripts/
H A Dprettyprinters.py109 def __init__(self, type_id, impl): argument
111 self.impl = impl
115 yield 'impl', self.impl
118 return 'cast<%s>' % self.impl.type
122 impl = val['impl'].dereference()
123 type_id = get_type_id(impl)
131 return AttrOrTypePrinter(type_id, impl.cast(storage_type))
139 self.impl = val['impl']
142 if self.impl:
143 yield 'impl', self.impl.dereference()
/llvm-project-15.0.7/mlir/include/mlir/Tools/PDLL/AST/
H A DTypes.h58 Type(Storage *impl = nullptr) : impl(impl) {} in impl() function
60 bool operator==(const Type &other) const { return impl == other.impl; }
62 explicit operator bool() const { return impl; }
67 assert(impl && "isa<> used on a null type."); in isa()
76 return isa<U>() ? U(impl) : U(nullptr); in dyn_cast()
80 return (impl && isa<U>()) ? U(impl) : U(nullptr); in dyn_cast_or_null()
85 return U(impl); in cast()
89 Storage *getImpl() const { return impl; } in getImpl()
109 return static_cast<const T *>(impl); in getImplAs()
113 Storage *impl;
H A DDiagnostic.h87 : owner(rhs.owner), impl(std::move(rhs.impl)) { in InFlightDiagnostic()
89 rhs.impl.reset(); in InFlightDiagnostic()
98 Diagnostic &operator*() { return *impl; }
99 Diagnostic *operator->() { return &*impl; }
115 : owner(owner), impl(std::move(rhs)) {} in InFlightDiagnostic()
119 bool isActive() const { return impl.has_value(); } in isActive()
131 Optional<Diagnostic> impl; variable
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DRWMutex.h98 std::shared_mutex impl; variable
101 std::shared_timed_mutex impl;
103 RWMutexImpl impl;
112 impl.lock_shared(); in lock_shared()
124 impl.unlock_shared(); in unlock_shared()
137 impl.lock(); in lock()
150 impl.unlock(); in unlock()

1234567891011