/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
H A D | ValueMap.h | 1 //===- ValueMap.h - Safe map from Values to data ----------------*- C++ -*-===// 9 // This file defines the ValueMap class. ValueMap maps Value* or any subclass 16 // You can override a ValueMap's Config parameter to control exactly what 18 // legal to call back into the ValueMap from a Config's callbacks. Config 20 // implementations of all the methods ValueMap uses. See ValueMapConfig for 54 /// ValueMap<>. User Configs should inherit from this class to be as compatible 55 /// as possible with future versions of ValueMap. 60 /// If FollowRAUW is true, the ValueMap will update mappings on RAUW. If it's 61 /// false, the ValueMap wil 85 class ValueMap { global() class 103 explicit ValueMap(unsigned NumInitBuckets = 64) ValueMap() function in llvm::ValueMap 105 explicit ValueMap(const ExtraData &Data, unsigned NumInitBuckets = 64) ValueMap() function in llvm::ValueMap [all...] |
H A D | ValueSymbolTable.h | 51 using ValueMap = StringMap<Value*>; 53 /// An iterator over a ValueMap. 54 using iterator = ValueMap::iterator; 56 /// A const_iterator over a ValueMap. 57 using const_iterator = ValueMap::const_iterator; 130 ValueMap vmap; ///< The map that holds the symbol table.
|
/third_party/mesa3d/src/nouveau/codegen/ |
H A D | nv50_ir_build_util.h | 138 typedef bimap<Location, Value *> ValueMap; typedef in nv50_ir::BuildUtil 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) 325 ValueMap [all...] |
H A D | nv50_ir_from_common.h | 37 ValueMap values;
|
H A D | nv50_ir_build_util.cpp | 523 BuildUtil::DataArray::acquire(ValueMap &m, int i, int c) 537 BuildUtil::DataArray::load(ValueMap &m, int i, int c, Value *ptr) 555 BuildUtil::DataArray::store(ValueMap &m, int i, int c, Value *ptr, Value *value)
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
H A D | FunctionLoweringInfo.h | 75 /// ValueMap - Since we emit code for the function a basic block at a time, 78 DenseMap<const Value *, unsigned> ValueMap; member in llvm::FunctionLoweringInfo 81 /// instruction selection. It is reverted ValueMap. It is computed 199 return ValueMap.count(V); in isExportedInst() 212 unsigned &R = ValueMap[V]; in InitializeRegForValue() 259 // PHIs with no uses have no ValueMap entry. in InvalidatePHILiveOutRegInfo() 260 DenseMap<const Value*, unsigned>::const_iterator It = ValueMap.find(PN); in InvalidatePHILiveOutRegInfo() 261 if (It == ValueMap.end()) in InvalidatePHILiveOutRegInfo()
|
H A D | PseudoSourceValue.h | 18 #include "llvm/IR/ValueMap.h" 163 ValueMap<const GlobalValue *,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
H A D | LoopRotationUtils.cpp | 92 ValueToValueMapTy &ValueMap, in RewriteUsesOfClonedInstructions() 110 Value *OrigPreHeaderVal = ValueMap.lookup(OrigHeaderVal); in RewriteUsesOfClonedInstructions() 302 // Begin by walking OrigHeader and populating ValueMap with an entry for in rotateLoop() 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() 90 RewriteUsesOfClonedInstructions(BasicBlock *OrigHeader, BasicBlock *OrigPreheader, ValueToValueMapTy &ValueMap, SmallVectorImpl<PHINode*> *InsertedPHIs) RewriteUsesOfClonedInstructions() argument
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
H A D | FunctionLoweringInfo.cpp | 285 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() [all...] |
H A D | FastISel.cpp | 155 // Enter arguments into ValueMap for uses in non-entry BBs. in lowerArguments() 161 FuncInfo.ValueMap[&*I] = VI->second; in lowerArguments() 369 // in ValueMap because Arguments are given virtual registers regardless in getRegForValue() 466 // Don't cache constant materializations in the general ValueMap. in materializeRegForValue() 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/ |
H A D | ValueEnumerator.cpp | 461 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() local 541 // Rebuild the modified portion of ValueMap. in OptimizeConstants() 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 in incorporateFunction() [all...] |
H A D | ValueEnumerator.h | 63 ValueMapType ValueMap; 126 /// incorporated function. Their reverse mapping is stored in ValueMap.
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Linker/ |
H A D | IRMover.cpp | 397 /// in DstM. ValueToValueMapTy is a ValueMap, which involves some overhead 400 ValueToValueMapTy ValueMap; member in __anon24238::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() 608 // ValueMap but the value is different, it means that the value already had a in materialize() 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 in prepareCompileUnitsForImport() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUPerfHintAnalysis.h | 19 #include "llvm/IR/ValueMap.h" 49 typedef ValueMap<const Function*, FuncInfo> FuncInfoMap;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
H A D | SplitKit.h | 319 using ValueMap = DenseMap<std::pair<unsigned, unsigned>, ValueForcePair>; 333 ValueMap Values;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
H A D | NVPTXGenericToNVVM.cpp | 26 #include "llvm/IR/ValueMap.h" 55 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/ |
H A D | CFLAndersAliasAnalysis.cpp | 427 // 'ValueMap' here records, for each value, which InterfaceValues read from or in populateExternalRelations() 431 DenseMap<Value *, ValueSummary> ValueMap; in populateExternalRelations() local 445 // If Src is not a param/return, add it to ValueMap in populateExternalRelations() 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()
|
H A D | CFLGraph.h | 98 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/ |
H A D | FunctionComparator.h | 22 #include "llvm/IR/ValueMap.h" 62 using ValueNumberMap = ValueMap<GlobalValue *, uint64_t, Config>;
|
H A D | Cloning.h | 273 const ValueMap<const Value *, WeakTrackingVH> *VMap = nullptr);
|
H A D | ValueMapper.h | 19 #include "llvm/IR/ValueMap.h" 33 using ValueToValueMapTy = ValueMap<const Value *, WeakTrackingVH>; 134 /// instances of \a ValueMap (one as \a ValueToValueMap, and one with raw \a 137 /// need a new template parameter on \a ValueMap.
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
H A D | MemorySSAUpdater.h | 51 #include "llvm/IR/ValueMap.h" 64 using ValueToValueMapTy = ValueMap<const Value *, WeakTrackingVH>;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/ |
H A D | VPlan.h | 238 IRBuilder<> &Builder, VectorizerValueMap &ValueMap, 241 ValueMap(ValueMap), ILV(ILV), Callback(Callback) {} 262 /// as some Defs are still created by ILV and managed in its ValueMap, this 270 // Def is managed by ILV: bring the Values from ValueMap. 275 /// that as per-lane Defs are still created by ILV and managed in its ValueMap 326 VectorizerValueMap &ValueMap;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
H A D | PPCFastISel.cpp | 611 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/ |
H A D | InstrProf.cpp | 709 InstrProfSymtab *ValueMap) { in addValueData() 711 VData[I].Value = remapValue(VData[I].Value, ValueKind, ValueMap); in addValueData() 707 addValueData(uint32_t ValueKind, uint32_t Site, InstrProfValueData *VData, uint32_t N, InstrProfSymtab *ValueMap) addValueData() argument
|