Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DFunctionSummary.h57 MapTy Map;
60 MapTy::iterator findOrInsertSummary(const Decl *D) { in findOrInsertSummary()
61 MapTy::iterator I = Map.find(D); in findOrInsertSummary()
73 MapTy::iterator I = findOrInsertSummary(D); in markMayInline()
79 MapTy::iterator I = findOrInsertSummary(D); in markShouldNotInline()
89 MapTy::const_iterator I = Map.find(D); in mayInline()
96 MapTy::iterator I = findOrInsertSummary(D); in markVisitedBasicBlock()
107 MapTy::const_iterator I = Map.find(D); in getNumVisitedBasicBlocks()
114 MapTy::const_iterator I = Map.find(D); in getNumTimesInlined()
121 MapTy::iterator I = findOrInsertSummary(D); in bumpNumTimesInlined()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DDenseSet.h53 template <typename ValueT, typename MapTy, typename ValueInfoT>
55 static_assert(sizeof(typename MapTy::value_type) == sizeof(ValueT),
57 MapTy TheMap;
112 typename MapTy::iterator I;
124 Iterator(const typename MapTy::iterator &i) : I(i) {} in Iterator()
142 typename MapTy::const_iterator I;
155 ConstIterator(const typename MapTy::const_iterator &i) : I(i) {} in ConstIterator()
242 template <typename ValueT, typename MapTy, typename ValueInfoT>
243 bool operator==(const DenseSetImpl<ValueT, MapTy, ValueInfoT> &LHS,
258 template <typename ValueT, typename MapTy, typename ValueInfoT>
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DParentMap.cpp22 typedef llvm::DenseMap<Stmt*, Stmt*> MapTy; typedef
29 static void BuildParentMap(MapTy& M, Stmt* S, in BuildParentMap()
113 MapTy *M = new MapTy(); in ParentMap()
120 delete (MapTy*) Impl; in ~ParentMap()
125 BuildParentMap(*(MapTy*) Impl, S); in addStmt()
132 MapTy *M = reinterpret_cast<MapTy *>(Impl); in setParent()
137 MapTy* M = (MapTy*) Impl; in getParent()
H A DParentMapContext.cpp94 template <typename NodeTy, typename MapTy>
96 const MapTy &Map) { in getDynNodeFromMap()
352 template <typename MapNodeTy, typename MapTy>
353 void addParent(MapNodeTy MapNode, MapTy *Parents) { in addParent()
399 typename MapTy>
401 MapTy *Parents) { in TraverseNode()
H A DExprConstant.cpp551 typedef std::map<MapKeyTy, APValue> MapTy; typedef in __anonbf0ddd820111::CallStackFrame
553 MapTy Temporaries;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DBlotMapVector.h24 using MapTy = DenseMap<KeyT, size_t>; variable
25 MapTy Map;
35 for (typename MapTy::const_iterator I = Map.begin(), E = Map.end(); I != E; in ~BlotMapVector()
56 std::pair<typename MapTy::iterator, bool> Pair =
68 std::pair<typename MapTy::iterator, bool> Pair = in insert()
80 typename MapTy::iterator It = Map.find(Key); in find()
87 typename MapTy::const_iterator It = Map.find(Key); in find()
97 typename MapTy::iterator It = Map.find(Key); in blot()
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMsgPackDocument.h42 typedef std::map<DocNode, DocNode> MapTy; typedef
61 MapTy *Map;
233 MapTy::iterator begin() { return Map->begin(); } in begin()
234 MapTy::iterator end() { return Map->end(); } in end()
235 MapTy::iterator find(DocNode Key) { return Map->find(Key); } in find()
236 MapTy::iterator find(StringRef Key);
237 MapTy::iterator erase(MapTy::const_iterator I) { return Map->erase(I); } in erase()
239 MapTy::iterator erase(MapTy::const_iterator First, in erase()
240 MapTy::const_iterator Second) { in erase()
281 std::vector<std::unique_ptr<DocNode::MapTy>> Maps;
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DInstrOrderFile.cpp51 ArrayType *MapTy; member
67 MapTy = ArrayType::get(Type::getInt8Ty(Ctx), NumFunctions); in createOrderFileData()
82 BitMap = new GlobalVariable(M, MapTy, false, GlobalValue::PrivateLinkage, in createOrderFileData()
83 Constant::getNullValue(MapTy), BitMapName); in createOrderFileData()
126 Value *MapAddr = entryB.CreateGEP(MapTy, BitMap, IdxFlags, ""); in generateCodeSequence()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCheckObjCInstMethSignature.cpp89 typedef llvm::DenseMap<Selector,ObjCMethodDecl*> MapTy; in CheckObjCInstMethSignature() typedef
90 MapTy IMeths; in CheckObjCInstMethSignature()
104 MapTy::iterator MI = IMeths.find(S); in CheckObjCInstMethSignature()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DDynamicType.cpp164 template <typename MapTy>
166 const auto &Map = State->get<MapTy>(); in removeDeadImpl()
170 State = State->remove<MapTy>(Elem.first); in removeDeadImpl()
263 template <class MapTy>
267 const auto &Map = State->get<MapTy>(); in printJsonImpl()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DNonRelocatableStringpool.h28 using MapTy = StringMap<DwarfStringPoolEntry, BumpPtrAllocator>;
59 MapTy Strings;
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DAutomaton.h168 using MapTy = std::map<std::pair<uint64_t, ActionT>, std::pair<uint64_t, unsigned>>; variable
169 std::shared_ptr<MapTy> M;
197 M = std::make_shared<MapTy>();
/freebsd/contrib/llvm-project/llvm/lib/BinaryFormat/
H A DMsgPackDocument.cpp30 DocNode::MapTy::iterator MapDocNode::find(StringRef S) { in find()
254 DocNode::MapTy::iterator MapIt;
271 {Node, DocNode::MapTy::iterator(), Node.getArray().begin(), false}); in writeToBlob()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantsContext.h570 using MapTy = DenseSet<ConstantClass *, MapInfo>;
573 MapTy Map;
576 typename MapTy::iterator begin() { return Map.begin(); }
577 typename MapTy::iterator end() { return Map.end(); }
615 typename MapTy::iterator I = Map.find(CP);
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DRetainSummaryManager.h391 typedef llvm::DenseMap<ObjCSummaryKey, const RetainSummary *> MapTy;
392 MapTy M;
400 MapTy::iterator I = M.find(K);
431 MapTy::iterator I = M.find(ObjCSummaryKey(II, S));
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp6305 IntegerType *MapTy = BitMap->getIntegerType(); in BuildLookup() local
6310 Value *ShiftAmt = Builder.CreateZExtOrTrunc(Index, MapTy, "switch.cast"); in BuildLookup()
6316 ShiftAmt, ConstantInt::get(MapTy, BitMapElementTy->getBitWidth()), in BuildLookup()
6766 IntegerType *MapTy = TableMask->getIntegerType(); in SwitchToLookupTable() local
6768 Builder.CreateZExtOrTrunc(TableIndex, MapTy, "switch.maskindex"); in SwitchToLookupTable()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DUnsafeBufferUsage.cpp996 using MapTy = llvm::DenseMap<const VarDecl *, Kind>; typedef in __anoncc57e0860611::Strategy
998 MapTy Map;
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp564 Type *MapTy = Type::getIntNTy(C->getContext(), in FoldReinterpretLoadFromConst() local
566 if (Constant *Res = FoldReinterpretLoadFromConst(C, MapTy, Offset, DL)) { in FoldReinterpretLoadFromConst()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenMP.cpp23380 std::optional<OMPDeclareTargetDeclAttr::MapTypeTy> MapTy = in checkDeclInTargetContext() local
23386 if (!MapTy || (*MapTy != OMPDeclareTargetDeclAttr::MT_To && in checkDeclInTargetContext()
23387 *MapTy != OMPDeclareTargetDeclAttr::MT_Enter)) { in checkDeclInTargetContext()
23400 if (MapTy) in checkDeclInTargetContext()