Home
last modified time | relevance | path

Searched refs:getOrCreate (Results 1 – 19 of 19) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Analysis/DataFlow/
H A DDeadCodeAnalysis.cpp109 auto *state = getOrCreate<Executable>(&region.front()); in initialize()
137 auto *state = getOrCreate<PredecessorState>(callable); in initializeSymbolCallables()
154 auto *state = getOrCreate<PredecessorState>(callable); in initializeSymbolCallables()
165 auto *state = getOrCreate<PredecessorState>(symbol); in initializeSymbolCallables()
202 auto *state = getOrCreate<Executable>(to); in markEdgeLive()
212 auto *state = getOrCreate<Executable>(&region.front()); in markEntryBlocksLive()
225 if (!getOrCreate<Executable>(op->getBlock())->isLive()) in visit()
304 auto *predecessors = getOrCreate<PredecessorState>(call); in visitCallOperation()
366 auto *state = getOrCreate<Executable>(point); in visitRegionBranchOperation()
369 auto *predecessors = getOrCreate<PredecessorState>(point); in visitRegionBranchOperation()
[all …]
H A DSparseAnalysis.cpp57 getOrCreate<Executable>(&block)->blockContentSubscribe(this); in initializeRecursively()
84 if (!getOrCreate<Executable>(op->getBlock())->isLive()) in visitOperation()
142 if (!getOrCreate<Executable>(block)->isLive()) in visitBlock()
198 getOrCreate<Executable>(getProgramPoint<CFGEdge>(predecessor, block)); in visitBlock()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/
H A DIncludeInserter.cpp55 IncludeSorter &IncludeInserter::getOrCreate(FileID FileID) { in getOrCreate() function in clang::tidy::utils::IncludeInserter
82 return getOrCreate(FileID).createIncludeInsertion(Header, IsAngled); in createIncludeInsertion()
98 getOrCreate(FileID).addInclude(FileName, IsAngled, HashLocation, EndLocation); in addInclude()
H A DIncludeInserter.h91 IncludeSorter &getOrCreate(FileID FileID);
/llvm-project-15.0.7/mlir/lib/Support/
H A DStorageUniquer.cpp139 getOrCreate(bool threadingIsEnabled, unsigned hashValue, in getOrCreate() function in __anon95dc17a30111::ParametricStorageUniquer
238 getOrCreate(bool threadingIsEnabled, unsigned hashValue,
278 getOrCreate(TypeID id, unsigned hashValue, in getOrCreate() function
284 return storageUniquer.getOrCreate(threadingIsEnabled, hashValue, isEqual, in getOrCreate()
348 return impl->getOrCreate(id, hashValue, isEqual, ctorFn); in getParametricStorageTypeImpl()
/llvm-project-15.0.7/lld/include/lld/Common/
H A DMemory.h31 static SpecificAllocBase *getOrCreate(void *tag, size_t size, size_t align,
52 SpecificAllocBase *instance = SpecificAllocBase::getOrCreate( in getSpecificAllocSingleton()
/llvm-project-15.0.7/mlir/test/lib/Analysis/
H A DTestDataFlowFramework.cpp102 getOrCreate<FooState>(&top->getRegion(0).front())->join(0); in initialize()
133 FooState *state = getOrCreate<FooState>(block); in visitBlock()
145 FooState *state = getOrCreate<FooState>(op); in visitOperation()
/llvm-project-15.0.7/mlir/test/lib/Analysis/DataFlow/
H A DTestDeadCodeAnalysis.cpp82 auto *constant = getOrCreate<Lattice<ConstantValue>>(op->getResult(0)); in visit()
97 auto *constantValue = getOrCreate<Lattice<ConstantValue>>(value); in markAllPessimisticFixpoint()
/llvm-project-15.0.7/lld/Common/
H A DMemory.cpp16 lld::SpecificAllocBase::getOrCreate(void *tag, size_t size, size_t align, in getOrCreate() function in lld::SpecificAllocBase
/llvm-project-15.0.7/mlir/include/mlir/Analysis/DataFlow/
H A DDenseAnalysis.h151 return getOrCreate<LatticeT>(point); in getLattice()
H A DSparseAnalysis.h303 return getOrCreate<StateT>(value); in getLatticeElement()
/llvm-project-15.0.7/mlir/include/mlir/Analysis/
H A DDataFlowFramework.h411 StateT *getOrCreate(PointT point) { in getOrCreate() function
420 StateT *state = getOrCreate<StateT>(point); in getOrCreateFor()
/llvm-project-15.0.7/llvm/lib/IR/
H A DConstants.cpp1244 return Ty->getContext().pImpl->ArrayConstants.getOrCreate(Ty, V); in get()
1940 return pImpl->ExprConstants.getOrCreate(Ty, Key); in getFoldedCast()
2261 return pImpl->ExprConstants.getOrCreate(C->getType(), Key); in get()
2322 return pImpl->ExprConstants.getOrCreate(C1->getType(), Key); in get()
2456 return pImpl->ExprConstants.getOrCreate(V1->getType(), Key); in getSelect()
2521 return pImpl->ExprConstants.getOrCreate(ReqTy, Key); in getGetElementPtr()
2546 return pImpl->ExprConstants.getOrCreate(ResultTy, Key); in getICmp()
2571 return pImpl->ExprConstants.getOrCreate(ResultTy, Key); in getFCmp()
2593 return pImpl->ExprConstants.getOrCreate(ReqTy, Key); in getExtractElement()
2616 return pImpl->ExprConstants.getOrCreate(Val->getType(), Key); in getInsertElement()
[all …]
H A DInlineAsm.cpp50 return pImpl->InlineAsms.getOrCreate(PointerType::getUnqual(FTy), Key); in get()
H A DMetadata.cpp154 if (auto *R = ReplaceableMetadataImpl::getOrCreate(MD)) { in track()
357 ReplaceableMetadataImpl *ReplaceableMetadataImpl::getOrCreate(Metadata &MD) { in getOrCreate() function in ReplaceableMetadataImpl
H A DConstantsContext.h633 ConstantClass *getOrCreate(TypeClass *Ty, ValType V) {
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DCodeGenDAGPatterns.h205 SetType &getOrCreate(unsigned Mode) { in getOrCreate() function
H A DCodeGenDAGPatterns.cpp131 Changed |= getOrCreate(M).insert(P.second).second; in insert()
187 SetType &S = getOrCreate(I.first); in assign_if()
881 TypeSetByHwMode::SetType &LegalTypes = LegalCache.getOrCreate(DefaultMode); in getLegalTypes()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DMetadata.h326 static ReplaceableMetadataImpl *getOrCreate(Metadata &MD);