Home
last modified time | relevance | path

Searched refs:ValueMap (Results 1 – 25 of 37) 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.h74 DenseMap<const Value*, unsigned> ValueMap; variable
149 return ValueMap.count(V); in isExportedInst()
157 unsigned &R = ValueMap[V]; in InitializeRegForValue()
204 DenseMap<const Value*, unsigned>::const_iterator It = ValueMap.find(PN); in InvalidatePHILiveOutRegInfo()
205 if (It == ValueMap.end()) in InvalidatePHILiveOutRegInfo()
DStackProtector.h48 typedef ValueMap<const AllocaInst *, SSPLayoutKind> SSPLayoutMap;
/external/llvm/lib/Transforms/Scalar/
DLoopRotation.cpp140 ValueToValueMapTy &ValueMap) { in RewriteUsesOfClonedInstructions() argument
157 Value *OrigPreHeaderVal = ValueMap[OrigHeaderVal]; in RewriteUsesOfClonedInstructions()
410 ValueToValueMapTy ValueMap; in rotateLoop() local
415 ValueMap[PN] = PN->getIncomingValueForBlock(OrigPreheader); in rotateLoop()
443 RemapInstruction(C, ValueMap, in rotateLoop()
455 ValueMap[Inst] = V; in rotateLoop()
460 ValueMap[Inst] = C; in rotateLoop()
480 RewriteUsesOfClonedInstructions(OrigHeader, OrigPreheader, ValueMap); in rotateLoop()
DJumpThreading.cpp1366 DenseMap<Instruction*, Value*> &ValueMap) { in AddPHINodeEntriesForMappedBlock() argument
1375 DenseMap<Instruction*, Value*>::iterator I = ValueMap.find(Inst); in AddPHINodeEntriesForMappedBlock()
1376 if (I != ValueMap.end()) in AddPHINodeEntriesForMappedBlock()
/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/Bitcode/Writer/
DValueEnumerator.cpp409 ValueMapType::const_iterator I = ValueMap.find(V); in getValueID()
410 assert(I != ValueMap.end() && "Value not in slotcalculator!"); in getValueID()
415 print(dbgs(), ValueMap, "Default"); in dump()
489 ValueMap[Values[CstStart].first] = CstStart+1; in OptimizeConstants()
578 unsigned &ValueID = ValueMap[V]; in EnumerateValue()
612 ValueMap[V] = Values.size(); in EnumerateValue()
678 if (ValueMap.count(C)) in EnumerateOperandType()
739 ValueMap[BB] = BasicBlocks.size(); in incorporateFunction()
776 ValueMap.erase(Values[i].first); in purgeFunction()
780 ValueMap.erase(BasicBlocks[i]); in purgeFunction()
DValueEnumerator.h57 ValueMapType ValueMap; variable
/external/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp256 unsigned PHIReg = ValueMap[PN]; in set()
457 ValueMap.clear(); in clear()
546 unsigned DestReg = ValueMap[PN]; in ComputePHILiveOutRegInfo()
567 assert(ValueMap.count(V) && "V should have been placed in ValueMap when its" in ComputePHILiveOutRegInfo()
569 unsigned SrcReg = ValueMap[V]; in ComputePHILiveOutRegInfo()
604 assert(ValueMap.count(V) && "V should have been placed in ValueMap when " in ComputePHILiveOutRegInfo()
606 unsigned SrcReg = ValueMap[V]; in ComputePHILiveOutRegInfo()
DFastISel.cpp122 FuncInfo.ValueMap[I] = VI->second; in lowerArguments()
289 DenseMap<const Value *, unsigned>::iterator I = FuncInfo.ValueMap.find(V); in lookUpRegForValue()
290 if (I != FuncInfo.ValueMap.end()) in lookUpRegForValue()
301 unsigned &AssignedReg = FuncInfo.ValueMap[I]; in updateValueMap()
1450 DenseMap<const Value *, unsigned>::iterator I = FuncInfo.ValueMap.find(Op0); in selectExtractValue()
1451 if (I != FuncInfo.ValueMap.end()) in selectExtractValue()
/external/llvm/lib/Linker/
DLinkModules.cpp406 ValueToValueMapTy ValueMap; member in __anonc41387ad0211::ModuleLinker
1013 ValueMap[SrcGV] = ConstantExpr::getBitCast(NG, TypeMap.get(SrcGV->getType())); in linkAppendingVarProto()
1054 ValueMap[SGV] = in linkGlobalValueProto()
1112 ValueMap[SGV] = NewGV; in linkGlobalValueProto()
1148 MapValue(V, ValueMap, RF_None, &TypeMap, &ValMaterializer)); in linkAppendingVarInit()
1162 Dst.setInitializer(MapValue(Src.getInitializer(), ValueMap, RF_None, &TypeMap, in linkGlobalInit()
1178 Dst.setPrefixData(MapValue(Src.getPrefixData(), ValueMap, RF_None, &TypeMap, in linkFunctionBody()
1183 Dst.setPrologueData(MapValue(Src.getPrologueData(), ValueMap, RF_None, in linkFunctionBody()
1192 ValueMap[&Arg] = DI; in linkFunctionBody()
1205 RemapInstruction(&I, ValueMap, RF_IgnoreMissingEntries, &TypeMap, in linkFunctionBody()
[all …]
/external/llvm/lib/CodeGen/
DSplitKit.h274 typedef DenseMap<std::pair<unsigned, unsigned>, ValueForcePair> ValueMap; typedef
288 ValueMap Values;
/external/llvm/include/llvm/Transforms/Utils/
DValueMapper.h23 typedef ValueMap<const Value *, WeakVH> ValueToValueMapTy;
/external/llvm/lib/Target/Mips/
DMipsMachineFunction.h148 ValueMap<const GlobalValue *, std::unique_ptr<const MipsCallEntry>>
/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/lldb/include/lldb/DataFormatters/
DFormatManager.h36 typedef ValueNavigator::MapType ValueMap; typedef
/external/lldb/source/Expression/
DIRInterpreter.cpp63 typedef std::map <const Value*, lldb::addr_t> ValueMap; typedef in InterpreterStackFrame
65 ValueMap m_values;
111 ValueMap::iterator i = m_values.find(value); in SummarizeValue()
389 ValueMap::iterator i = m_values.find(value); in ResolveValue()
/external/mesa3d/src/gallium/drivers/radeon/
DAMDILISelDAGToDAG.cpp190 ValueMap<const Value *, bool> ValueBitMap; in getBasePointerValue()
/external/llvm/lib/Target/PowerPC/
DPPCFastISel.cpp575 unsigned AssignedReg = FuncInfo.ValueMap[I]; in SelectLoad()
1058 unsigned AssignedReg = FuncInfo.ValueMap[I]; in PPCMoveToIntReg()
1148 unsigned AssignedReg = FuncInfo.ValueMap[I]; in SelectBinaryIntOp()
1801 unsigned AssignedReg = FuncInfo.ValueMap[I]; in SelectIntExt()

12