Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DValueMap.h85 class ValueMap {
103 explicit ValueMap(unsigned NumInitBuckets = 64)
105 explicit ValueMap(const ExtraData &Data, unsigned NumInitBuckets = 64)
109 ValueMap(const ValueMap &) = delete;
110 ValueMap(ValueMap &&) = delete;
111 ValueMap &operator=(const ValueMap &) = delete;
112 ValueMap &operator=(ValueMap &&) = delete;
234 return ValueMapCVH(key, const_cast<ValueMap*>(this)); in Wrap()
242 friend class ValueMap<KeyT, ValueT, Config>; variable
245 using ValueMapT = ValueMap<KeyT, ValueT, Config>;
DValueSymbolTable.h51 using ValueMap = StringMap<Value*>;
54 using iterator = ValueMap::iterator;
57 using const_iterator = ValueMap::const_iterator;
130 ValueMap vmap; ///< The map that holds the symbol table.
/third_party/mesa3d/src/nouveau/codegen/
Dnv50_ir_build_util.h138 typedef bimap<Location, Value *> ValueMap; typedef
151 inline bool exists(ValueMap&, unsigned int i, unsigned int c);
153 Value *load(ValueMap&, int i, int c, Value *ptr);
154 void store(ValueMap&, int i, int c, Value *ptr, Value *value);
155 Value *acquire(ValueMap&, int i, int c);
158 inline Value *lookup(ValueMap&, unsigned i, unsigned c);
159 inline Value *insert(ValueMap&, unsigned i, unsigned c, Value *v);
316 BuildUtil::DataArray::exists(ValueMap &m, unsigned int i, unsigned int c) in exists()
323 BuildUtil::DataArray::lookup(ValueMap &m, unsigned i, unsigned c) in lookup()
325 ValueMap::r_iterator it = m.r.find(Location(array, arrayIdx, i, c)); in lookup()
[all …]
Dnv50_ir_from_common.h37 ValueMap values;
Dnv50_ir_build_util.cpp523 BuildUtil::DataArray::acquire(ValueMap &m, int i, int c) in acquire()
537 BuildUtil::DataArray::load(ValueMap &m, int i, int c, Value *ptr) in load()
555 BuildUtil::DataArray::store(ValueMap &m, int i, int c, Value *ptr, Value *value) in store()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DFunctionLoweringInfo.h78 DenseMap<const Value *, unsigned> ValueMap; variable
199 return ValueMap.count(V); in isExportedInst()
212 unsigned &R = ValueMap[V]; in InitializeRegForValue()
260 DenseMap<const Value*, unsigned>::const_iterator It = ValueMap.find(PN); in InvalidatePHILiveOutRegInfo()
261 if (It == ValueMap.end()) in InvalidatePHILiveOutRegInfo()
DPseudoSourceValue.h163 ValueMap<const GlobalValue *,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopRotationUtils.cpp92 ValueToValueMapTy &ValueMap, in RewriteUsesOfClonedInstructions() argument
110 Value *OrigPreHeaderVal = ValueMap.lookup(OrigHeaderVal); in RewriteUsesOfClonedInstructions()
305 ValueToValueMapTy ValueMap, ValueMapMSSA; in rotateLoop() local
310 InsertNewValueIntoMap(ValueMap, PN, in rotateLoop()
352 RemapInstruction(C, ValueMap, in rotateLoop()
369 InsertNewValueIntoMap(ValueMap, Inst, V); in rotateLoop()
375 InsertNewValueIntoMap(ValueMap, Inst, C); in rotateLoop()
416 RewriteUsesOfClonedInstructions(OrigHeader, OrigPreheader, ValueMap, in rotateLoop()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp285 unsigned PHIReg = ValueMap[&PN]; in set()
341 ValueMap.clear(); in clear()
434 unsigned DestReg = ValueMap[PN]; in ComputePHILiveOutRegInfo()
453 assert(ValueMap.count(V) && "V should have been placed in ValueMap when its" in ComputePHILiveOutRegInfo()
455 unsigned SrcReg = ValueMap[V]; in ComputePHILiveOutRegInfo()
488 assert(ValueMap.count(V) && "V should have been placed in ValueMap when " in ComputePHILiveOutRegInfo()
490 unsigned SrcReg = ValueMap[V]; in ComputePHILiveOutRegInfo()
540 for (auto &P : ValueMap) { in getValueFromVirtualReg()
DFastISel.cpp161 FuncInfo.ValueMap[&*I] = VI->second; in lowerArguments()
480 DenseMap<const Value *, unsigned>::iterator I = FuncInfo.ValueMap.find(V); in lookUpRegForValue()
481 if (I != FuncInfo.ValueMap.end()) in lookUpRegForValue()
492 unsigned &AssignedReg = FuncInfo.ValueMap[I]; in updateValueMap()
1772 DenseMap<const Value *, unsigned>::iterator I = FuncInfo.ValueMap.find(Op0); in selectExtractValue()
1773 if (I != FuncInfo.ValueMap.end()) in selectExtractValue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Writer/
DValueEnumerator.cpp461 ValueMapType::const_iterator I = ValueMap.find(V); in getValueID()
462 assert(I != ValueMap.end() && "Value not in slotcalculator!"); in getValueID()
468 print(dbgs(), ValueMap, "Default"); in dump()
543 ValueMap[Values[CstStart].first] = CstStart+1; in OptimizeConstants()
809 unsigned &ValueID = ValueMap[V]; in EnumerateValue()
843 ValueMap[V] = Values.size(); in EnumerateValue()
903 if (ValueMap.count(C)) in EnumerateOperandType()
967 ValueMap[&BB] = BasicBlocks.size(); in incorporateFunction()
999 assert(ValueMap.count(FnLocalMDVector[i]->getValue()) && in incorporateFunction()
1008 ValueMap.erase(Values[i].first); in purgeFunction()
[all …]
DValueEnumerator.h63 ValueMapType ValueMap; variable
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Linker/
DIRMover.cpp400 ValueToValueMapTy ValueMap; member in __anon2d0435920211::IRLinker
527 Mapper(ValueMap, RF_MoveDistinctMDs | RF_IgnoreMissingLocals, &TypeMap, in IRLinker()
531 ValueMap.getMDMap() = std::move(SharedMDs); in IRLinker()
537 ~IRLinker() { SharedMDs = std::move(*ValueMap.getMDMap()); } in ~IRLinker()
611 if (ForIndirectSymbol && ValueMap.lookup(SGV) == New) in materialize()
971 auto I = ValueMap.find(SGV); in linkGlobalValueProto()
972 if (I != ValueMap.end()) in linkGlobalValueProto()
1128 ValueMap.MD()[CU->getRawEnumTypes()].reset(nullptr); in prepareCompileUnitsForImport()
1129 ValueMap.MD()[CU->getRawMacros()].reset(nullptr); in prepareCompileUnitsForImport()
1130 ValueMap.MD()[CU->getRawRetainedTypes()].reset(nullptr); in prepareCompileUnitsForImport()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUPerfHintAnalysis.h49 typedef ValueMap<const Function*, FuncInfo> FuncInfoMap;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DSplitKit.h319 using ValueMap = DenseMap<std::pair<unsigned, unsigned>, ValueForcePair>; variable
333 ValueMap Values;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp55 typedef ValueMap<GlobalVariable *, GlobalVariable *> GVMapTy;
56 typedef ValueMap<Constant *, Value *> ConstantToValueMapTy;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DCFLAndersAliasAnalysis.cpp431 DenseMap<Value *, ValueSummary> ValueMap; in populateExternalRelations() local
448 ValueMap[SrcIVal.Val].FromRecords.push_back( in populateExternalRelations()
451 ValueMap[SrcIVal.Val].ToRecords.push_back( in populateExternalRelations()
458 for (const auto &Mapping : ValueMap) { in populateExternalRelations()
DCFLGraph.h98 using ValueMap = DenseMap<Value *, ValueInfo>;
100 ValueMap ValueImpls;
110 using const_value_iterator = ValueMap::const_iterator;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DFunctionComparator.h62 using ValueNumberMap = ValueMap<GlobalValue *, uint64_t, Config>;
DCloning.h273 const ValueMap<const Value *, WeakTrackingVH> *VMap = nullptr);
DValueMapper.h33 using ValueToValueMapTy = ValueMap<const Value *, WeakTrackingVH>;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DMemorySSAUpdater.h64 using ValueToValueMapTy = ValueMap<const Value *, WeakTrackingVH>;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DVPlan.h238 IRBuilder<> &Builder, VectorizerValueMap &ValueMap, in VPTransformState()
241 ValueMap(ValueMap), ILV(ILV), Callback(Callback) {} in VPTransformState()
326 VectorizerValueMap &ValueMap; member
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCFastISel.cpp611 unsigned AssignedReg = FuncInfo.ValueMap[I]; in SelectLoad()
1175 unsigned AssignedReg = FuncInfo.ValueMap[I]; in PPCMoveToIntReg()
1280 unsigned AssignedReg = FuncInfo.ValueMap[I]; in SelectBinaryIntOp()
1921 unsigned AssignedReg = FuncInfo.ValueMap[I]; in SelectIntExt()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DInstrProf.cpp709 InstrProfSymtab *ValueMap) { in addValueData() argument
711 VData[I].Value = remapValue(VData[I].Value, ValueKind, ValueMap); in addValueData()

12