Home
last modified time | relevance | path

Searched refs:SourceType (Results 1 – 11 of 11) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/CodeGen/
DELF.h51 unsigned SourceType; member
53 bool isGlobalValue() const { return SourceType == isGV; } in isGlobalValue()
54 bool isExternalSym() const { return SourceType == isExtSym; } in isExternalSym()
59 assert(SourceType == isGV && "This is not a global value"); in getGlobalValue()
66 assert(SourceType == isExtSym && "This is not an external symbol"); in getExternalSymbol()
78 Sym->SourceType = isGV; in getGV()
90 Sym->SourceType = isExtSym; in getExtSym()
100 Sym->SourceType = isOther; in getSectionSym()
111 Sym->SourceType = isOther; in getFileSym()
123 Sym->SourceType = isGV; in getUndefGV()
[all …]
/external/swiftshader/third_party/subzero/src/
DPNaClTranslator.cpp1845 static bool isIntTruncCastValid(Ice::Type SourceType, Ice::Type TargetType) { in isIntTruncCastValid() argument
1846 return Ice::isIntegerType(SourceType) && Ice::isIntegerType(TargetType) && in isIntTruncCastValid()
1847 simplifyOutCommonVectorType(SourceType, TargetType) && in isIntTruncCastValid()
1848 getScalarIntBitWidth(SourceType) > getScalarIntBitWidth(TargetType); in isIntTruncCastValid()
1853 static bool isFloatTruncCastValid(Ice::Type SourceType, in isFloatTruncCastValid() argument
1855 return simplifyOutCommonVectorType(SourceType, TargetType) && in isFloatTruncCastValid()
1856 SourceType == Ice::IceType_f64 && TargetType == Ice::IceType_f32; in isFloatTruncCastValid()
1861 static bool isIntExtCastValid(Ice::Type SourceType, Ice::Type TargetType) { in isIntExtCastValid() argument
1862 return isIntTruncCastValid(TargetType, SourceType); in isIntExtCastValid()
1867 static bool isFloatExtCastValid(Ice::Type SourceType, Ice::Type TargetType) { in isFloatExtCastValid() argument
[all …]
/external/Microsoft-GSL/gsl/
Dmulti_span474 template <typename SourceType, typename TargetType>
476 : public std::integral_constant<bool, (SourceType::TotalSize >= TargetType::TotalSize ||
478 SourceType::TotalSize == dynamic_range ||
564 template <typename SourceType, typename TargetType, size_t Rank>
567 template <size_t Rank, typename SourceType, typename TargetType,
568 typename Ret = BoundsRangeConvertible2<typename SourceType::Base,
570 static auto helpBoundsRangeConvertible(SourceType, TargetType, std::true_type) -> Ret;
572 template <size_t Rank, typename SourceType, typename TargetType>
573 static auto helpBoundsRangeConvertible(SourceType, TargetType, ...) -> std::false_type;
575 template <typename SourceType, typename TargetType, size_t Rank>
[all …]
/external/clang/lib/Sema/
DSemaInit.cpp3634 QualType &SourceType, in ResolveOverloadedFunctionForReferenceBinding() argument
3649 SourceType = Fn->getType(); in ResolveOverloadedFunctionForReferenceBinding()
3650 UnqualifiedSourceType = SourceType.getUnqualifiedType(); in ResolveOverloadedFunctionForReferenceBinding()
4571 QualType SourceType = Initializer->getType(); in TryUserDefinedConversion() local
4572 assert((DestType->isRecordType() || SourceType->isRecordType()) && in TryUserDefinedConversion()
4623 if (const RecordType *SourceRecordType = SourceType->getAs<RecordType>()) { in TryUserDefinedConversion()
4629 if (S.isCompleteType(DeclLoc, SourceType)) { in TryUserDefinedConversion()
4979 QualType SourceType; in InitializeFrom() local
4991 SourceType = Initializer->getType(); in InitializeFrom()
5131 (Context.hasSameUnqualifiedType(SourceType, DestType) || in InitializeFrom()
[all …]
DSemaChecking.cpp7823 void DiagnoseImpCast(Sema &S, Expr *E, QualType SourceType, QualType T, in DiagnoseImpCast() argument
7829 << SourceType << T << E->getSourceRange() in DiagnoseImpCast()
7834 << SourceType << T << E->getSourceRange() << SourceRange(CContext); in DiagnoseImpCast()
8394 QualType SourceType = E->getType(); in CheckImplicitConversion() local
8399 SourceType = S.Context.getTypeDeclType(Enum); in CheckImplicitConversion()
8400 Source = S.Context.getCanonicalType(SourceType).getTypePtr(); in CheckImplicitConversion()
8412 return DiagnoseImpCast(S, E, SourceType, T, CC, in CheckImplicitConversion()
DSemaDeclCXX.cpp8473 const Type *SourceType = UD->getQualifier()->getAsType(); in CheckInheritingConstructorUsingDecl() local
8474 assert(SourceType && in CheckInheritingConstructorUsingDecl()
8480 auto *Base = findDirectBaseWithType(TargetClass, QualType(SourceType, 0), in CheckInheritingConstructorUsingDecl()
8486 << QualType(SourceType, 0) << TargetClass; in CheckInheritingConstructorUsingDecl()
/external/google-breakpad/src/testing/test/
Dgmock-actions_test.cc550 class SourceType { class
557 SourceType s; in TEST()
/external/googletest/googlemock/test/
Dgmock-actions_test.cc616 class SourceType { class
623 SourceType s; in TEST()
/external/v8/testing/gmock/test/
Dgmock-actions_test.cc616 class SourceType { class
623 SourceType s; in TEST()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp12562 EVT SourceType = MVT::Other; in reduceBuildVecExtToExtBuildVec() local
12575 SourceType = MVT::Other; in reduceBuildVecExtToExtBuildVec()
12583 if (SourceType == MVT::Other) in reduceBuildVecExtToExtBuildVec()
12585 SourceType = InTy; in reduceBuildVecExtToExtBuildVec()
12586 else if (InTy != SourceType) { in reduceBuildVecExtToExtBuildVec()
12588 SourceType = MVT::Other; in reduceBuildVecExtToExtBuildVec()
12600 bool ValidTypes = SourceType != MVT::Other && in reduceBuildVecExtToExtBuildVec()
12602 isPowerOf2_32(SourceType.getSizeInBits()); in reduceBuildVecExtToExtBuildVec()
12610 unsigned ElemRatio = OutScalarTy.getSizeInBits()/SourceType.getSizeInBits(); in reduceBuildVecExtToExtBuildVec()
12612 SDValue Filler = AllAnyExt ? DAG.getUNDEF(SourceType): in reduceBuildVecExtToExtBuildVec()
[all …]
/external/clang/lib/CodeGen/
DCGStmtOpenMP.cpp3042 QualType SourceType, QualType ResType, in convertToType() argument
3047 convertToScalarValue(CGF, Value, SourceType, ResType, Loc)); in convertToType()
3049 auto Res = convertToComplexValue(CGF, Value, SourceType, ResType, Loc); in convertToType()