Home
last modified time | relevance | path

Searched refs:MapType (Results 1 – 25 of 38) sorted by relevance

12

/llvm-project/libcxx/test/std/containers/unord/unord.map/unord.map.swap/
H A Dswap_noexcept.pass.cpp124 typedef std::pair<const MoveOnly, MoveOnly> MapType; in main() typedef
132 std::equal_to<MoveOnly>, test_allocator<MapType>> C; in main()
137 std::equal_to<MoveOnly>, other_allocator<MapType>> C; in main()
153 …ordered_map<MoveOnly, MoveOnly, some_hash<MoveOnly>, some_comp <MoveOnly>, some_alloc <MapType>> C; in main()
157 …ordered_map<MoveOnly, MoveOnly, some_hash<MoveOnly>, some_comp <MoveOnly>, some_alloc2<MapType>> C; in main()
161 …ordered_map<MoveOnly, MoveOnly, some_hash<MoveOnly>, some_comp2<MoveOnly>, some_alloc <MapType>> C; in main()
165 …ordered_map<MoveOnly, MoveOnly, some_hash<MoveOnly>, some_comp2<MoveOnly>, some_alloc2<MapType>> C; in main()
169 …rdered_map<MoveOnly, MoveOnly, some_hash2<MoveOnly>, some_comp <MoveOnly>, some_alloc <MapType>> C; in main()
173 …rdered_map<MoveOnly, MoveOnly, some_hash2<MoveOnly>, some_comp <MoveOnly>, some_alloc2<MapType>> C; in main()
177 …rdered_map<MoveOnly, MoveOnly, some_hash2<MoveOnly>, some_comp2<MoveOnly>, some_alloc <MapType>> C; in main()
[all …]
/llvm-project/llvm/include/llvm/ADT/
H A DMapVector.h34 typename MapType = DenseMap<KeyT, unsigned>,
37 MapType Map;
41 std::is_integral_v<typename MapType::mapped_type>,
99 std::pair<KeyT, typename MapType::mapped_type> Pair = std::make_pair(Key, 0);
100 std::pair<typename MapType::iterator, bool> Result = Map.insert(Pair);
113 typename MapType::const_iterator Pos = Map.find(Key); in lookup()
168 typename MapType::const_iterator Pos = Map.find(Key); in find()
174 typename MapType::const_iterator Pos = Map.find(Key); in find()
181 typename MapType::iterator Pos = Map.find(Vector.back().first); in pop_back()
227 template <typename KeyT, typename ValueT, typename MapType, typename VectorType>
[all …]
/llvm-project/llvm/utils/TableGen/Common/
H A DInfoByHwMode.h88 typedef std::map<unsigned, InfoT> MapType; typedef
89 typedef typename MapType::value_type PairType;
90 typedef typename MapType::iterator iterator;
91 typedef typename MapType::const_iterator const_iterator;
94 InfoByHwMode(const MapType &M) : Map(M) {} in InfoByHwMode()
151 MapType Map;
/llvm-project/clang/include/clang/AST/
H A DCXXInheritance.h271 using MapType = llvm::MapVector<unsigned, ValuesT>; variable
273 MapType Overrides;
277 using iterator = MapType::iterator;
278 using const_iterator = MapType::const_iterator;
/llvm-project/lldb/include/lldb/DataFormatters/
H A DTypeCategoryMap.h32 typedef std::map<KeyType, lldb::TypeCategoryImplSP> MapType; typedef
33 typedef MapType::iterator MapIterator;
95 MapType m_map;
H A DFormattersContainer.h144 typedef std::vector<std::pair<TypeMatcher, ValueSP>> MapType; typedef
268 MapType m_map;
H A DFormatManager.h38 typedef TypeCategoryMap::MapType::iterator CategoryMapIterator;
/llvm-project/llvm/include/llvm/
H A DPassRegistry.h41 using MapType = DenseMap<const void *, const PassInfo *>; variable
42 MapType PassInfoMap;
/llvm-project/clang/lib/Serialization/
H A DModuleFile.cpp38 using MapType = ContinuousRangeMap<Key, Offset, InitialCapacity>; in dumpLocalRemap() typedef
41 for (typename MapType::const_iterator I = Map.begin(), IEnd = Map.end(); in dumpLocalRemap()
/llvm-project/clang/test/SemaTemplate/
H A Dcwg2398.cpp480 template <template <typename...> class MapType, typename Value>
481 Value bar(MapType<int, Value> map);
483 template <template <typename...> class MapType, typename Value>
484 Value bar(MapType<int, foo<Value>> map);
/llvm-project/flang/lib/Semantics/
H A Dresolve-names-utils.cpp706 const DeclTypeSpec *MapType(const DeclTypeSpec &);
707 const DeclTypeSpec *MapType(const DeclTypeSpec *);
748 if (const DeclTypeSpec * newType{MapType(*type)}) { in CopySymbol()
764 } else if (const DeclTypeSpec * mappedType{MapType(proc.type())}) { in CopySymbol()
793 const DeclTypeSpec *SymbolMapper::MapType(const DeclTypeSpec &type) { in MapSymbolExprs()
825 const DeclTypeSpec *SymbolMapper::MapType(const DeclTypeSpec *type) {
826 return type ? MapType(*type) : nullptr; in MapType() function in Fortran::semantics::SymbolMapper
858 const DeclTypeSpec *SymbolMapper::MapType(const DeclTypeSpec *type) { MapType() function in Fortran::semantics::SymbolMapper
/llvm-project/llvm/include/llvm/CodeGen/
H A DRDFRegisters.h239 using MapType = std::map<RegisterId, LaneBitmask>; member
242 MapType Masks;
243 MapType::iterator Pos;
/llvm-project/llvm/lib/ObjectYAML/
H A DMinidumpYAML.cpp24 /// Yaml-map an endian-aware type EndianType as some other type MapType.
25 template <typename MapType, typename EndianType>
28 MapType Mapped = static_cast<typename EndianType::value_type>(Val); in mapRequiredAs()
34 /// other type MapType.
35 template <typename MapType, typename EndianType>
37 MapType Default) { in mapOptionalAs()
38 MapType Mapped = static_cast<typename EndianType::value_type>(Val); in mapOptionalAs()
/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVSupport.h136 template <typename MapType, typename KeyType, typename ValueType>
137 void addItem(MapType *Map, KeyType Key, ValueType Value) { in addItem()
/llvm-project/llvm/include/llvm/Frontend/OpenMP/
H A DConstructDecompositionT.h704 using MapType = in applyClause()
705 typename tomp::clause::MapT<TypeTy, IdTy, ExprTy>::MapType; in applyClause()
709 {/*MapType=*/MapType::Tofrom, in applyClause()
982 using MapType = in applyClause()
983 typename tomp::clause::MapT<TypeTy, IdTy, ExprTy>::MapType; in applyClause()
987 {/*MapType=*/MapType::Tofrom, /*MapTypeModifier=*/std::nullopt, in applyClause()
699 using MapType = applyClause() local
978 using MapType = applyClause() local
/llvm-project/flang/lib/Lower/OpenMP/
H A DClauseProcessor.cpp1024 Map::MapType type = mapType.value_or(Map::MapType::Tofrom); in processReduction()
1026 case Map::MapType::To: in processReduction()
1029 case Map::MapType::From: in processReduction()
1032 case Map::MapType::Tofrom: in processReduction()
1036 case Map::MapType::Alloc: in processReduction()
1037 case Map::MapType::Release: in processReduction()
1044 case Map::MapType::Delete: in processReduction()
/llvm-project/lldb/source/Plugins/Process/minidump/
H A DMinidumpParser.cpp368 typedef llvm::StringMap<size_t> MapType; in GetFilteredModuleList()
369 MapType module_name_to_filtered_index; in GetFilteredModuleList()
381 MapType::iterator iter; in GetFilteredModuleList()
363 typedef llvm::StringMap<size_t> MapType; GetFilteredModuleList() typedef
/llvm-project/clang/lib/Analysis/
H A DConsumed.cpp456 using MapType = llvm::DenseMap<const Stmt *, PropagationInfo>;
458 using InfoEntry = MapType::iterator;
459 using ConstInfoEntry = MapType::const_iterator;
463 MapType PropagationMap;
915 MapType::iterator VIT = findInfo(Var->getInit()->IgnoreImplicit());
460 using MapType = llvm::DenseMap<const Stmt *, PropagationInfo>; global() typedef in clang::consumed::ConsumedStmtVisitor
/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAGHVX.cpp106 using MapType = std::map<Node, ColorKind>;
115 const MapType &colors() const { in Coloring()
129 MapType Colors;
478 const Coloring::MapType &M = G.colors(); in route()
545 const Coloring::MapType &M = G.colors();
2739 using MapType = std::unordered_map<SDValue, unsigned>; in ppHvxShuffleOfShuffle()
2743 const MapType &OpMap) -> int { in ppHvxShuffleOfShuffle()
2768 auto fold3 = [&](SDValue TopShuff, SDValue Inp, MapType &&OpMap) -> SDValue { in ppHvxShuffleOfShuffle()
2852 MapType OpMap = { in ppHvxShuffleOfShuffle()
110 using MapType = std::map<Node, ColorKind>; global() typedef
2746 using MapType = std::unordered_map<SDValue, unsigned>; ppHvxShuffleOfShuffle() typedef
H A DHexagonConstPropagation.cpp224 MapType::const_iterator F = Map.find(R); in has()
231 MapType::const_iterator F = Map.find(R); in get()
243 using MapType = std::map<Register, LatticeCell>; typedef in __anonbef353470111::MachineConstPropagator::CellMap
245 MapType Map;
252 using const_iterator = MapType::const_iterator;
/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp1514 std::optional<OMPDeclareTargetDeclAttr::MapTypeTy> MapType = in convertDeviceClause()
1516 if (!MapType) in convertDeviceClause()
1518 switch ((int)*MapType) { // Avoid -Wcovered-switch-default in convertDeviceClause()
6579 OpenMPMapClauseKind MapType = OMPC_MAP_unknown;
6591 OpenMPMapClauseKind MapType,
6597 : Components(Components), MapType(MapType), MapModifiers(MapModifiers), in MapInfo()
6727 OpenMPMapClauseKind MapType, ArrayRef<OpenMPMapModifierKind> MapModifiers, in getExprTypeSize()
6733 switch (MapType) {
6820 OpenMPMapClauseKind MapType, ArrayRe in isFinalArraySectionExpression()
1522 std::optional<OMPDeclareTargetDeclAttr::MapTypeTy> MapType = convertCaptureClause() local
6587 OpenMPMapClauseKind MapType = OMPC_MAP_unknown; global() member
6735 getMapTypeBits(OpenMPMapClauseKind MapType,ArrayRef<OpenMPMapModifierKind> MapModifiers,ArrayRef<OpenMPMotionModifierKind> MotionModifiers,bool IsImplicit,bool AddPtrFlag,bool AddIsTargetParamFlag,bool IsNonContiguous) const getMapTypeBits() argument
6828 generateInfoForComponentList(OpenMPMapClauseKind MapType,ArrayRef<OpenMPMapModifierKind> MapModifiers,ArrayRef<OpenMPMotionModifierKind> MotionModifiers,OMPClauseMappableExprCommon::MappableExprComponentListRef Components,MapCombinedInfoTy & CombinedInfo,MapCombinedInfoTy & StructBaseCombinedInfo,StructRangeInfoTy & PartialStruct,bool IsFirstComponentList,bool IsImplicit,bool GenerateAllInfoForClauses,const ValueDecl * Mapper=nullptr,bool ForDeviceAddr=false,const ValueDecl * BaseDecl=nullptr,const Expr * MapExpr=nullptr,ArrayRef<OMPClauseMappableExprCommon::MappableExprComponentListRef> OverlappedElements=std::nullopt,bool AreBothBasePtrAndPteeMapped=false) const generateInfoForComponentList() argument
7803 __anon143de22e2e02( const ValueDecl *D, MapKind Kind, OMPClauseMappableExprCommon::MappableExprComponentListRef L, OpenMPMapClauseKind MapType, ArrayRef<OpenMPMapModifierKind> MapModifiers, ArrayRef<OpenMPMotionModifierKind> MotionModifiers, bool ReturnDevicePointer, bool IsImplicit, const ValueDecl *Mapper, const Expr *VarRef = nullptr, bool ForDeviceAddr = false) generateAllInfoForClauses() argument
8553 OpenMPMapClauseKind MapType = std::get<1>(RHS); generateInfoForCapture() local
8575 OpenMPMapClauseKind MapType; generateInfoForCapture() local
8694 OpenMPMapClauseKind MapType; generateInfoForCapture() local
8713 OpenMPMapClauseKind MapType; generateInfoForCapture() local
9126 llvm::Value *MapType = MapperCGF.EmitLoadOfScalar( emitUserDefinedMapper() local
9329 emitUDMapperArrayInitOrDel(CodeGenFunction & MapperCGF,llvm::Value * Handle,llvm::Value * Base,llvm::Value * Begin,llvm::Value * Size,llvm::Value * MapType,llvm::Value * MapName,CharUnits ElementSize,llvm::BasicBlock * ExitBB,bool IsInit) emitUDMapperArrayInitOrDel() argument
[all...]
/llvm-project/lldb/source/DataFormatters/
H A DTypeCategoryMap.cpp109 MapType::iterator iter = m_map.begin(), end = m_map.end(); in EnableAllCategories()
/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFVerifier.cpp489 using MapType = IntervalMap<uint64_t, uint64_t>; in verifyIndex()
490 MapType::Allocator Alloc; in verifyIndex()
491 std::vector<std::unique_ptr<MapType>> Sections(Index.getColumnKinds().size()); in verifyIndex()
505 Sections[Col] = std::make_unique<MapType>(Alloc); in verifyIndex()
480 using MapType = IntervalMap<uint64_t, uint64_t>; verifyIndex() typedef
/llvm-project/clang/include/clang/Format/
H A DFormat.h5397 typedef std::map<FormatStyle::LanguageKind, FormatStyle> MapType;
5412 std::shared_ptr<MapType> Styles;
5174 typedef std::map<FormatStyle::LanguageKind, FormatStyle> MapType; global() typedef
/llvm-project/clang/lib/Parse/
H A DParseOpenMP.cpp4348 /// If it is not MapType kind, OMPC_MAP_unknown is returned. in ParseOpenMPReservedLocator()
4355 unsigned MapType = in parseStepSize()
4357 if (MapType == OMPC_MAP_to || MapType == OMPC_MAP_from || in parseStepSize()
4358 MapType == OMPC_MAP_tofrom || MapType == OMPC_MAP_alloc || in parseStepSize()
4359 MapType == OMPC_MAP_delete || MapType == OMPC_MAP_release) in parseStepSize()
4360 return static_cast<OpenMPMapClauseKind>(MapType); in parseStepSize()
4192 unsigned MapType = isMapType() local

12