Searched defs:ValueMap (Results 1 - 25 of 26) sorted by relevance

12

/external/google-breakpad/src/processor/
H A Dcfi_frame_info-inl.h51 typedef CFIFrameInfo::RegisterValueMap<RegisterType> ValueMap; typedef
52 ValueMap callee_registers;
53 ValueMap caller_registers;
55 typename ValueMap::const_iterator caller_none = caller_registers.end();
75 typename ValueMap::const_iterator caller_entry;
/external/llvm/include/llvm/IR/
H A DValueSymbolTable.h47 typedef StringMap<Value*> ValueMap; typedef in class:llvm::ValueSymbolTable
49 /// @brief An iterator over a ValueMap.
50 typedef ValueMap::iterator iterator;
52 /// @brief A const_iterator over a ValueMap.
53 typedef ValueMap::const_iterator const_iterator;
126 ValueMap vmap; ///< The map that holds the symbol table.
H A DValueMap.h1 //===- ValueMap.h - Safe map from Values to data ----------------*- C++ -*-===//
10 // This file defines the ValueMap class. ValueMap maps Value* or any subclass
17 // You can override a ValueMap's Config parameter to control exactly what
19 // legal to call back into the ValueMap from a Config's callbacks. Config
21 // implementations of all the methods ValueMap uses. See ValueMapConfig for
50 /// ValueMap<>. User Configs should inherit from this class to be as compatible
51 /// as possible with future versions of ValueMap.
56 /// If FollowRAUW is true, the ValueMap will update mappings on RAUW. If it's
57 /// false, the ValueMap wil
81 class ValueMap { class in namespace:llvm
101 explicit ValueMap(unsigned NumInitBuckets = 64) function in class:llvm::ValueMap
103 explicit ValueMap(const ExtraData &Data, unsigned NumInitBuckets = 64) function in class:llvm::ValueMap
[all...]
/external/swiftshader/third_party/LLVM/include/llvm/
H A DValueSymbolTable.h46 typedef StringMap<Value*> ValueMap; typedef in class:llvm::ValueSymbolTable
48 /// @brief An iterator over a ValueMap.
49 typedef ValueMap::iterator iterator;
51 /// @brief A const_iterator over a ValueMap.
52 typedef ValueMap::const_iterator const_iterator;
125 ValueMap vmap; ///< The map that holds the symbol table.
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
H A DFunctionLoweringInfo.h74 /// ValueMap - Since we emit code for the function a basic block at a time,
77 DenseMap<const Value*, unsigned> ValueMap; member in class:llvm::FunctionLoweringInfo
138 return ValueMap.count(V);
146 unsigned &R = ValueMap[V];
192 // PHIs with no uses have no ValueMap entry.
193 DenseMap<const Value*, unsigned>::const_iterator It = ValueMap.find(PN);
194 if (It == ValueMap.end())
/external/swiftshader/third_party/LLVM/lib/Bitcode/Writer/
H A DValueEnumerator.h48 ValueMapType ValueMap; member in class:llvm::ValueEnumerator
67 /// incorporated function. Their reverse mapping is stored in ValueMap.
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
H A DLoopRotation.cpp90 ValueToValueMapTy &ValueMap) {
107 Value *OrigPreHeaderVal = ValueMap[OrigHeaderVal];
215 // Begin by walking OrigHeader and populating ValueMap with an entry for
218 ValueToValueMapTy ValueMap; local
223 ValueMap[PN] = PN->getIncomingValueForBlock(OrigPreheader);
248 RemapInstruction(C, ValueMap,
259 ValueMap[Inst] = V;
264 ValueMap[Inst] = C;
284 RewriteUsesOfClonedInstructions(OrigHeader, OrigPreheader, ValueMap);
88 RewriteUsesOfClonedInstructions(BasicBlock *OrigHeader, BasicBlock *OrigPreheader, ValueToValueMapTy &ValueMap) argument
H A DJumpThreading.cpp1283 DenseMap<Instruction*, Value*> &ValueMap) {
1292 DenseMap<Instruction*, Value*>::iterator I = ValueMap.find(Inst);
1293 if (I != ValueMap.end())
1280 AddPHINodeEntriesForMappedBlock(BasicBlock *PHIBB, BasicBlock *OldPred, BasicBlock *NewPred, DenseMap<Instruction*, Value*> &ValueMap) argument
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
H A DValueMap.h1 //===- llvm/ADT/ValueMap.h - Safe map from Values to data -------*- C++ -*-===//
10 // This file defines the ValueMap class. ValueMap maps Value* or any subclass
17 // You can override a ValueMap's Config parameter to control exactly what
19 // legal to call back into the ValueMap from a Config's callbacks. Config
21 // implementations of all the methods ValueMap uses. See ValueMapConfig for
47 /// ValueMap<>. User Configs should inherit from this class to be as compatible
48 /// as possible with future versions of ValueMap.
51 /// If FollowRAUW is true, the ValueMap will update mappings on RAUW. If it's
52 /// false, the ValueMap wil
77 class ValueMap { class in namespace:llvm
92 explicit ValueMap(unsigned NumInitBuckets = 64) function in class:llvm::ValueMap
94 explicit ValueMap(const ExtraData &Data, unsigned NumInitBuckets = 64) function in class:llvm::ValueMap
[all...]
/external/llvm/include/llvm/CodeGen/
H A DFunctionLoweringInfo.h106 /// ValueMap - Since we emit code for the function a basic block at a time,
109 DenseMap<const Value *, unsigned> ValueMap; member in class:llvm::FunctionLoweringInfo
213 return ValueMap.count(V);
224 unsigned &R = ValueMap[V];
270 // PHIs with no uses have no ValueMap entry.
271 DenseMap<const Value*, unsigned>::const_iterator It = ValueMap.find(PN);
272 if (It == ValueMap.end())
/external/swiftshader/third_party/LLVM/lib/CodeGen/
H A DSplitKit.h265 typedef DenseMap<std::pair<unsigned, unsigned>, ValueForcePair> ValueMap; typedef in class:llvm::SplitEditor
279 ValueMap Values;
/external/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.h59 ValueMapType ValueMap; member in class:llvm::ValueEnumerator
122 /// incorporated function. Their reverse mapping is stored in ValueMap.
H A DValueEnumerator.cpp430 ValueMapType::const_iterator I = ValueMap.find(V);
431 assert(I != ValueMap.end() && "Value not in slotcalculator!");
436 print(dbgs(), ValueMap, "Default"); local
510 // Rebuild the modified portion of ValueMap.
512 ValueMap[Values[CstStart].first] = CstStart+1;
778 unsigned &ValueID = ValueMap[V];
812 ValueMap[V] = Values.size();
872 if (ValueMap.count(C))
931 ValueMap[&BB] = BasicBlocks.size();
963 assert(ValueMap
[all...]
/external/llvm/lib/CodeGen/
H A DSplitKit.h300 typedef DenseMap<std::pair<unsigned, unsigned>, ValueForcePair> ValueMap; typedef in class:llvm::SplitEditor
314 ValueMap Values;
/external/llvm/lib/Transforms/Scalar/
H A DLoopRotation.cpp82 ValueToValueMapTy &ValueMap) {
99 Value *OrigPreHeaderVal = ValueMap.lookup(OrigHeaderVal);
271 // Begin by walking OrigHeader and populating ValueMap with an entry for
274 ValueToValueMapTy ValueMap; local
279 ValueMap[PN] = PN->getIncomingValueForBlock(OrigPreheader);
306 RemapInstruction(C, ValueMap,
317 ValueMap[Inst] = V;
323 ValueMap[Inst] = C;
348 RewriteUsesOfClonedInstructions(OrigHeader, OrigPreheader, ValueMap);
80 RewriteUsesOfClonedInstructions(BasicBlock *OrigHeader, BasicBlock *OrigPreheader, ValueToValueMapTy &ValueMap) argument
H A DJumpThreading.cpp1417 DenseMap<Instruction*, Value*> &ValueMap) {
1426 DenseMap<Instruction*, Value*>::iterator I = ValueMap.find(Inst);
1427 if (I != ValueMap.end())
1414 AddPHINodeEntriesForMappedBlock(BasicBlock *PHIBB, BasicBlock *OldPred, BasicBlock *NewPred, DenseMap<Instruction*, Value*> &ValueMap) argument
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
H A Dnv50_ir_build_util.h135 typedef bimap<Location, Value *> ValueMap; typedef in class:nv50_ir::BuildUtil
146 inline bool exists(ValueMap&, unsigned int i, unsigned int c);
148 Value *load(ValueMap&, int i, int c, Value *ptr);
149 void store(ValueMap&, int i, int c, Value *ptr, Value *value);
150 Value *acquire(ValueMap&, int i, int c);
153 inline Value *lookup(ValueMap&, unsigned i, unsigned c);
154 inline Value *insert(ValueMap&, unsigned i, unsigned c, Value *v);
304 BuildUtil::DataArray::exists(ValueMap &m, unsigned int i, unsigned int c)
311 BuildUtil::DataArray::lookup(ValueMap &m, unsigned i, unsigned c)
313 ValueMap
[all...]
/external/llvm/tools/llvm-c-test/
H A Decho.cpp55 typedef CAPIDenseMap<LLVMValueRef>::Map ValueMap; typedef
157 static ValueMap clone_params(LLVMValueRef Src, LLVMValueRef Dst) {
162 ValueMap VMap;
341 ValueMap VMap;
/external/swiftshader/third_party/LLVM/lib/Linker/
H A DLinkModules.cpp325 /// ValueMap - Mapping of values from what they used to be in Src, to what
326 /// they are now in DstM. ValueToValueMapTy is a ValueMap, which involves
329 ValueToValueMapTy ValueMap; member in class:__anon22734::ModuleLinker
603 ValueMap[SrcGV] = ConstantExpr::getBitCast(NG, TypeMap.get(SrcGV->getType()));
643 ValueMap[SGV] = ConstantExpr::getBitCast(DGV,TypeMap.get(SGV->getType()));
671 ValueMap[SGV] = NewDGV;
691 ValueMap[SF] = ConstantExpr::getBitCast(DGV, TypeMap.get(SF->getType()));
713 ValueMap[SF] = NewDF;
733 ValueMap[SGA] = ConstantExpr::getBitCast(DGV,TypeMap.get(SGA->getType()));
755 ValueMap[SG
[all...]
/external/llvm/lib/ProfileData/
H A DInstrProf.cpp429 ValueMapType *ValueMap) {
430 if (!ValueMap)
435 std::lower_bound(ValueMap->begin(), ValueMap->end(), Value,
442 if (Result != ValueMap->end() && Result->first == Value)
454 ValueMapType *ValueMap) {
456 VData[I].Value = remapValue(VData[I].Value, ValueKind, ValueMap);
428 remapValue(uint64_t Value, uint32_t ValueKind, ValueMapType *ValueMap) argument
452 addValueData(uint32_t ValueKind, uint32_t Site, InstrProfValueData *VData, uint32_t N, ValueMapType *ValueMap) argument
/external/swiftshader/third_party/LLVM/lib/Target/CppBackend/
H A DCPPBackend.cpp83 typedef std::map<const Value*,std::string> ValueMap; typedef in namespace:__anon22861
96 ValueMap ValueNames;
392 ValueMap::iterator I = ValueNames.find(val);
/external/llvm/lib/Linker/
H A DIRMover.cpp386 /// in DstM. ValueToValueMapTy is a ValueMap, which involves some overhead
389 ValueToValueMapTy ValueMap; member in class:__anon14076::IRLinker
489 Mapper(ValueMap, RF_MoveDistinctMDs | RF_IgnoreMissingLocals, &TypeMap,
493 ValueMap.getMDMap() = std::move(SharedMDs);
497 ~IRLinker() { SharedMDs = std::move(*ValueMap.getMDMap()); }
567 // already mapped. If there is an entry in the ValueMap but the value is
571 if (ForAlias && ValueMap.lookup(SGV) == New)
879 auto I = ValueMap.find(SGV);
880 if (I != ValueMap.end())
1235 if (ValueMap
[all...]
/external/spirv-llvm/lib/SPIRV/
H A DSPIRVWriter.cpp226 LLVMToSPIRVValueMap ValueMap; member in class:SPIRV::LLVMToSPIRV
241 auto Loc = ValueMap.find(V);
242 if (Loc != ValueMap.end()) {
251 ValueMap[V] = BV;
262 return ValueMap[V];
318 LLVMToSPIRVValueMap::iterator Loc = ValueMap.find(V);
319 if (Loc != ValueMap.end())
794 LLVMToSPIRVValueMap::iterator Loc = ValueMap.find(V);
795 if (Loc != ValueMap.end() && (!Loc->second->isForward() || CreateForward))
/external/swiftshader/third_party/LLVM/lib/VMCore/
H A DAsmWriter.cpp303 /// ValueMap - A mapping of Values to slot numbers.
304 typedef DenseMap<const Value*, unsigned> ValueMap; typedef in class:__anon23101::SlotTracker
315 ValueMap mMap;
319 ValueMap fMap;
541 ValueMap::iterator MI = mMap.find(V);
563 ValueMap::iterator FI = fMap.find(V);
/external/llvm/lib/IR/
H A DAsmWriter.cpp582 /// ValueMap - A mapping of Values to slot numbers.
583 typedef DenseMap<const Value*, unsigned> ValueMap; typedef in class:llvm::SlotTracker
595 ValueMap mMap;
599 ValueMap fMap;
938 ValueMap::iterator MI = mMap.find(V);
960 ValueMap::iterator FI = fMap.find(V);

Completed in 929 milliseconds

12