Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/Support/
DTrailingObjects.h128 template <int Align, typename BaseTy, typename TopTrailingObj, typename PrevTy,
135 template <int Align, typename BaseTy, typename TopTrailingObj, typename PrevTy,
137 struct TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, PrevTy, NextTy,
139 : public TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, NextTy,
142 typedef TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, NextTy, MoreTys...>
163 getTrailingObjectsImpl(const BaseTy *Obj,
178 getTrailingObjectsImpl(BaseTy *Obj,
209 template <int Align, typename BaseTy, typename TopTrailingObj, typename PrevTy>
210 struct TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, PrevTy>
230 template <typename BaseTy, typename... TrailingTys>
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DTrailingObjects.h128 template <int Align, typename BaseTy, typename TopTrailingObj, typename PrevTy,
135 template <int Align, typename BaseTy, typename TopTrailingObj, typename PrevTy,
137 class TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, PrevTy, NextTy,
139 : public TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, NextTy,
142 typedef TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, NextTy, MoreTys...>
167 getTrailingObjectsImpl(const BaseTy *Obj, in getTrailingObjectsImpl()
182 getTrailingObjectsImpl(BaseTy *Obj, in getTrailingObjectsImpl()
211 template <int Align, typename BaseTy, typename TopTrailingObj, typename PrevTy>
212 class TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, PrevTy>
233 template <typename BaseTy, typename... TrailingTys>
[all …]
/external/clang/lib/CodeGen/
DCGRecordLayoutBuilder.cpp692 llvm::StructType *BaseTy = nullptr; in ComputeRecordLayout() local
694 BaseTy = Ty; in ComputeRecordLayout()
698 BaseTy = llvm::StructType::create( in ComputeRecordLayout()
700 addRecordTypeName(D, BaseTy, ".base"); in ComputeRecordLayout()
714 new CGRecordLayout(Ty, BaseTy, Builder.IsZeroInitializable, in ComputeRecordLayout()
743 if (BaseTy) { in ComputeRecordLayout()
750 getDataLayout().getTypeAllocSizeInBits(BaseTy) && in ComputeRecordLayout()
DCGStmtOpenMP.cpp886 static Address castToBase(CodeGenFunction &CGF, QualType BaseTy, QualType ElTy, in castToBase() argument
891 BaseTy = BaseTy.getNonReferenceType(); in castToBase()
892 while ((BaseTy->isPointerType() || BaseTy->isReferenceType()) && in castToBase()
893 !CGF.getContext().hasSameType(BaseTy, ElTy)) { in castToBase()
894 Tmp = CGF.CreateMemTemp(BaseTy); in castToBase()
900 BaseTy = BaseTy->getPointeeType(); in castToBase()
913 static LValue loadToBegin(CodeGenFunction &CGF, QualType BaseTy, QualType ElTy, in loadToBegin() argument
915 BaseTy = BaseTy.getNonReferenceType(); in loadToBegin()
916 while ((BaseTy->isPointerType() || BaseTy->isReferenceType()) && in loadToBegin()
917 !CGF.getContext().hasSameType(BaseTy, ElTy)) { in loadToBegin()
[all …]
DCGExpr.cpp3001 QualType BaseTy, QualType ElTy, in emitOMPArraySectionBase() argument
3006 if (BaseTy->isArrayType()) { in emitOMPArraySectionBase()
3012 llvm::Type *NewTy = CGF.ConvertType(BaseTy); in emitOMPArraySectionBase()
3017 if (!BaseTy->isVariableArrayType()) { in emitOMPArraySectionBase()
3035 QualType BaseTy; in EmitOMPArraySectionExpr() local
3038 BaseTy = OMPArraySectionExpr::getBaseOriginalType(ASE); in EmitOMPArraySectionExpr()
3040 BaseTy = E->getBase()->getType(); in EmitOMPArraySectionExpr()
3042 if (auto *AT = getContext().getAsArrayType(BaseTy)) in EmitOMPArraySectionExpr()
3045 ResultExprTy = BaseTy->getPointeeType(); in EmitOMPArraySectionExpr()
3106 QualType ArrayTy = BaseTy->isPointerType() in EmitOMPArraySectionExpr()
[all …]
DTargetInfo.cpp562 llvm::Type *BaseTy = in EmitVAArgInstr() local
565 CGF.Builder.CreateVAArg(VAListAddr.getPointer(), BaseTy); in EmitVAArgInstr()
4240 llvm::Type *BaseTy = CGT.ConvertType(QualType(Base, 0)); in classifyArgumentType() local
4241 llvm::Type *CoerceTy = llvm::ArrayType::get(BaseTy, Members); in classifyArgumentType()
4306 llvm::Type *BaseTy = CGT.ConvertType(QualType(Base, 0)); in classifyReturnType() local
4307 llvm::Type *CoerceTy = llvm::ArrayType::get(BaseTy, Members); in classifyReturnType()
4593 llvm::Type *BaseTy = llvm::Type::getInt64Ty(getVMContext()); in classifyArgumentType() local
4594 return ABIArgInfo::getDirect(llvm::ArrayType::get(BaseTy, Size / 64)); in classifyArgumentType()
4643 llvm::Type *BaseTy = llvm::Type::getInt64Ty(getVMContext()); in classifyReturnType() local
4644 return ABIArgInfo::getDirect(llvm::ArrayType::get(BaseTy, Size / 64)); in classifyReturnType()
[all …]
DCodeGenModule.h643 llvm::MDNode *getTBAAStructTagInfo(QualType BaseTy, llvm::MDNode *AccessN,
/external/clang/lib/AST/
DType.cpp2171 const Type *BaseTy = getBaseElementTypeUnsafe(); in isLiteralType() local
2172 assert(BaseTy && "NULL element type"); in isLiteralType()
2176 if (BaseTy->isIncompleteType()) in isLiteralType()
2184 if (BaseTy->isScalarType() || BaseTy->isVectorType() || in isLiteralType()
2185 BaseTy->isAnyComplexType()) in isLiteralType()
2188 if (BaseTy->isReferenceType()) in isLiteralType()
2191 if (const RecordType *RT = BaseTy->getAs<RecordType>()) { in isLiteralType()
2210 if (const AtomicType *AT = BaseTy->getAs<AtomicType>()) in isLiteralType()
2215 if (isa<AutoType>(BaseTy->getCanonicalTypeInternal())) in isLiteralType()
2229 const Type *BaseTy = getBaseElementTypeUnsafe(); in isStandardLayoutType() local
[all …]
DExprConstant.cpp4461 QualType BaseTy = E->getBase()->getType(); in VisitMemberExpr() local
4466 assert(BaseTy->castAs<RecordType>()->getDecl()->getCanonicalDecl() == in VisitMemberExpr()
4469 CompleteObject Obj(&Val, BaseTy); in VisitMemberExpr()
4470 SubobjectDesignator Designator(BaseTy); in VisitMemberExpr()
4616 QualType BaseTy; in VisitMemberExpr() local
4620 BaseTy = E->getBase()->getType()->castAs<PointerType>()->getPointeeType(); in VisitMemberExpr()
4624 BaseTy = E->getBase()->getType(); in VisitMemberExpr()
4627 BaseTy = E->getBase()->getType(); in VisitMemberExpr()
4638 assert(BaseTy->getAs<RecordType>()->getDecl()->getCanonicalDecl() == in VisitMemberExpr()
4640 (void)BaseTy; in VisitMemberExpr()
[all …]
/external/clang/lib/Index/
DIndexBody.cpp96 auto BaseTy = ME->getBase()->IgnoreImpCasts()->getType(); in getRolesForRef() local
97 if (!BaseTy.isNull()) in getRolesForRef()
98 if (auto *CXXRD = BaseTy->getPointeeCXXRecordDecl()) in getRolesForRef()
/external/clang/test/SemaTemplate/
Dderived.cpp17 BaseTy; // expected-error{{C++ requires a type specifier for all declarations}}
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.cpp1629 const DIType *BaseTy = Ty; in lowerTypeModifier() local
1630 while (IsModifier && BaseTy) { in lowerTypeModifier()
1632 switch (BaseTy->getTag()) { in lowerTypeModifier()
1651 BaseTy = cast<DIDerivedType>(BaseTy)->getBaseType().resolve(); in lowerTypeModifier()
1658 if (BaseTy) { in lowerTypeModifier()
1659 switch (BaseTy->getTag()) { in lowerTypeModifier()
1663 return lowerTypePointer(cast<DIDerivedType>(BaseTy), PO); in lowerTypeModifier()
1665 return lowerTypeMemberPointer(cast<DIDerivedType>(BaseTy), PO); in lowerTypeModifier()
1671 TypeIndex ModifiedTI = getTypeIndex(BaseTy); in lowerTypeModifier()
DDwarfUnit.cpp1419 DIType *BaseTy = CTy->getBaseType().resolve(); in hasVectorBeenPadded() local
1420 assert(BaseTy && "Unknown vector element type."); in hasVectorBeenPadded()
1421 const uint64_t ElementSize = BaseTy->getSizeInBits(); in hasVectorBeenPadded()
/external/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.cpp1247 const DIType *BaseTy = Ty; in lowerTypeModifier() local
1248 while (IsModifier && BaseTy) { in lowerTypeModifier()
1250 switch (BaseTy->getTag()) { in lowerTypeModifier()
1262 BaseTy = cast<DIDerivedType>(BaseTy)->getBaseType().resolve(); in lowerTypeModifier()
1264 TypeIndex ModifiedTI = getTypeIndex(BaseTy); in lowerTypeModifier()
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DDIBuilder.h151 DIType createInheritance(DIType Ty, DIType BaseTy, uint64_t BaseOffset,
/external/spirv-llvm/lib/SPIRV/
DSPIRVUtil.cpp1294 std::string BaseTy; in mapOCLTypeNameToSPIRV() local
1300 BaseTy = kSPIRVTypeName::Pipe; in mapOCLTypeNameToSPIRV()
1318 BaseTy = kSPIRVTypeName::Image; in mapOCLTypeNameToSPIRV()
1326 return getSPIRVTypeName(BaseTy, OS.str()); in mapOCLTypeNameToSPIRV()
/external/llvm/include/llvm/IR/
DDIBuilder.h178 DIDerivedType *createInheritance(DIType *Ty, DIType *BaseTy,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm-c/
DDebugInfo.h749 LLVMMetadataRef Ty, LLVMMetadataRef BaseTy,
/external/llvm/lib/IR/
DDIBuilder.cpp252 DIDerivedType *DIBuilder::createInheritance(DIType *Ty, DIType *BaseTy, in createInheritance() argument
257 0, Ty, BaseTy, 0, 0, BaseOffset, Flags); in createInheritance()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DDIBuilder.cpp291 DIType DIBuilder::createInheritance(DIType Ty, DIType BaseTy, in createInheritance() argument
305 BaseTy in createInheritance()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DDIBuilder.h251 DIDerivedType *createInheritance(DIType *Ty, DIType *BaseTy,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DDIBuilder.cpp319 DIDerivedType *DIBuilder::createInheritance(DIType *Ty, DIType *BaseTy, in createInheritance() argument
327 0, Ty, BaseTy, 0, 0, BaseOffset, None, in createInheritance()
DDebugInfo.cpp1057 LLVMMetadataRef Ty, LLVMMetadataRef BaseTy, in LLVMDIBuilderCreateInheritance() argument
1061 unwrapDI<DIType>(Ty), unwrapDI<DIType>(BaseTy), in LLVMDIBuilderCreateInheritance()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngine.cpp649 QualType BaseTy = Base->getType(); in ProcessBaseDtor() local
650 SVal BaseVal = getStoreManager().evalDerivedToBase(ThisVal, BaseTy, in ProcessBaseDtor()
653 VisitCXXDestructor(BaseTy, BaseVal.castAs<loc::MemRegionVal>().getRegion(), in ProcessBaseDtor()
/external/swiftshader/third_party/subzero/src/
DPNaClTranslator.cpp942 Ice::Type BaseTy = Context->getSimpleTypeByID(Values[1]); in ProcessRecord() local
944 switch (BaseTy) { in ProcessRecord()
990 StrBuf << "Invalid type vector record: <" << Values[0] << " x " << BaseTy in ProcessRecord()

12