Home
last modified time | relevance | path

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

12

/external/oboe/samples/RhythmGame/third_party/glm/gtx/
Dio.hpp43 template <typename CTy>
46 typedef CTy char_type;
66 template <typename CTy, typename CTr = std::char_traits<CTy> >
71 GLM_FUNC_DECL explicit basic_state_saver(std::basic_ios<CTy,CTr>&);
76 typedef ::std::basic_ios<CTy,CTr> state_type;
95 template <typename CTy, typename CTr = std::char_traits<CTy> >
100 GLM_FUNC_DECL explicit basic_format_saver(std::basic_ios<CTy,CTr>&);
105 basic_state_saver<CTy> const bss_;
127 template <typename CTy>
130 CTy value[3];
[all …]
Dio.inl13 template <typename CTy>
14 GLM_FUNC_QUALIFIER format_punct<CTy>::format_punct(size_t a)
27 template <typename CTy>
28 GLM_FUNC_QUALIFIER format_punct<CTy>::format_punct(format_punct const& a)
41 template <typename CTy> std::locale::id format_punct<CTy>::id;
43 template <typename CTy, typename CTr>
44 GLM_FUNC_QUALIFIER basic_state_saver<CTy, CTr>::basic_state_saver(std::basic_ios<CTy, CTr>& a) argument
53 template <typename CTy, typename CTr>
54 GLM_FUNC_QUALIFIER basic_state_saver<CTy, CTr>::~basic_state_saver()
63 template <typename CTy, typename CTr>
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBPFAbstractMemberAccess.cpp162 uint32_t GetFieldInfo(uint32_t InfoKind, DICompositeType *CTy,
219 static uint32_t calcArraySize(const DICompositeType *CTy, uint32_t StartDim) { in calcArraySize() argument
220 DINodeArray Elements = CTy->getElements(); in calcArraySize()
381 const auto *CTy = dyn_cast<DICompositeType>(CType); in IsValidAIChain() local
382 assert(PTy && CTy && "ParentType or ChildType is null or not composite"); in IsValidAIChain()
389 uint32_t CTyTag = CTy->getTag(); in IsValidAIChain()
396 return PTy->getBaseType() == CTy->getBaseType(); in IsValidAIChain()
404 return dyn_cast<DICompositeType>(stripQualifiers(Ty)) == CTy; in IsValidAIChain()
541 DICompositeType *CTy, in GetFieldInfo() argument
548 uint32_t Tag = CTy->getTag(); in GetFieldInfo()
[all …]
DBTFDebug.cpp448 void BTFDebug::visitStructType(const DICompositeType *CTy, bool IsStruct, in visitStructType() argument
450 const DINodeArray Elements = CTy->getElements(); in visitStructType()
466 std::make_unique<BTFTypeStruct>(CTy, IsStruct, HasBitField, VLen); in visitStructType()
468 TypeId = addType(std::move(TypeEntry), CTy); in visitStructType()
475 void BTFDebug::visitArrayType(const DICompositeType *CTy, uint32_t &TypeId) { in visitArrayType() argument
478 const DIType *ElemType = CTy->getBaseType(); in visitArrayType()
482 DINodeArray Elements = CTy->getElements(); in visitArrayType()
496 ElemTypeId = addType(std::move(TypeEntry), CTy); in visitArrayType()
514 void BTFDebug::visitEnumType(const DICompositeType *CTy, uint32_t &TypeId) { in visitEnumType() argument
515 DINodeArray Elements = CTy->getElements(); in visitEnumType()
[all …]
DBTFDebug.h275 void visitFwdDeclType(const DICompositeType *CTy, bool IsUnion,
277 void visitCompositeType(const DICompositeType *CTy, uint32_t &TypeId);
/external/llvm-project/llvm/lib/Target/BPF/
DBPFAbstractMemberAccess.cpp170 uint32_t GetFieldInfo(uint32_t InfoKind, DICompositeType *CTy,
256 static uint32_t calcArraySize(const DICompositeType *CTy, uint32_t StartDim) { in calcArraySize() argument
257 DINodeArray Elements = CTy->getElements(); in calcArraySize()
445 const auto *CTy = dyn_cast<DICompositeType>(CType); in IsValidAIChain() local
446 assert(PTy && CTy && "ParentType or ChildType is null or not composite"); in IsValidAIChain()
453 uint32_t CTyTag = CTy->getTag(); in IsValidAIChain()
460 return PTy->getBaseType() == CTy->getBaseType(); in IsValidAIChain()
468 return dyn_cast<DICompositeType>(stripQualifiers(Ty)) == CTy; in IsValidAIChain()
605 DICompositeType *CTy, in GetFieldInfo() argument
612 uint32_t Tag = CTy->getTag(); in GetFieldInfo()
[all …]
DBTFDebug.cpp454 void BTFDebug::visitStructType(const DICompositeType *CTy, bool IsStruct, in visitStructType() argument
456 const DINodeArray Elements = CTy->getElements(); in visitStructType()
472 std::make_unique<BTFTypeStruct>(CTy, IsStruct, HasBitField, VLen); in visitStructType()
474 TypeId = addType(std::move(TypeEntry), CTy); in visitStructType()
481 void BTFDebug::visitArrayType(const DICompositeType *CTy, uint32_t &TypeId) { in visitArrayType() argument
484 const DIType *ElemType = CTy->getBaseType(); in visitArrayType()
488 DINodeArray Elements = CTy->getElements(); in visitArrayType()
502 ElemTypeId = addType(std::move(TypeEntry), CTy); in visitArrayType()
520 void BTFDebug::visitEnumType(const DICompositeType *CTy, uint32_t &TypeId) { in visitEnumType() argument
521 DINodeArray Elements = CTy->getElements(); in visitEnumType()
[all …]
DBTFDebug.h281 void visitFwdDeclType(const DICompositeType *CTy, bool IsUnion,
283 void visitCompositeType(const DICompositeType *CTy, uint32_t &TypeId);
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/
DDwarfUnit.cpp560 else if (auto *CTy = dyn_cast<DICompositeType>(Ty)) { in createTypeDIE() local
562 (Ty->getRawName() || CTy->getRawIdentifier())) { in createTypeDIE()
564 if (MDString *TypeId = CTy->getRawIdentifier()) in createTypeDIE()
565 DD->addDwarfTypeUnitType(getCU(), TypeId->getString(), TyDIE, CTy); in createTypeDIE()
568 finishNonUnitTypeDIE(TyDIE, CTy); in createTypeDIE()
572 constructTypeDIE(TyDIE, CTy); in createTypeDIE()
781 void DwarfUnit::constructTypeDIE(DIE &Buffer, const DISubroutineType *CTy) { in constructTypeDIE() argument
783 auto Elements = cast<DISubroutineType>(CTy)->getTypeArray(); in constructTypeDIE()
803 if (CTy->getCC() && CTy->getCC() != dwarf::DW_CC_normal) in constructTypeDIE()
805 CTy->getCC()); in constructTypeDIE()
[all …]
DDwarfUnit.h269 void constructTypeDIE(DIE &Buffer, const DICompositeType *CTy);
300 void constructTypeDIE(DIE &Buffer, const DISubroutineType *CTy);
304 void constructArrayTypeDIE(DIE &Buffer, const DICompositeType *CTy);
305 void constructEnumTypeDIE(DIE &Buffer, const DICompositeType *CTy);
323 virtual void finishNonUnitTypeDIE(DIE& D, const DICompositeType *CTy) = 0;
342 void finishNonUnitTypeDIE(DIE& D, const DICompositeType *CTy) override;
DDebugHandlerBase.cpp167 if (auto *CTy = dyn_cast<DICompositeType>(Ty)) { in isUnsignedDIType() local
170 if (CTy->getTag() == dwarf::DW_TAG_enumeration_type) in isUnsignedDIType()
DCodeViewDebug.cpp2564 const auto *CTy = cast<DICompositeType>(Ty); in getCompleteTypeIndex() local
2572 if (!CTy->getName().empty() || !CTy->getIdentifier().empty()) { in getCompleteTypeIndex()
2573 TypeIndex FwdDeclTI = getTypeIndex(CTy); in getCompleteTypeIndex()
2578 if (CTy->isForwardDecl()) in getCompleteTypeIndex()
2585 auto InsertResult = CompleteTypeIndices.insert({CTy, TypeIndex()}); in getCompleteTypeIndex()
2590 switch (CTy->getTag()) { in getCompleteTypeIndex()
2593 TI = lowerCompleteTypeClass(CTy); in getCompleteTypeIndex()
2596 TI = lowerCompleteTypeUnion(CTy); in getCompleteTypeIndex()
2606 CompleteTypeIndices[CTy] = TI; in getCompleteTypeIndex()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DDwarfUnit.cpp463 if (auto *CTy = dyn_cast<DICompositeType>(Ty)) { in isUnsignedDIType() local
466 if (CTy->getTag() == dwarf::DW_TAG_enumeration_type) in isUnsignedDIType()
660 else if (auto *CTy = dyn_cast<DICompositeType>(Ty)) { in createTypeDIE() local
662 (Ty->getRawName() || CTy->getRawIdentifier())) { in createTypeDIE()
664 if (MDString *TypeId = CTy->getRawIdentifier()) in createTypeDIE()
665 DD->addDwarfTypeUnitType(getCU(), TypeId->getString(), TyDIE, CTy); in createTypeDIE()
668 finishNonUnitTypeDIE(TyDIE, CTy); in createTypeDIE()
672 constructTypeDIE(TyDIE, CTy); in createTypeDIE()
849 void DwarfUnit::constructTypeDIE(DIE &Buffer, const DISubroutineType *CTy) { in constructTypeDIE() argument
851 auto Elements = cast<DISubroutineType>(CTy)->getTypeArray(); in constructTypeDIE()
[all …]
DDwarfUnit.h277 void constructTypeDIE(DIE &Buffer, const DICompositeType *CTy);
311 void constructTypeDIE(DIE &Buffer, const DISubroutineType *CTy);
313 void constructArrayTypeDIE(DIE &Buffer, const DICompositeType *CTy);
314 void constructEnumTypeDIE(DIE &Buffer, const DICompositeType *CTy);
332 virtual void finishNonUnitTypeDIE(DIE& D, const DICompositeType *CTy) = 0;
351 void finishNonUnitTypeDIE(DIE& D, const DICompositeType *CTy) override;
DCodeViewDebug.cpp2534 const auto *CTy = cast<DICompositeType>(Ty); in getCompleteTypeIndex() local
2542 if (!CTy->getName().empty() || !CTy->getIdentifier().empty()) { in getCompleteTypeIndex()
2543 TypeIndex FwdDeclTI = getTypeIndex(CTy); in getCompleteTypeIndex()
2548 if (CTy->isForwardDecl()) in getCompleteTypeIndex()
2555 auto InsertResult = CompleteTypeIndices.insert({CTy, TypeIndex()}); in getCompleteTypeIndex()
2560 switch (CTy->getTag()) { in getCompleteTypeIndex()
2563 TI = lowerCompleteTypeClass(CTy); in getCompleteTypeIndex()
2566 TI = lowerCompleteTypeUnion(CTy); in getCompleteTypeIndex()
2576 CompleteTypeIndices[CTy] = TI; in getCompleteTypeIndex()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfUnit.cpp516 if (auto *CTy = dyn_cast<DICompositeType>(Ty)) { in isUnsignedDIType() local
519 if (CTy->getTag() == dwarf::DW_TAG_enumeration_type) in isUnsignedDIType()
720 else if (auto *CTy = dyn_cast<DICompositeType>(Ty)) { in getOrCreateTypeDIE() local
722 if (MDString *TypeId = CTy->getRawIdentifier()) { in getOrCreateTypeDIE()
723 DD->addDwarfTypeUnitType(getCU(), TypeId->getString(), TyDIE, CTy); in getOrCreateTypeDIE()
727 constructTypeDIE(TyDIE, CTy); in getOrCreateTypeDIE()
857 void DwarfUnit::constructTypeDIE(DIE &Buffer, const DISubroutineType *CTy) { in constructTypeDIE() argument
859 auto Elements = cast<DISubroutineType>(CTy)->getTypeArray(); in constructTypeDIE()
879 if (CTy->getCC() && CTy->getCC() != dwarf::DW_CC_normal) in constructTypeDIE()
881 CTy->getCC()); in constructTypeDIE()
[all …]
DDwarfUnit.h318 void constructTypeDIE(DIE &Buffer, const DICompositeType *CTy);
339 void constructArrayTypeDIE(DIE &Buffer, const DICompositeType *CTy);
340 void constructEnumTypeDIE(DIE &Buffer, const DICompositeType *CTy);
DCodeViewDebug.cpp1785 const auto *CTy = cast<DICompositeType>(Ty); in getCompleteTypeIndex() local
1786 auto InsertResult = CompleteTypeIndices.insert({CTy, TypeIndex()}); in getCompleteTypeIndex()
1795 TypeIndex FwdDeclTI = getTypeIndex(CTy); in getCompleteTypeIndex()
1800 if (CTy->isForwardDecl()) in getCompleteTypeIndex()
1804 switch (CTy->getTag()) { in getCompleteTypeIndex()
1807 TI = lowerCompleteTypeClass(CTy); in getCompleteTypeIndex()
1810 TI = lowerCompleteTypeUnion(CTy); in getCompleteTypeIndex()
DDwarfDebug.cpp1872 const DICompositeType *CTy) { in addDwarfTypeUnitType() argument
1879 auto Ins = TypeSignatures.insert(std::make_pair(CTy, 0)); in addDwarfTypeUnitType()
1893 std::make_pair(std::move(OwnedUnit), CTy)); in addDwarfTypeUnitType()
1910 NewTU.setType(NewTU.createTypeDIE(CTy)); in addDwarfTypeUnitType()
1930 CU.constructTypeDIE(RefDie, cast<DICompositeType>(CTy)); in addDwarfTypeUnitType()
/external/llvm-project/mlir/include/mlir/CAPI/
DWrap.h39 template <typename CppTy, typename CTy>
40 static llvm::ArrayRef<CppTy> unwrapList(size_t size, CTy *first, in unwrapList()
43 std::is_same<decltype(unwrap(std::declval<CTy>())), CppTy>::value, in unwrapList()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/FuzzMutate/
DOperations.cpp247 auto *CTy = cast<CompositeType>(Cur[0]->getType()); in validInsertValueIndex() local
250 CTy->getTypeAtIndex(CI->getZExtValue()) == Cur[1]->getType()) in validInsertValueIndex()
257 auto *CTy = cast<CompositeType>(Cur[0]->getType()); in validInsertValueIndex() local
258 for (int I = 0, E = getAggregateNumElements(CTy); I < E; ++I) in validInsertValueIndex()
259 if (CTy->getTypeAtIndex(I) == Cur[1]->getType()) in validInsertValueIndex()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineC.cpp135 QualType CTy = in VisitBinaryOperator() local
137 CTy = getContext().getCanonicalType(CTy); in VisitBinaryOperator()
149 SVal Result = svalBuilder.evalCast(evalBinOp(state, Op, V, RightV, CTy), in VisitBinaryOperator()
150 B->getType(), CTy); in VisitBinaryOperator()
164 Result = svalBuilder.evalCast(LHSVal, CTy, LTy); in VisitBinaryOperator()
169 LHSVal = svalBuilder.evalCast(Result, LTy, CTy); in VisitBinaryOperator()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DExprEngineC.cpp144 QualType CTy = in VisitBinaryOperator() local
146 CTy = getContext().getCanonicalType(CTy); in VisitBinaryOperator()
158 SVal Result = svalBuilder.evalCast(evalBinOp(state, Op, V, RightV, CTy), in VisitBinaryOperator()
159 B->getType(), CTy); in VisitBinaryOperator()
173 Result = svalBuilder.evalCast(LHSVal, CTy, LTy); in VisitBinaryOperator()
178 LHSVal = svalBuilder.evalCast(Result, LTy, CTy); in VisitBinaryOperator()
/external/llvm/lib/IR/
DDIBuilder.cpp418 auto *CTy = DICompositeType::get( in createEnumerationType() local
422 AllEnumTypes.push_back(CTy); in createEnumerationType()
423 trackIfUnresolved(CTy); in createEnumerationType()
424 return CTy; in createEnumerationType()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DDIBuilder.cpp509 auto *CTy = DICompositeType::get( in createEnumerationType() local
514 AllEnumTypes.push_back(CTy); in createEnumerationType()
515 trackIfUnresolved(CTy); in createEnumerationType()
516 return CTy; in createEnumerationType()

12