Home
last modified time | relevance | path

Searched refs:TypeCache (Results 1 – 25 of 26) sorted by relevance

12

/external/clang/lib/CodeGen/
DCGBuilder.h56 const CodeGenTypeCache &TypeCache; variable
58 CGBuilderTy(const CodeGenTypeCache &TypeCache, llvm::LLVMContext &C) in CGBuilderTy() argument
59 : CGBuilderBaseTy(C), TypeCache(TypeCache) {} in CGBuilderTy()
60 CGBuilderTy(const CodeGenTypeCache &TypeCache, in CGBuilderTy() argument
63 : CGBuilderBaseTy(C, F, Inserter), TypeCache(TypeCache) {} in CGBuilderTy()
64 CGBuilderTy(const CodeGenTypeCache &TypeCache, llvm::Instruction *I) in CGBuilderTy() argument
65 : CGBuilderBaseTy(I), TypeCache(TypeCache) {} in CGBuilderTy()
66 CGBuilderTy(const CodeGenTypeCache &TypeCache, llvm::BasicBlock *BB) in CGBuilderTy() argument
67 : CGBuilderBaseTy(BB), TypeCache(TypeCache) {} in CGBuilderTy()
70 return llvm::ConstantInt::get(TypeCache.SizeTy, N.getQuantity()); in getSize()
[all …]
DCodeGenTypes.cpp245 if (TypeCache.count(ED->getTypeForDecl())) { in UpdateCompletedType()
250 TypeCache.clear(); in UpdateCompletedType()
359 TypeCache.clear(); in ConvertFunctionType()
378 llvm::DenseMap<const Type *, llvm::Type *>::iterator TCI = TypeCache.find(Ty); in ConvertType()
380 if (TCI != TypeCache.end()) in ConvertType()
635 TypeCache[Ty] = ResultType; in ConvertType()
700 TypeCache.clear(); in ConvertRecordDeclType()
DCGDebugInfo.cpp1090 TypeCache[ThisPtr.getAsOpaquePtr()].reset(ThisPtrType); in getOrCreateInstanceMethodType()
1098 TypeCache[ThisPtr.getAsOpaquePtr()].reset(ThisPtrType); in getOrCreateInstanceMethodType()
1480 auto I = TypeCache.find(TyPtr); in completeType()
1481 if (I == TypeCache.end() || !cast<llvm::DIType>(I->second)->isForwardDecl()) in completeType()
1485 TypeCache[TyPtr].reset(Res); in completeType()
1516 auto I = TypeCache.find(TyPtr); in completeClassData()
1517 if (I != TypeCache.end() && !cast<llvm::DIType>(I->second)->isForwardDecl()) in completeClassData()
1521 TypeCache[TyPtr].reset(Res); in completeClassData()
1782 TypeCache[QTy.getAsOpaquePtr()].reset(RealDecl); in CreateTypeDefinition()
2154 auto it = TypeCache.find(Ty.getAsOpaquePtr()); in getTypeOrNull()
[all …]
DCodeGenTypes.h163 llvm::DenseMap<const Type *, llvm::Type *> TypeCache; variable
DCGDebugInfo.h84 llvm::DenseMap<const void *, llvm::TrackingMDRef> TypeCache; variable
/external/v8/src/
Dtype-cache.cc15 base::LazyInstance<TypeCache>::type kCache = LAZY_INSTANCE_INITIALIZER;
21 TypeCache const& TypeCache::Get() { return kCache.Get(); } in Get()
Dtype-cache.h13 class TypeCache final {
19 static TypeCache const& Get();
21 TypeCache() = default;
Dtyping-asm.h18 class TypeCache; variable
117 TypeCache const& cache_;
Dtyping-asm.cc65 cache_(TypeCache::Get()) { in AsmTyper()
/external/v8/src/compiler/
Daccess-builder.cc29 MaybeHandle<Name>(), TypeCache().Get().kFloat64, in ForHeapNumberValue()
82 TypeCache const& type_cache = TypeCache::Get(); in ForJSArrayLength()
107 MaybeHandle<Name>(), TypeCache::Get().kInt8, in ForJSArrayBufferBitField()
171 TypeCache::Get().kFixedArrayLengthType, MachineType::AnyTagged()}; in ForFixedArrayLength()
197 TypeCache::Get().kUint8, MachineType::Uint8()}; in ForMapBitField()
205 TypeCache::Get().kInt32, MachineType::Int32()}; in ForMapBitField3()
221 TypeCache::Get().kUint8, MachineType::Uint8()}; in ForMapInstanceType()
237 TypeCache::Get().kStringLengthType, in ForStringLength()
342 TypeCache::Get().kFloat64, MachineType::Float64()}; in ForFixedDoubleArrayElement()
404 TypeCache::Get().kInt32, MachineType::Int32()}; in ForStatsCounter()
Djs-intrinsic-lowering.h16 class TypeCache; variable
92 TypeCache const& type_cache() const { return type_cache_; } in type_cache()
96 TypeCache const& type_cache_;
Dtyper.h17 class TypeCache; variable
57 TypeCache const& cache_;
Djs-global-object-specialization.h16 class TypeCache; variable
72 TypeCache const& type_cache_;
Dsimplified-lowering.h17 class TypeCache; variable
49 TypeCache const& type_cache_;
Djs-native-context-specialization.h18 class TypeCache; variable
105 TypeCache const& type_cache_;
Daccess-info.h20 class TypeCache; variable
154 TypeCache const& type_cache_;
Djs-typed-lowering.h18 class TypeCache; variable
129 TypeCache const& type_cache_;
Djs-global-object-specialization.cc37 type_cache_(TypeCache::Get()) {} in JSGlobalObjectSpecialization()
Daccess-info.cc137 type_cache_(TypeCache::Get()), in AccessInfoFactory()
Dsimplified-lowering.cc350 type_cache_(TypeCache::Get()) { in RepresentationSelector()
1487 TypeCache const& type_cache_;
1501 type_cache_(TypeCache::Get()), in SimplifiedLowering()
Djs-intrinsic-lowering.cc29 type_cache_(TypeCache::Get()) {} in JSIntrinsicLowering()
Djs-native-context-specialization.cc36 type_cache_(TypeCache::Get()) {} in JSNativeContextSpecialization()
Dtyper.cc42 cache_(TypeCache::Get()) { in Typer()
/external/v8/test/cctest/
Dtest-asm-validator.cc125 TypeCache cache; in TEST()
450 size_t& index, int& depth, TypeCache& cache) { in CheckStdlibShortcuts1()
481 size_t& index, int& depth, TypeCache& cache) { in CheckStdlibShortcuts2()
514 TypeCache cache; \
1937 TypeCache cache; in TEST()
/external/v8/src/wasm/
Dasm-wasm-builder.cc47 cache_(TypeCache::Get()), in AsmWasmBuilderImpl()
1020 TypeCache const& cache_;

12