Home
last modified time | relevance | path

Searched refs:CastKind (Results 1 – 25 of 76) sorted by relevance

1234

/external/clang/include/clang/AST/
DOperationKinds.h21 enum CastKind { enum
26 static const CastKind CK_Invalid = static_cast<CastKind>(-1);
DExprCXX.h211 CastKind kind, Expr *op, unsigned PathSize, in CXXNamedCastExpr()
257 CXXStaticCastExpr(QualType ty, ExprValueKind vk, CastKind kind, Expr *op, in CXXStaticCastExpr()
269 ExprValueKind VK, CastKind K, Expr *Op,
293 CXXDynamicCastExpr(QualType ty, ExprValueKind VK, CastKind kind, in CXXDynamicCastExpr()
305 ExprValueKind VK, CastKind Kind, Expr *Op,
336 CXXReinterpretCastExpr(QualType ty, ExprValueKind vk, CastKind kind, in CXXReinterpretCastExpr()
349 ExprValueKind VK, CastKind Kind,
1403 CastKind kind, Expr *castExpr, unsigned pathSize, in CXXFunctionalCastExpr()
1416 CastKind Kind, Expr *Op,
DExpr.h2650 CastExpr(StmtClass SC, QualType ty, ExprValueKind VK, const CastKind kind, in CastExpr()
2680 CastKind getCastKind() const { return (CastKind) CastExprBits.Kind; } in getCastKind()
2681 void setCastKind(CastKind K) { CastExprBits.Kind = K; } in setCastKind()
2738 ImplicitCastExpr(QualType ty, CastKind kind, Expr *op, in ImplicitCastExpr()
2749 ImplicitCastExpr(OnStack_t _, QualType ty, CastKind kind, Expr *op, in ImplicitCastExpr()
2755 CastKind Kind, Expr *Operand,
2807 CastKind kind, Expr *op, unsigned PathSize, in ExplicitCastExpr()
2840 CStyleCastExpr(QualType exprTy, ExprValueKind vk, CastKind kind, Expr *op, in CStyleCastExpr()
2852 ExprValueKind VK, CastKind K,
/external/clang/lib/Sema/
DSemaCast.cpp70 CastKind Kind;
159 CastKind &Kind,
166 CastKind &Kind,
172 CastKind &Kind,
179 CastKind &Kind,
186 CastKind &Kind,
193 unsigned &msg, CastKind &Kind,
199 unsigned &msg, CastKind &Kind,
209 CastKind &Kind);
949 CastKind &Kind, CXXCastPath &BasePath, in TryStaticCast()
[all …]
DSemaExprCXX.cpp3178 CastKind Kind, in BuildCXXCastArgument()
3258 CastKind CastKind; in PerformImplicitConversion() local
3262 CastKind = CK_UserDefinedConversion; in PerformImplicitConversion()
3270 CastKind = CK_ConstructorConversion; in PerformImplicitConversion()
3294 CastKind, cast<CXXMethodDecl>(FD), in PerformImplicitConversion()
3489 CastKind CK; in PerformImplicitConversion()
3551 CastKind Kind = CK_Invalid; in PerformImplicitConversion()
3571 CastKind Kind = CK_Invalid; in PerformImplicitConversion()
5676 CastKind ck = (ReturnsRetained ? CK_ARCConsumeObject in MaybeBindToTemporary()
/external/llvm-project/clang/include/clang/AST/
DOperationKinds.h20 enum CastKind { enum
DExprCXX.h377 CXXNamedCastExpr(StmtClass SC, QualType ty, ExprValueKind VK, CastKind kind, in CXXNamedCastExpr()
425 CXXStaticCastExpr(QualType ty, ExprValueKind vk, CastKind kind, Expr *op, in CXXStaticCastExpr()
450 Create(const ASTContext &Context, QualType T, ExprValueKind VK, CastKind K,
470 CXXDynamicCastExpr(QualType ty, ExprValueKind VK, CastKind kind, Expr *op, in CXXDynamicCastExpr()
487 ExprValueKind VK, CastKind Kind, Expr *Op,
515 CXXReinterpretCastExpr(QualType ty, ExprValueKind vk, CastKind kind, Expr *op, in CXXReinterpretCastExpr()
532 ExprValueKind VK, CastKind Kind,
593 CXXAddrspaceCastExpr(QualType ty, ExprValueKind VK, CastKind Kind, Expr *op, in CXXAddrspaceCastExpr()
609 Create(const ASTContext &Context, QualType T, ExprValueKind VK, CastKind Kind,
1724 TypeSourceInfo *writtenTy, CastKind kind, in CXXFunctionalCastExpr()
[all …]
DExpr.h3410 CastExpr(StmtClass SC, QualType ty, ExprValueKind VK, const CastKind kind, in CastExpr()
3442 CastKind getCastKind() const { return (CastKind) CastExprBits.Kind; } in getCastKind()
3443 void setCastKind(CastKind K) { CastExprBits.Kind = K; } in setCastKind()
3445 static const char *getCastKindName(CastKind CK);
3547 ImplicitCastExpr(QualType ty, CastKind kind, Expr *op, in ImplicitCastExpr()
3567 ImplicitCastExpr(OnStack_t _, QualType ty, CastKind kind, Expr *op, in ImplicitCastExpr()
3581 CastKind Kind, Expr *Operand,
3626 CastKind kind, Expr *op, unsigned PathSize, in ExplicitCastExpr()
3662 CStyleCastExpr(QualType exprTy, ExprValueKind vk, CastKind kind, Expr *op, in CStyleCastExpr()
3683 Create(const ASTContext &Context, QualType T, ExprValueKind VK, CastKind K,
/external/llvm-project/clang/lib/Sema/
DSemaCast.cpp76 CastKind Kind;
206 CastKind &Kind,
213 CastKind &Kind,
219 CastKind &Kind,
226 CastKind &Kind,
233 CastKind &Kind,
240 unsigned &msg, CastKind &Kind,
246 unsigned &msg, CastKind &Kind,
255 CastKind &Kind);
258 unsigned &msg, CastKind &Kind);
[all …]
/external/swiftshader/third_party/subzero/src/
DPNaClTranslator.cpp1916 Ice::InstCast::OpKind &CastKind) { in convertCastOpToIceOp() argument
1924 CastKind = Ice::InstCast::Bitcast; in convertCastOpToIceOp()
1928 CastKind = Ice::InstCast::Trunc; in convertCastOpToIceOp()
1932 CastKind = Ice::InstCast::Zext; in convertCastOpToIceOp()
1936 CastKind = Ice::InstCast::Sext; in convertCastOpToIceOp()
1940 CastKind = Ice::InstCast::Fptoui; in convertCastOpToIceOp()
1944 CastKind = Ice::InstCast::Fptosi; in convertCastOpToIceOp()
1948 CastKind = Ice::InstCast::Uitofp; in convertCastOpToIceOp()
1952 CastKind = Ice::InstCast::Sitofp; in convertCastOpToIceOp()
1956 CastKind = Ice::InstCast::Fptrunc; in convertCastOpToIceOp()
[all …]
DIceInst.h488 static InstCast *create(Cfg *Func, OpKind CastKind, Variable *Dest, in create() argument
491 InstCast(Func, CastKind, Dest, Source); in create()
493 OpKind getCastKind() const { return CastKind; } in getCastKind()
499 InstCast(Cfg *Func, OpKind CastKind, Variable *Dest, Operand *Source);
501 const OpKind CastKind; variable
DIceInst.cpp349 InstCast::InstCast(Cfg *Func, OpKind CastKind, Variable *Dest, Operand *Source) in InstCast() argument
350 : InstHighLevel(Func, Inst::Cast, 1, Dest), CastKind(CastKind) { in InstCast()
DIceTargetLoweringARM32.cpp511 InstCast::OpKind CastKind; in genTargetHelperCallFor() local
518 CastKind = InstCast::Zext; in genTargetHelperCallFor()
522 CastKind = InstCast::Sext; in genTargetHelperCallFor()
526 CastKind = InstCast::Zext; in genTargetHelperCallFor()
530 CastKind = InstCast::Sext; in genTargetHelperCallFor()
546 Context.insert<InstCast>(CastKind, Src0_32, Src0); in genTargetHelperCallFor()
556 if (CastKind == InstCast::Zext) { in genTargetHelperCallFor()
564 Context.insert<InstCast>(CastKind, Src1_32, Src1); in genTargetHelperCallFor()
605 const InstCast::OpKind CastKind = CastInstr->getCastKind(); in genTargetHelperCallFor() local
607 switch (CastKind) { in genTargetHelperCallFor()
[all …]
DIceTargetLoweringMIPS32.cpp424 const InstCast::OpKind CastKind = CastInstr->getCastKind(); in genTargetHelperCallFor() local
438 Context.insert<InstCast>(CastKind, Dst, Op); in genTargetHelperCallFor()
447 switch (CastKind) { in genTargetHelperCallFor()
456 const bool DestIsSigned = CastKind == InstCast::Fptosi; in genTargetHelperCallFor()
485 const bool SourceIsSigned = CastKind == InstCast::Sitofp; in genTargetHelperCallFor()
3124 InstCast::OpKind CastKind; in lowerBr() local
3132 CastKind = InstCast::Sext; in lowerBr()
3135 CastKind = InstCast::Zext; in lowerBr()
3140 lowerCast(InstCast::create(Func, CastKind, Src0R, Src0RT)); in lowerBr()
3141 lowerCast(InstCast::create(Func, CastKind, Src1R, Src1RT)); in lowerBr()
[all …]
DIceConverter.cpp399 Ice::InstCast::OpKind CastKind) { in convertCastInstruction() argument
402 return Ice::InstCast::create(Func.get(), CastKind, Dest, Src); in convertCastInstruction()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DPointerArithChecker.cpp259 if (CE->getCastKind() != CastKind::CK_BitCast) in checkPostStmt()
277 if (CE->getCastKind() != CastKind::CK_ArrayToPointerDecay) in checkPreStmt()
/external/clang/lib/ASTMatchers/Dynamic/
DMarshallers.h99 template <> struct ArgTypeTraits<clang::CastKind> {
101 static clang::CastKind getCastKind(llvm::StringRef AttrKind) {
102 return llvm::StringSwitch<clang::CastKind>(AttrKind)
113 static clang::CastKind get(const VariantValue &Value) {
/external/clang/lib/StaticAnalyzer/Checkers/
DPointerArithChecker.cpp262 if (CE->getCastKind() != CastKind::CK_BitCast) in checkPostStmt()
280 if (CE->getCastKind() != CastKind::CK_ArrayToPointerDecay) in checkPreStmt()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DUseEmplaceCheck.cpp75 hasParent(implicitCastExpr(hasCastKind(CastKind::CK_DerivedToBase))); in registerMatchers()
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/
DMarshallers.h189 template <> struct ArgTypeTraits<CastKind> {
191 static Optional<CastKind> getCastKind(llvm::StringRef AttrKind) {
192 return llvm::StringSwitch<Optional<CastKind>>(AttrKind)
206 static CastKind get(const VariantValue &Value) {
DMarshallers.cpp77 clang::CastKind>::getBestGuess(const VariantValue &Value) { in getBestGuess()
/external/clang/lib/AST/
DExprCXX.cpp512 CastKind K, Expr *Op, in Create()
537 CastKind K, Expr *Op, in Create()
595 ExprValueKind VK, CastKind K, Expr *Op, in Create()
632 TypeSourceInfo *Written, CastKind K, Expr *Op, in Create()
/external/llvm-project/clang/lib/AST/
DExprCXX.cpp707 CastKind K, Expr *Op, const CXXCastPath *BasePath, in Create()
734 CastKind K, Expr *Op, in Create()
792 ExprValueKind VK, CastKind K, Expr *Op, in Create()
829 CastKind K, Expr *Op, TypeSourceInfo *WrittenTy, in Create()
842 CastKind K, Expr *Op, const CXXCastPath *BasePath, FPOptionsOverride FPO, in Create()
/external/llvm-project/clang/lib/Analysis/
DBodyFarm.cpp87 CastKind CK = CK_LValueToRValue);
167 CastKind CK) { in makeImplicitCast()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DImplicitBoolConversionCheck.cpp42 StringRef getZeroLiteralToCompareWithForType(CastKind CastExprKind, in getZeroLiteralToCompareWithForType()

1234