Home
last modified time | relevance | path

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

12345

/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/swiftshader/third_party/llvm-7.0/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DValueMap.h86 class ValueMap {
105 explicit ValueMap(unsigned NumInitBuckets = 64)
107 explicit ValueMap(const ExtraData &Data, unsigned NumInitBuckets = 64)
111 ValueMap(const ValueMap &) = delete;
112 ValueMap(ValueMap &&) = delete;
113 ValueMap &operator=(const ValueMap &) = delete;
114 ValueMap &operator=(ValueMap &&) = delete;
240 return ValueMapCVH(key, const_cast<ValueMap*>(this)); in Wrap()
248 friend class ValueMap<KeyT, ValueT, Config>; variable
251 using ValueMapT = ValueMap<KeyT, ValueT, Config>;
DValueSymbolTable.h52 using ValueMap = StringMap<Value*>;
55 using iterator = ValueMap::iterator;
58 using const_iterator = ValueMap::const_iterator;
131 ValueMap vmap; ///< The map that holds the symbol table.
/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/lib/Linker/
DLinkModules.cpp329 ValueToValueMapTy ValueMap; member in __anon2872dd220211::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/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/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()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DFunctionLoweringInfo.h119 DenseMap<const Value *, unsigned> ValueMap; variable
236 return ValueMap.count(V); in isExportedInst()
247 unsigned &R = ValueMap[V]; in InitializeRegForValue()
294 DenseMap<const Value*, unsigned>::const_iterator It = ValueMap.find(PN); in InvalidatePHILiveOutRegInfo()
295 if (It == ValueMap.end()) in InvalidatePHILiveOutRegInfo()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLoopRotationUtils.cpp81 ValueToValueMapTy &ValueMap, in RewriteUsesOfClonedInstructions() argument
99 Value *OrigPreHeaderVal = ValueMap.lookup(OrigHeaderVal); in RewriteUsesOfClonedInstructions()
292 ValueToValueMapTy ValueMap; in rotateLoop() local
297 ValueMap[PN] = PN->getIncomingValueForBlock(OrigPreheader); in rotateLoop()
338 RemapInstruction(C, ValueMap, in rotateLoop()
355 ValueMap[Inst] = V; in rotateLoop()
361 ValueMap[Inst] = C; in rotateLoop()
392 RewriteUsesOfClonedInstructions(OrigHeader, OrigPreheader, ValueMap, in rotateLoop()
/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-7.0/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp277 unsigned PHIReg = ValueMap[&PN]; in set()
340 ValueMap.clear(); in clear()
427 unsigned DestReg = ValueMap[PN]; in ComputePHILiveOutRegInfo()
446 assert(ValueMap.count(V) && "V should have been placed in ValueMap when its" in ComputePHILiveOutRegInfo()
448 unsigned SrcReg = ValueMap[V]; in ComputePHILiveOutRegInfo()
481 assert(ValueMap.count(V) && "V should have been placed in ValueMap when " in ComputePHILiveOutRegInfo()
483 unsigned SrcReg = ValueMap[V]; in ComputePHILiveOutRegInfo()
582 for (auto &P : ValueMap) { in getValueFromVirtualReg()
/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/swiftshader/third_party/llvm-7.0/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 …]

12345