Home
last modified time | relevance | path

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

12

/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/mesa3d/src/gallium/drivers/nv50/codegen/
Dnv50_ir_build_util.h125 typedef bimap<Location, Value *> ValueMap; typedef
136 inline bool exists(ValueMap&, unsigned int i, unsigned int c);
138 Value *load(ValueMap&, int i, int c, Value *ptr);
139 void store(ValueMap&, int i, int c, Value *ptr, Value *value);
140 Value *acquire(ValueMap&, int i, int c);
143 inline Value *lookup(ValueMap&, unsigned i, unsigned c);
144 inline Value *insert(ValueMap&, unsigned i, unsigned c, Value *v);
286 BuildUtil::DataArray::exists(ValueMap &m, unsigned int i, unsigned int c) in exists()
293 BuildUtil::DataArray::lookup(ValueMap &m, unsigned i, unsigned c) in lookup()
295 ValueMap::r_iterator it = m.r.find(Location(array, arrayIdx, i, c)); in lookup()
[all …]
Dnv50_ir_build_util.cpp477 BuildUtil::DataArray::acquire(ValueMap &m, int i, int c) in acquire()
491 BuildUtil::DataArray::load(ValueMap &m, int i, int c, Value *ptr) in load()
509 BuildUtil::DataArray::store(ValueMap &m, int i, int c, Value *ptr, Value *value) in store()
/external/llvm/include/llvm/IR/
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.
DValueMap.h80 class ValueMap {
89 ValueMap(const ValueMap&) = delete;
90 ValueMap& operator=(const ValueMap&) = delete;
97 explicit ValueMap(unsigned NumInitBuckets = 64)
99 explicit ValueMap(const ExtraData &Data, unsigned NumInitBuckets = 64)
211 return ValueMapCVH(key, const_cast<ValueMap*>(this)); in Wrap()
219 friend class ValueMap<KeyT, ValueT, Config>; variable
221 typedef ValueMap<KeyT, ValueT, Config> ValueMapT;
/external/llvm/include/llvm/CodeGen/
DFunctionLoweringInfo.h78 DenseMap<const Value *, unsigned> ValueMap; variable
161 return ValueMap.count(V); in isExportedInst()
172 unsigned &R = ValueMap[V]; in InitializeRegForValue()
219 DenseMap<const Value*, unsigned>::const_iterator It = ValueMap.find(PN); in InvalidatePHILiveOutRegInfo()
220 if (It == ValueMap.end()) in InvalidatePHILiveOutRegInfo()
DStackProtector.h48 typedef ValueMap<const AllocaInst *, SSPLayoutKind> SSPLayoutMap;
DPseudoSourceValue.h148 ValueMap<const GlobalValue *,
/external/llvm/lib/Linker/
DIRMover.cpp389 ValueToValueMapTy ValueMap; member in __anonba36dcca0211::IRLinker
502 void findNeededSubprograms(ValueToValueMapTy &ValueMap);
949 ValueMap[SrcGV] = Ret; in linkAppendingVarProto()
955 auto *E1 = MapValue(S->getOperand(0), ValueMap, ValueMapperFlags, in linkAppendingVarProto()
957 auto *E2 = MapValue(S->getOperand(1), ValueMap, ValueMapperFlags, in linkAppendingVarProto()
964 MapValue(V, ValueMap, ValueMapperFlags, &TypeMap, &GValMaterializer); in linkAppendingVarProto()
1033 auto I = ValueMap.find(SGV); in linkGlobalValueProto()
1034 if (I != ValueMap.end()) in linkGlobalValueProto()
1095 Dst.setInitializer(MapValue(Src.getInitializer(), ValueMap, ValueMapperFlags, in linkGlobalInit()
1118 Dst.setPrefixData(MapValue(Src.getPrefixData(), ValueMap, ValueMapperFlags, in linkFunctionBody()
[all …]
/external/llvm/lib/Transforms/Scalar/
DLoopRotation.cpp55 ValueToValueMapTy &ValueMap) { in RewriteUsesOfClonedInstructions() argument
72 Value *OrigPreHeaderVal = ValueMap[OrigHeaderVal]; in RewriteUsesOfClonedInstructions()
207 ValueToValueMapTy ValueMap; in rotateLoop() local
212 ValueMap[PN] = PN->getIncomingValueForBlock(OrigPreheader); in rotateLoop()
240 RemapInstruction(C, ValueMap, in rotateLoop()
252 ValueMap[Inst] = V; in rotateLoop()
257 ValueMap[Inst] = C; in rotateLoop()
277 RewriteUsesOfClonedInstructions(OrigHeader, OrigPreheader, ValueMap); in rotateLoop()
/external/llvm/lib/Bitcode/Writer/
DValueEnumerator.cpp400 ValueMapType::const_iterator I = ValueMap.find(V); in getValueID()
401 assert(I != ValueMap.end() && "Value not in slotcalculator!"); in getValueID()
406 print(dbgs(), ValueMap, "Default"); in dump()
480 ValueMap[Values[CstStart].first] = CstStart+1; in OptimizeConstants()
567 unsigned &ValueID = ValueMap[V]; in EnumerateValue()
601 ValueMap[V] = Values.size(); in EnumerateValue()
667 if (ValueMap.count(C)) in EnumerateOperandType()
723 ValueMap[&BB] = BasicBlocks.size(); in incorporateFunction()
759 ValueMap.erase(Values[i].first); in purgeFunction()
763 ValueMap.erase(BasicBlocks[i]); in purgeFunction()
DValueEnumerator.h57 ValueMapType ValueMap; variable
/external/llvm/lib/ProfileData/
DInstrProf.cpp246 ValueMapType *ValueMap) { in remapValue() argument
247 if (!ValueMap) in remapValue()
252 std::lower_bound(ValueMap->begin(), ValueMap->end(), Value, in remapValue()
255 if (Result != ValueMap->end()) in remapValue()
265 ValueMapType *ValueMap) { in addValueData() argument
267 VData[I].Value = remapValue(VData[I].Value, ValueKind, ValueMap); in addValueData()
/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/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp258 unsigned PHIReg = ValueMap[PN]; in set()
333 ValueMap.clear(); in clear()
419 unsigned DestReg = ValueMap[PN]; in ComputePHILiveOutRegInfo()
440 assert(ValueMap.count(V) && "V should have been placed in ValueMap when its" in ComputePHILiveOutRegInfo()
442 unsigned SrcReg = ValueMap[V]; in ComputePHILiveOutRegInfo()
477 assert(ValueMap.count(V) && "V should have been placed in ValueMap when " in ComputePHILiveOutRegInfo()
479 unsigned SrcReg = ValueMap[V]; in ComputePHILiveOutRegInfo()
/external/llvm/lib/CodeGen/
DSplitKit.h274 typedef DenseMap<std::pair<unsigned, unsigned>, ValueForcePair> ValueMap; typedef
288 ValueMap Values;
/external/libweave/third_party/chromium/base/
Dvalues.cc369 ValueMap::const_iterator current_entry = dictionary_.find(key); in HasKey()
375 ValueMap::iterator dict_iterator = dictionary_.begin(); in Clear()
435 std::pair<ValueMap::iterator, bool> ins_res = in SetWithoutPathExpansion()
611 ValueMap::const_iterator entry_iterator = dictionary_.find(key); in GetWithoutPathExpansion()
731 ValueMap::iterator entry_iterator = dictionary_.find(key); in RemoveWithoutPathExpansion()
802 for (ValueMap::const_iterator current_entry(dictionary_.begin()); in DeepCopy()
Dvalues.h45 typedef std::map<std::string, Value*> ValueMap; typedef
361 ValueMap::const_iterator it_;
371 ValueMap dictionary_;
/external/libchrome/base/
Dvalues.cc384 ValueMap::const_iterator current_entry = dictionary_.find(key); in HasKey()
390 ValueMap::iterator dict_iterator = dictionary_.begin(); in Clear()
455 std::pair<ValueMap::iterator, bool> ins_res = in SetWithoutPathExpansion()
645 ValueMap::const_iterator entry_iterator = dictionary_.find(key); in GetWithoutPathExpansion()
774 ValueMap::iterator entry_iterator = dictionary_.find(key); in RemoveWithoutPathExpansion()
845 for (ValueMap::const_iterator current_entry(dictionary_.begin()); in DeepCopy()
Dvalues.h46 typedef std::map<std::string, Value*> ValueMap; typedef
373 ValueMap::const_iterator it_;
383 ValueMap dictionary_;
/external/llvm/include/llvm/Transforms/Utils/
DValueMapper.h23 typedef ValueMap<const Value *, WeakVH> ValueToValueMapTy;
/external/llvm/test/Bitcode/
Dfunction-local-metadata.3.5.ll16 ; Assertion failed: (I != ValueMap.end() && "Value not in slotcalculator!"), function getValueID, f…
/external/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp60 typedef ValueMap<GlobalVariable *, GlobalVariable *> GVMapTy;
61 typedef ValueMap<Constant *, Value *> ConstantToValueMapTy;
/external/llvm/test/Transforms/MergeFunc/
Dcrash2.ll7 ; RAUW on @G which still exists as an entry in the GlobalNumbers ValueMap which

12