Searched refs:StateT (Results 1 – 6 of 6) sorted by relevance
| /llvm-project-15.0.7/mlir/include/mlir/Analysis/ |
| H A D | DataFlowFramework.h | 207 template <typename StateT, typename PointT> 208 const StateT *lookupState(PointT point) const { in lookupState() 231 template <typename StateT, typename PointT> 232 StateT *getOrCreateState(PointT point); 410 template <typename StateT, typename PointT> 411 StateT *getOrCreate(PointT point) { in getOrCreate() 418 template <typename StateT, typename PointT> 420 StateT *state = getOrCreate<StateT>(point); in getOrCreateFor() 447 template <typename StateT, typename PointT> 452 state = std::unique_ptr<StateT>(new StateT(point)); in getOrCreateState() [all …]
|
| /llvm-project-15.0.7/mlir/include/mlir/Analysis/DataFlow/ |
| H A D | SparseAnalysis.h | 270 template <typename StateT> 273 std::is_base_of<AbstractSparseLattice, StateT>::value, 283 ArrayRef<StateT *> results) = 0; 302 StateT *getLatticeElement(Value value) override { in getLatticeElement() 303 return getOrCreate<StateT>(value); in getLatticeElement() 308 const StateT *getLatticeElementFor(ProgramPoint point, Value value) { in getLatticeElementFor() 309 return static_cast<const StateT *>( in getLatticeElementFor() 315 void markAllPessimisticFixpoint(ArrayRef<StateT *> lattices) { in markAllPessimisticFixpoint() 329 {reinterpret_cast<const StateT *const *>(operandLattices.begin()), in visitOperationImpl() 331 {reinterpret_cast<StateT *const *>(resultLattices.begin()), in visitOperationImpl() [all …]
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/Bufferization/IR/ |
| H A D | BufferizableOpInterface.h | 433 template <typename StateT> 434 Optional<const StateT *> getDialectState(StringRef name) const { in getDialectState() 438 return static_cast<const StateT *>(it->getSecond().get()); in getDialectState() 442 template <typename StateT> 443 StateT &getOrCreateDialectState(StringRef name) { in getOrCreateDialectState() 446 dialectState[name] = std::make_unique<StateT>(); in getOrCreateDialectState() 447 return static_cast<StateT &>(*dialectState[name]); in getOrCreateDialectState()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Bufferization/Transforms/ |
| H A D | BufferOptimizations.cpp | 122 template <typename StateT> 139 if (!StateT::shouldHoistOpType(allocValue.getDefiningOp())) in hoist() 149 StateT state(&dominators, allocValue, allocValue.getParentBlock()); in hoist() 180 Block *findPlacementBlock(StateT &state, Block *upperBound) { in findPlacementBlock()
|
| /llvm-project-15.0.7/clang/unittests/Analysis/FlowSensitive/ |
| H A D | TestingSupport.h | 158 using StateT = DataflowAnalysisState<typename AnalysisT::Lattice>; variable 173 std::vector<std::pair<std::string, StateT>> Results; 190 Results.emplace_back(It->second, StateT{*Lattice, State.Env});
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | GCNHazardRecognizer.cpp | 433 template <typename StateT> 435 hasHazard(StateT State, in hasHazard() 436 function_ref<HazardFnResult(StateT &, const MachineInstr &)> IsHazard, in hasHazard() argument 437 function_ref<void(StateT &, const MachineInstr &)> UpdateState, in hasHazard() argument
|