Home
last modified time | relevance | path

Searched refs:MapValue (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/Basic/
H A DFileEntry.h102 struct MapValue;
105 using MapEntry = llvm::StringMapEntry<llvm::ErrorOr<MapValue>>;
108 struct MapValue { struct
122 MapValue() = delete; argument
123 MapValue(FileEntry &FE, DirectoryEntryRef Dir) : V(&FE), Dir(Dir) {} in MapValue() function
124 MapValue(MapEntry &ME) : V(&ME) {} in MapValue() function
H A DFileManager.h94 llvm::StringMap<llvm::ErrorOr<FileEntryRef::MapValue>, llvm::BumpPtrAllocator>
101 std::unique_ptr<llvm::StringMap<llvm::ErrorOr<FileEntryRef::MapValue>>>
/llvm-project-15.0.7/clang/lib/Basic/
H A DFileManager.cpp217 FileEntryRef::MapValue Value = *SeenFileInsertResult.first->second; in getFileRef()
279 NamedFileEnt->second = FileEntryRef::MapValue(*UFE, DirInfo); in getFileRef()
334 .insert({Status.getName(), FileEntryRef::MapValue(*UFE, DirInfo)}) in getFileRef()
343 NamedFileEnt->second = FileEntryRef::MapValue(Redirection); in getFileRef()
427 FileEntryRef::MapValue Value = *NamedFileEnt.second; in getVirtualFileRef()
471 NamedFileEnt.second = FileEntryRef::MapValue(*RealFE, *DirInfo); in getVirtualFileRef()
488 NamedFileEnt.second = FileEntryRef::MapValue(*UFE, *DirInfo); in getVirtualFileRef()
506 llvm::StringMap<llvm::ErrorOr<FileEntryRef::MapValue>>>(); in getBypassFile()
517 Insertion.first->second = FileEntryRef::MapValue(*BFE, VF.getDir()); in getBypassFile()
644 for (llvm::StringMap<llvm::ErrorOr<FileEntryRef::MapValue>, in GetUniqueIDMapping()
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DCloneModule.cpp133 GV->setInitializer(MapValue(G.getInitializer(), VMap)); in CloneModule()
172 F->setPersonalityFn(MapValue(I.getPersonalityFn(), VMap)); in CloneModule()
184 GA->setAliasee(MapValue(C, VMap)); in CloneModule()
H A DAssumeBundleBuilder.cpp393 struct MapValue { in dropRedundantKnowledge() struct
400 SmallVector<MapValue, 2>, 16> in dropRedundantKnowledge()
443 for (MapValue &Elem : Lookup) { in dropRedundantKnowledge()
H A DCloneFunction.cpp106 MapValue(OldFunc->getPersonalityFn(), VMap, in CloneFunctionInto()
692 MapValue(PN->getIncomingValue(pred), VMap, in CloneAndPruneIntoFromInst()
/llvm-project-15.0.7/clang/unittests/Basic/
H A DFileEntryTest.cpp19 StringMap<llvm::ErrorOr<FileEntryRef::MapValue>> Files;
42 *Files.insert({Name, FileEntryRef::MapValue(*FEs.back().get(), DR)}) in addFile()
49 {Name, FileEntryRef::MapValue( in addFileAlias()
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/
H A DValueMapper.h209 inline Value *MapValue(const Value *V, ValueToValueMapTy &VM,
275 inline Constant *MapValue(const Constant *V, ValueToValueMapTy &VM,
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/
H A DIndirectionUtils.cpp367 NewGV->setInitializer(MapValue(OrigGV.getInitializer(), VMap, RF_None, in moveGlobalVariableInitializer()
/llvm-project-15.0.7/clang/utils/TableGen/
H A DMveEmitter.cpp428 int MapValue = (*ParamNumberMap)[nparams++]; in allocParam() local
429 if (MapValue < 0) in allocParam()
431 ParamNumber = MapValue; in allocParam()