Home
last modified time | relevance | path

Searched refs:ValueMap (Results 1 – 25 of 64) sorted by relevance

123

/external/swiftshader/third_party/LLVM/unittests/VMCore/
DValueMapTest.cpp44 ValueMap<TypeParam*, int> VM1; in TYPED_TEST()
50 ValueMap<TypeParam*, int> VM; in TYPED_TEST()
64 ValueMap<TypeParam*, int> VM; in TYPED_TEST()
65 ValueMap<TypeParam*, int> VM2(16); (void)VM2; in TYPED_TEST()
67 ValueMap<TypeParam*, int> VM3(Data, 16); (void)VM3; in TYPED_TEST()
73 typename ValueMap<TypeParam*, int>::iterator I = in TYPED_TEST()
81 const ValueMap<TypeParam*, int> &CVM = VM; in TYPED_TEST()
82 typename ValueMap<TypeParam*, int>::const_iterator CI = in TYPED_TEST()
90 std::pair<typename ValueMap<TypeParam*, int>::iterator, bool> InsertResult1 = in TYPED_TEST()
96 std::pair<typename ValueMap<TypeParam*, int>::iterator, bool> InsertResult2 = in TYPED_TEST()
[all …]
/external/llvm/unittests/IR/
DValueMapTest.cpp42 ValueMap<TypeParam*, int> VM1; in TYPED_TEST()
48 ValueMap<TypeParam*, int> VM; in TYPED_TEST()
62 ValueMap<TypeParam*, int> VM; in TYPED_TEST()
63 ValueMap<TypeParam*, int> VM2(16); (void)VM2; in TYPED_TEST()
65 ValueMap<TypeParam*, int> VM3(Data, 16); (void)VM3; in TYPED_TEST()
71 typename ValueMap<TypeParam*, int>::iterator I = in TYPED_TEST()
79 const ValueMap<TypeParam*, int> &CVM = VM; in TYPED_TEST()
80 typename ValueMap<TypeParam*, int>::const_iterator CI = in TYPED_TEST()
88 std::pair<typename ValueMap<TypeParam*, int>::iterator, bool> InsertResult1 = in TYPED_TEST()
94 std::pair<typename ValueMap<TypeParam*, int>::iterator, bool> InsertResult2 = in TYPED_TEST()
[all …]
/external/google-breakpad/src/processor/
Dcfi_frame_info-inl.h51 typedef CFIFrameInfo::RegisterValueMap<RegisterType> ValueMap; in FindCallerRegisters() typedef
52 ValueMap callee_registers; in FindCallerRegisters()
53 ValueMap caller_registers; in FindCallerRegisters()
55 typename ValueMap::const_iterator caller_none = caller_registers.end(); in FindCallerRegisters()
75 typename ValueMap::const_iterator caller_entry; in FindCallerRegisters()
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DValueMap.h77 class ValueMap {
85 ValueMap(const ValueMap&); // DO NOT IMPLEMENT
86 ValueMap& operator=(const ValueMap&); // DO NOT IMPLEMENT
92 explicit ValueMap(unsigned NumInitBuckets = 64)
94 explicit ValueMap(const ExtraData &Data, unsigned NumInitBuckets = 64)
97 ~ValueMap() {} in ~ValueMap()
187 return ValueMapCVH(key, const_cast<ValueMap*>(this)); in Wrap()
195 friend class ValueMap<KeyT, ValueT, Config, ValueInfoT>; variable
197 typedef ValueMap<KeyT, ValueT, Config, ValueInfoT> ValueMapT;
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_build_util.h135 typedef bimap<Location, Value *> ValueMap; typedef
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) in exists()
311 BuildUtil::DataArray::lookup(ValueMap &m, unsigned i, unsigned c) in lookup()
313 ValueMap::r_iterator it = m.r.find(Location(array, arrayIdx, i, c)); in lookup()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLoopRotation.cpp90 ValueToValueMapTy &ValueMap) { in RewriteUsesOfClonedInstructions() argument
107 Value *OrigPreHeaderVal = ValueMap[OrigHeaderVal]; in RewriteUsesOfClonedInstructions()
218 ValueToValueMapTy ValueMap; in rotateLoop() local
223 ValueMap[PN] = PN->getIncomingValueForBlock(OrigPreheader); in rotateLoop()
248 RemapInstruction(C, ValueMap, in rotateLoop()
259 ValueMap[Inst] = V; in rotateLoop()
264 ValueMap[Inst] = C; in rotateLoop()
284 RewriteUsesOfClonedInstructions(OrigHeader, OrigPreheader, ValueMap); in rotateLoop()
/external/swiftshader/third_party/LLVM/include/llvm/
DValueSymbolTable.h46 typedef StringMap<Value*> ValueMap; typedef
49 typedef ValueMap::iterator iterator;
52 typedef ValueMap::const_iterator const_iterator;
125 ValueMap vmap; ///< The map that holds the symbol table.
/external/llvm/include/llvm/IR/
DValueSymbolTable.h47 typedef StringMap<Value*> ValueMap; typedef
50 typedef ValueMap::iterator iterator;
53 typedef ValueMap::const_iterator const_iterator;
126 ValueMap vmap; ///< The map that holds the symbol table.
DValueMap.h81 class ValueMap {
93 ValueMap(const ValueMap&) = delete;
94 ValueMap& operator=(const ValueMap&) = delete;
101 explicit ValueMap(unsigned NumInitBuckets = 64)
103 explicit ValueMap(const ExtraData &Data, unsigned NumInitBuckets = 64)
230 return ValueMapCVH(key, const_cast<ValueMap*>(this)); in Wrap()
238 friend class ValueMap<KeyT, ValueT, Config>; variable
240 typedef ValueMap<KeyT, ValueT, Config> ValueMapT;
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DFunctionLoweringInfo.h77 DenseMap<const Value*, unsigned> ValueMap; variable
138 return ValueMap.count(V); in isExportedInst()
146 unsigned &R = ValueMap[V]; in InitializeRegForValue()
193 DenseMap<const Value*, unsigned>::const_iterator It = ValueMap.find(PN); in InvalidatePHILiveOutRegInfo()
194 if (It == ValueMap.end()) in InvalidatePHILiveOutRegInfo()
/external/swiftshader/third_party/LLVM/lib/Linker/
DLinkModules.cpp329 ValueToValueMapTy ValueMap; member in __anonfa0c25d80211::ModuleLinker
603 ValueMap[SrcGV] = ConstantExpr::getBitCast(NG, TypeMap.get(SrcGV->getType())); in linkAppendingVarProto()
643 ValueMap[SGV] = ConstantExpr::getBitCast(DGV,TypeMap.get(SGV->getType())); in linkGlobalProto()
671 ValueMap[SGV] = NewDGV; in linkGlobalProto()
691 ValueMap[SF] = ConstantExpr::getBitCast(DGV, TypeMap.get(SF->getType())); in linkFunctionProto()
713 ValueMap[SF] = NewDF; in linkFunctionProto()
733 ValueMap[SGA] = ConstantExpr::getBitCast(DGV,TypeMap.get(SGA->getType())); in linkAliasProto()
755 ValueMap[SGA] = NewDA; in linkAliasProto()
772 Constant *SrcInit = MapValue(AVI.SrcInit, ValueMap, RF_None, &TypeMap); in linkAppendingVarInit()
798 GlobalVariable *DGV = cast<GlobalVariable>(ValueMap[I]); in linkGlobalInits()
[all …]
/external/llvm/include/llvm/CodeGen/
DFunctionLoweringInfo.h109 DenseMap<const Value *, unsigned> ValueMap; variable
213 return ValueMap.count(V); in isExportedInst()
224 unsigned &R = ValueMap[V]; in InitializeRegForValue()
271 DenseMap<const Value*, unsigned>::const_iterator It = ValueMap.find(PN); in InvalidatePHILiveOutRegInfo()
272 if (It == ValueMap.end()) in InvalidatePHILiveOutRegInfo()
DStackProtector.h48 typedef ValueMap<const AllocaInst *, SSPLayoutKind> SSPLayoutMap;
/external/swiftshader/third_party/LLVM/lib/Bitcode/Writer/
DValueEnumerator.cpp128 ValueMapType::const_iterator I = ValueMap.find(V); in getValueID()
129 assert(I != ValueMap.end() && "Value not in slotcalculator!"); in getValueID()
164 ValueMap[Values[CstStart].first] = CstStart+1; in OptimizeConstants()
273 unsigned &ValueID = ValueMap[V]; in EnumerateValue()
307 ValueMap[V] = Values.size(); in EnumerateValue()
363 if (ValueMap.count(V)) return; in EnumerateOperandType()
419 ValueMap[BB] = BasicBlocks.size(); in incorporateFunction()
464 ValueMap.erase(Values[i].first); in purgeFunction()
468 ValueMap.erase(BasicBlocks[i]); in purgeFunction()
/external/llvm/lib/Transforms/Scalar/
DLoopRotation.cpp82 ValueToValueMapTy &ValueMap) { in RewriteUsesOfClonedInstructions() argument
99 Value *OrigPreHeaderVal = ValueMap.lookup(OrigHeaderVal); in RewriteUsesOfClonedInstructions()
274 ValueToValueMapTy ValueMap; in rotateLoop() local
279 ValueMap[PN] = PN->getIncomingValueForBlock(OrigPreheader); in rotateLoop()
306 RemapInstruction(C, ValueMap, in rotateLoop()
317 ValueMap[Inst] = V; in rotateLoop()
323 ValueMap[Inst] = C; in rotateLoop()
348 RewriteUsesOfClonedInstructions(OrigHeader, OrigPreheader, ValueMap); in rotateLoop()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp164 unsigned PHIReg = ValueMap[PN]; in set()
194 ValueMap.clear(); in clear()
278 unsigned DestReg = ValueMap[PN]; in ComputePHILiveOutRegInfo()
299 assert(ValueMap.count(V) && "V should have been placed in ValueMap when its" in ComputePHILiveOutRegInfo()
301 unsigned SrcReg = ValueMap[V]; in ComputePHILiveOutRegInfo()
336 assert(ValueMap.count(V) && "V should have been placed in ValueMap when " in ComputePHILiveOutRegInfo()
338 unsigned SrcReg = ValueMap[V]; in ComputePHILiveOutRegInfo()
/external/llvm/test/Transforms/Inline/
D2010-05-12-ValueMap.ll3 ; This tests for a bug where the inliner kept the functions in a ValueMap after
5 ; a function that was still a key in the ValueMap.
/external/swiftshader/third_party/LLVM/test/Transforms/Inline/
D2010-05-12-ValueMap.ll3 ; This tests for a bug where the inliner kept the functions in a ValueMap after
5 ; a function that was still a key in the ValueMap.
/external/llvm/lib/Bitcode/Writer/
DValueEnumerator.cpp430 ValueMapType::const_iterator I = ValueMap.find(V); in getValueID()
431 assert(I != ValueMap.end() && "Value not in slotcalculator!"); in getValueID()
436 print(dbgs(), ValueMap, "Default"); in dump()
512 ValueMap[Values[CstStart].first] = CstStart+1; in OptimizeConstants()
778 unsigned &ValueID = ValueMap[V]; in EnumerateValue()
812 ValueMap[V] = Values.size(); in EnumerateValue()
872 if (ValueMap.count(C)) in EnumerateOperandType()
931 ValueMap[&BB] = BasicBlocks.size(); in incorporateFunction()
963 assert(ValueMap.count(FnLocalMDVector[i]->getValue()) && in incorporateFunction()
972 ValueMap.erase(Values[i].first); in purgeFunction()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp295 unsigned PHIReg = ValueMap[PN]; in set()
351 ValueMap.clear(); in clear()
437 unsigned DestReg = ValueMap[PN]; in ComputePHILiveOutRegInfo()
458 assert(ValueMap.count(V) && "V should have been placed in ValueMap when its" in ComputePHILiveOutRegInfo()
460 unsigned SrcReg = ValueMap[V]; in ComputePHILiveOutRegInfo()
495 assert(ValueMap.count(V) && "V should have been placed in ValueMap when " in ComputePHILiveOutRegInfo()
497 unsigned SrcReg = ValueMap[V]; in ComputePHILiveOutRegInfo()
/external/llvm/lib/ProfileData/
DInstrProf.cpp429 ValueMapType *ValueMap) { in remapValue() argument
430 if (!ValueMap) in remapValue()
435 std::lower_bound(ValueMap->begin(), ValueMap->end(), Value, in remapValue()
442 if (Result != ValueMap->end() && Result->first == Value) in remapValue()
454 ValueMapType *ValueMap) { in addValueData() argument
456 VData[I].Value = remapValue(VData[I].Value, ValueKind, ValueMap); in addValueData()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DSplitKit.h265 typedef DenseMap<std::pair<unsigned, unsigned>, ValueForcePair> ValueMap; typedef
279 ValueMap Values;
/external/llvm/lib/Linker/
DIRMover.cpp389 ValueToValueMapTy ValueMap; member in __anon2ba0b0490211::IRLinker
489 Mapper(ValueMap, RF_MoveDistinctMDs | RF_IgnoreMissingLocals, &TypeMap, in IRLinker()
493 ValueMap.getMDMap() = std::move(SharedMDs); in IRLinker()
497 ~IRLinker() { SharedMDs = std::move(*ValueMap.getMDMap()); } in ~IRLinker()
571 if (ForAlias && ValueMap.lookup(SGV) == New) in materialize()
879 auto I = ValueMap.find(SGV); in linkGlobalValueProto()
880 if (I != ValueMap.end()) in linkGlobalValueProto()
1235 if (ValueMap.find(GV) != ValueMap.end() || in run()
/external/llvm/lib/CodeGen/
DSplitKit.h300 typedef DenseMap<std::pair<unsigned, unsigned>, ValueForcePair> ValueMap; typedef
314 ValueMap Values;
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/
DValueMapper.h23 typedef ValueMap<const Value *, TrackingVH<Value> > ValueToValueMapTy;

123