Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuilder.h55 const CodeGenTypeCache &TypeCache; variable
92 CGBuilderTy(const CodeGenTypeCache &TypeCache, llvm::LLVMContext &C) in CGBuilderTy() argument
93 : CGBuilderBaseTy(C), TypeCache(TypeCache) {} in CGBuilderTy()
94 CGBuilderTy(const CodeGenTypeCache &TypeCache, llvm::LLVMContext &C, in CGBuilderTy() argument
97 : CGBuilderBaseTy(C, F, Inserter), TypeCache(TypeCache) {} in CGBuilderTy()
98 CGBuilderTy(const CodeGenTypeCache &TypeCache, llvm::Instruction *I) in CGBuilderTy() argument
99 : CGBuilderBaseTy(I), TypeCache(TypeCache) {} in CGBuilderTy()
100 CGBuilderTy(const CodeGenTypeCache &TypeCache, llvm::BasicBlock *BB) in CGBuilderTy() argument
101 : CGBuilderBaseTy(BB), TypeCache(TypeCache) {} in CGBuilderTy()
104 return llvm::ConstantInt::get(TypeCache.SizeTy, N.getQuantity()); in getSize()
[all …]
H A DCodeGenTypes.cpp237 if (TypeCache.count(ED->getTypeForDecl())) { in UpdateCompletedType()
242 TypeCache.clear(); in UpdateCompletedType()
273 TypeCache.clear(); in RefreshTypeCacheForClass()
379 auto TCI = TypeCache.find(Ty); in ConvertType()
380 if (TCI != TypeCache.end()) in ConvertType()
776 TypeCache[Ty] = ResultType; in ConvertType()
825 TypeCache.clear(); in ConvertRecordDeclType()
H A DCodeGenTypes.h87 llvm::DenseMap<const Type *, llvm::Type *> TypeCache; variable
H A DCGDebugInfo.cpp2160 TypeCache[ThisPtr.getAsOpaquePtr()].reset(ThisPtrType); in getOrCreateInstanceMethodType()
2843 auto I = TypeCache.find(TyPtr); in completeType()
2844 if (I == TypeCache.end() || !cast<llvm::DIType>(I->second)->isForwardDecl()) in completeType()
2848 TypeCache[TyPtr].reset(Res); in completeType()
2918 auto I = TypeCache.find(TyPtr); in completeClass()
2919 if (I != TypeCache.end() && !cast<llvm::DIType>(I->second)->isForwardDecl()) in completeClass()
2927 TypeCache[TyPtr].reset(Res); in completeClass()
3324 TypeCache[QTy.getAsOpaquePtr()].reset(RealDecl); in CreateTypeDefinition()
3896 auto It = TypeCache.find(Ty.getAsOpaquePtr()); in getTypeOrNull()
3897 if (It != TypeCache.end()) { in getTypeOrNull()
[all …]
H A DCGDebugInfo.h99 llvm::DenseMap<const void *, llvm::TrackingMDRef> TypeCache; variable
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DRISCVVEmitter.cpp98 RVVTypeCache TypeCache; member in __anon92aa39bc0111::RVVEmitter
438 auto T = TypeCache.computeType(BasicType::Int8, Log2LMUL, in createHeader()
447 auto T = TypeCache.computeType(BT, Log2LMUL, PrototypeDescriptor::Vector); in createHeader()
450 auto UT = TypeCache.computeType( in createHeader()
458 auto TupleT = TypeCache.computeType( in createHeader()
462 auto TupleUT = TypeCache.computeType( in createHeader()
477 auto T = TypeCache.computeType(BT, Log2LMUL, PrototypeDescriptor::Vector); in createHeader()
481 auto TupleT = TypeCache.computeType( in createHeader()
686 TypeCache.computeTypes(BT, Log2LMUL, NF, Prototype); in createRVVIntrinsics()
692 RVVIntrinsic::getSuffixStr(TypeCache, BT, Log2LMUL, SuffixDesc); in createRVVIntrinsics()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaRISCV.cpp183 RVVTypeCache TypeCache; member in __anond8d1aa3c0211::RISCVIntrinsicManagerImpl
282 TypeCache.computeTypes(BaseType, Log2LMUL, Record.NF, ProtoSeq); in ConstructRVVIntrinsics()
289 TypeCache, BaseType, Log2LMUL, SuffixProto); in ConstructRVVIntrinsics()
291 TypeCache, BaseType, Log2LMUL, OverloadedSuffixProto); in ConstructRVVIntrinsics()
305 std::optional<RVVTypes> PolicyTypes = TypeCache.computeTypes( in ConstructRVVIntrinsics()
316 TypeCache.computeTypes(BaseType, Log2LMUL, Record.NF, ProtoMaskSeq); in ConstructRVVIntrinsics()
328 std::optional<RVVTypes> PolicyTypes = TypeCache.computeTypes( in ConstructRVVIntrinsics()
/freebsd/contrib/llvm-project/clang/lib/Support/
H A DRISCVVIntrinsicUtils.cpp1025 RVVTypeCache &TypeCache, BasicType Type, int Log2LMUL, in getSuffixStr() argument
1029 auto T = TypeCache.computeType(Type, Log2LMUL, PD); in getSuffixStr()
/freebsd/contrib/llvm-project/clang/include/clang/Support/
H A DRISCVVIntrinsicUtils.h467 getSuffixStr(RVVTypeCache &TypeCache, BasicType Type, int Log2LMUL,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DDebugify.cpp152 DenseMap<uint64_t, DIType *> TypeCache; in applyDebugifyMetadata() local
155 DIType *&DTy = TypeCache[Size]; in applyDebugifyMetadata()