Home
last modified time | relevance | path

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

12

/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.cc35 TypeCache::Get().kUint8, MachineType::Uint8(), in ForExternalUint8Value()
54 MaybeHandle<Map>(), TypeCache::Get().kFloat64, MachineType::Float64(), in ForHeapNumberValue()
63 MaybeHandle<Map>(), TypeCache::Get().kInt32, MachineType::IntPtr(), in ForBigIntBitfield()
134 TypeCache::Get().kFixedArrayLengthType, in ForJSCollectionIteratorIndex()
307 TypeCache const& type_cache = TypeCache::Get(); in ForJSArrayLength()
340 MaybeHandle<Map>(), TypeCache::Get().kUint8, MachineType::Uint32(), in ForJSArrayBufferBitField()
360 TypeCache::Get().kPositiveInteger, in ForJSArrayBufferViewByteLength()
372 TypeCache::Get().kPositiveInteger, in ForJSArrayBufferViewByteOffset()
384 TypeCache::Get().kJSTypedArrayLengthType, in ForJSTypedArrayLength()
396 TypeCache::Get().kJSDateValueType, in ForJSDateValue()
[all …]
Dtype-cache.cc15 base::LazyInstance<TypeCache>::type kTypeCache = LAZY_INSTANCE_INITIALIZER;
20 TypeCache const& TypeCache::Get() { return kTypeCache.Get(); } in Get()
Dtype-cache.h17 class TypeCache final {
24 static TypeCache const& Get();
26 TypeCache() : zone_(&allocator, ZONE_NAME) {} in TypeCache() function
Dtyped-optimization.h25 class TypeCache; variable
81 TypeCache const& type_cache_; in NON_EXPORTED_BASE()
Dsimplified-lowering.h22 class TypeCache; variable
53 TypeCache const& type_cache_;
Doperation-typer.h26 class TypeCache; variable
97 TypeCache const& cache_;
Djs-typed-lowering.h26 class TypeCache; variable
111 TypeCache const& type_cache_; in NON_EXPORTED_BASE()
Daccess-info.h28 class TypeCache; variable
182 TypeCache const& type_cache_;
Dtyper.h50 TypeCache const& cache_;
Djs-native-context-specialization.h33 class TypeCache; variable
242 TypeCache const& type_cache_;
Descape-analysis-reducer.cc338 TypeCache::Get().kArgumentsLengthType); in Finalize()
Dverifier.cc1137 CheckTypeIs(node, TypeCache::Get().kStringLengthType); in Check()
1223 CheckTypeIs(node, TypeCache::Get().kArgumentsLengthType); in Check()
1241 CheckValueInputIs(node, 0, TypeCache::Get().kStringLengthType); in Check()
Daccess-info.cc247 type_cache_(TypeCache::Get()), in AccessInfoFactory()
Dtyped-optimization.cc33 type_cache_(TypeCache::Get()) {} in TypedOptimization()
Djs-call-reducer.cc2179 DCHECK(TypeCache::Get().kFixedDoubleArrayLengthType.Is( in DoFilterPostCallbackWork()
2180 TypeCache::Get().kFixedArrayLengthType)); in DoFilterPostCallbackWork()
2182 common()->TypeGuard(TypeCache::Get().kFixedArrayLengthType), to, etrue, in DoFilterPostCallbackWork()
5018 index_access.type = TypeCache::Get().kJSTypedArrayLengthType; in ReduceArrayIteratorPrototypeNext()
5022 index_access.type = TypeCache::Get().kJSArrayLengthType; in ReduceArrayIteratorPrototypeNext()
6508 common()->TypeGuard(TypeCache::Get().kFixedArrayLengthType), index, in ReduceCollectionIteratorPrototypeNext()
6572 common()->TypeGuard(TypeCache::Get().kFixedArrayLengthType), iloop, in ReduceCollectionIteratorPrototypeNext()
Dtyper.cc41 cache_(TypeCache::Get()), in Typer()
2173 return TypeCache::Get().kArgumentsLengthType; in TypeArgumentsLength()
Dsimplified-lowering.cc308 type_cache_(TypeCache::Get()), in RepresentationSelector()
3267 TypeCache const& type_cache_;
3286 type_cache_(TypeCache::Get()), in SimplifiedLowering()
Doperation-typer.cc21 : zone_(zone), cache_(TypeCache::Get()) { in OperationTyper()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/opt/
DDebugify.cpp76 DenseMap<uint64_t, DIType *> TypeCache; in applyDebugifyMetadata() local
79 DIType *&DTy = TypeCache[Size]; in applyDebugifyMetadata()

12