Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGBuilder.h48 const CodeGenTypeCache &TypeCache; variable
50 CGBuilderTy(const CodeGenTypeCache &TypeCache, llvm::LLVMContext &C) in CGBuilderTy() argument
51 : CGBuilderBaseTy(C), TypeCache(TypeCache) {} in CGBuilderTy()
52 CGBuilderTy(const CodeGenTypeCache &TypeCache, in CGBuilderTy() argument
55 : CGBuilderBaseTy(C, F, Inserter), TypeCache(TypeCache) {} in CGBuilderTy()
56 CGBuilderTy(const CodeGenTypeCache &TypeCache, llvm::Instruction *I) in CGBuilderTy() argument
57 : CGBuilderBaseTy(I), TypeCache(TypeCache) {} in CGBuilderTy()
58 CGBuilderTy(const CodeGenTypeCache &TypeCache, llvm::BasicBlock *BB) in CGBuilderTy() argument
59 : CGBuilderBaseTy(BB), TypeCache(TypeCache) {} in CGBuilderTy()
62 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()
281 TypeCache.clear(); in RefreshTypeCacheForClass()
370 TypeCache.clear(); in ConvertFunctionType()
389 llvm::DenseMap<const Type *, llvm::Type *>::iterator TCI = TypeCache.find(Ty); in ConvertType()
391 if (TCI != TypeCache.end()) in ConvertType()
645 TypeCache[Ty] = ResultType; in ConvertType()
710 TypeCache.clear(); in ConvertRecordDeclType()
DCGDebugInfo.cpp1172 TypeCache[ThisPtr.getAsOpaquePtr()].reset(ThisPtrType); in getOrCreateInstanceMethodType()
1180 TypeCache[ThisPtr.getAsOpaquePtr()].reset(ThisPtrType); in getOrCreateInstanceMethodType()
1585 auto I = TypeCache.find(TyPtr); in completeType()
1586 if (I == TypeCache.end() || !cast<llvm::DIType>(I->second)->isForwardDecl()) in completeType()
1590 TypeCache[TyPtr].reset(Res); in completeType()
1621 auto I = TypeCache.find(TyPtr); in completeClassData()
1622 if (I != TypeCache.end() && !cast<llvm::DIType>(I->second)->isForwardDecl()) in completeClassData()
1626 TypeCache[TyPtr].reset(Res); in completeClassData()
1908 TypeCache[QTy.getAsOpaquePtr()].reset(RealDecl); in CreateTypeDefinition()
2318 auto it = TypeCache.find(Ty.getAsOpaquePtr()); in getTypeOrNull()
[all …]
DCodeGenTypes.h163 llvm::DenseMap<const Type *, llvm::Type *> TypeCache; variable
DCGDebugInfo.h77 llvm::DenseMap<const void *, llvm::TrackingMDRef> TypeCache; variable
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/
DTypeCachingBytecodeGenerator.java7 import net.bytebuddy.TypeCache;
20 private final TypeCache<MockitoMockKey> typeCache;
24 …typeCache = new TypeCache.WithInlineExpunction<MockitoMockKey>(weak ? TypeCache.Sort.WEAK : TypeCa… in TypeCachingBytecodeGenerator()
50 private static class MockitoMockKey extends TypeCache.SimpleKey {
/external/v8/src/compiler/
Daccess-builder.cc40 TypeCache::Get().kUint8, MachineType::Uint8(), in ForExternalUint8Value()
59 MaybeHandle<Map>(), TypeCache::Get().kFloat64, MachineType::Float64(), in ForHeapNumberValue()
224 TypeCache const& type_cache = TypeCache::Get(); in ForJSArrayLength()
257 MaybeHandle<Map>(), TypeCache::Get().kUint8, MachineType::Uint32(), in ForJSArrayBufferBitField()
277 TypeCache::Get().kPositiveInteger, in ForJSArrayBufferViewByteLength()
289 TypeCache::Get().kPositiveInteger, in ForJSArrayBufferViewByteOffset()
301 TypeCache::Get().kJSTypedArrayLengthType, in ForJSTypedArrayLength()
313 TypeCache::Get().kJSDateValueType, in ForJSDateValue()
376 TypeCache::Get().kFixedArrayLengthType, in ForFixedArrayLength()
430 MaybeHandle<Map>(), TypeCache::Get().kUint8, MachineType::Uint8(), in ForMapBitField()
[all …]
Dtype-cache.cc15 base::LazyInstance<TypeCache>::type kCache = LAZY_INSTANCE_INITIALIZER;
20 TypeCache const& TypeCache::Get() { return kCache.Get(); } in Get()
Dtyped-optimization.h26 class TypeCache; variable
69 TypeCache const& type_cache_; in NON_EXPORTED_BASE()
Dtype-cache.h15 class TypeCache final {
22 static TypeCache const& Get();
24 TypeCache() : zone_(&allocator, ZONE_NAME) {} in TypeCache() function
Doperation-typer.h24 class TypeCache; variable
79 TypeCache const& cache_;
Dsimplified-lowering.h21 class TypeCache; variable
55 TypeCache const& type_cache_;
Djs-typed-lowering.h28 class TypeCache; variable
105 TypeCache const& type_cache_; in NON_EXPORTED_BASE()
Djs-builtin-reducer.h28 class TypeCache; variable
131 TypeCache const& type_cache_; in NON_EXPORTED_BASE()
Daccess-info.h26 class TypeCache; variable
170 TypeCache const& type_cache_;
Djs-native-context-specialization.h31 class TypeCache; variable
195 TypeCache const& type_cache_;
Dtyper.h50 TypeCache const& cache_;
Dtyped-optimization.cc28 type_cache_(TypeCache::Get()) {} in TypedOptimization()
Daccess-info.cc198 type_cache_(TypeCache::Get()), in AccessInfoFactory()
Doperation-typer.cc20 : zone_(zone), cache_(TypeCache::Get()) { in OperationTyper()
Dsimplified-lowering.cc303 type_cache_(TypeCache::Get()), in RepresentationSelector()
2812 TypeCache const& type_cache_;
2827 type_cache_(TypeCache::Get()), in SimplifiedLowering()
Dtyper.cc41 cache_(TypeCache::Get()), in Typer()
Djs-builtin-reducer.cc108 type_cache_(TypeCache::Get()) {} in JSBuiltinReducer()
Djs-native-context-specialization.cc76 type_cache_(TypeCache::Get()) {} in JSNativeContextSpecialization()
Djs-typed-lowering.cc532 type_cache_(TypeCache::Get()) { in JSTypedLowering()