Home
last modified time | relevance | path

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

12

/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()
DSema.cpp369 CastKind Kind, ExprValueKind VK, in ImpCastExprToType()
409 CastKind Sema::ScalarTypeToBooleanCastKind(QualType ScalarTy) { in ScalarTypeToBooleanCastKind()
DSemaExpr.cpp5606 CastKind Sema::PrepareCastToObjCObjectPointer(ExprResult &E) { in PrepareCastToObjCObjectPointer()
5621 CastKind Sema::PrepareScalarCast(ExprResult &Src, QualType DestTy) { in PrepareScalarCast()
5849 CastKind &Kind) { in CheckVectorCast()
5877 CastKind CK; in prepareVectorSplat()
5902 Expr *CastExpr, CastKind &Kind) { in CheckExtVectorCast()
7298 CastKind K = CK_Invalid; in CheckAssignmentConstraints()
7322 CastKind &Kind, bool ConvertRHS) { in CheckAssignmentConstraints()
7660 CastKind Kind = CK_Invalid; in CheckTransparentUnionArgumentConstraints()
7742 CastKind Kind; in CheckSingleAssignmentConstraints()
7774 CastKind Kind = CK_Invalid; in CheckSingleAssignmentConstraints()
[all …]
DSemaStmtAsm.cpp532 CastKind castKind = in ActOnGCCAsmStmt()
/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.h481 static InstCast *create(Cfg *Func, OpKind CastKind, Variable *Dest, in create() argument
484 InstCast(Func, CastKind, Dest, Source); in create()
486 OpKind getCastKind() const { return CastKind; } in getCastKind()
492 InstCast(Cfg *Func, OpKind CastKind, Variable *Dest, Operand *Source);
494 const OpKind CastKind; variable
DIceInst.cpp357 InstCast::InstCast(Cfg *Func, OpKind CastKind, Variable *Dest, Operand *Source) in InstCast() argument
358 : InstHighLevel(Func, Inst::Cast, 1, Dest), CastKind(CastKind) { in InstCast()
DIceTargetLoweringARM32.cpp512 InstCast::OpKind CastKind; in genTargetHelperCallFor() local
519 CastKind = InstCast::Zext; in genTargetHelperCallFor()
523 CastKind = InstCast::Sext; in genTargetHelperCallFor()
527 CastKind = InstCast::Zext; in genTargetHelperCallFor()
531 CastKind = InstCast::Sext; in genTargetHelperCallFor()
547 Context.insert<InstCast>(CastKind, Src0_32, Src0); in genTargetHelperCallFor()
557 if (CastKind == InstCast::Zext) { in genTargetHelperCallFor()
565 Context.insert<InstCast>(CastKind, Src1_32, Src1); in genTargetHelperCallFor()
606 const InstCast::OpKind CastKind = CastInstr->getCastKind(); in genTargetHelperCallFor() local
608 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()
3139 InstCast::OpKind CastKind; in lowerBr() local
3147 CastKind = InstCast::Sext; in lowerBr()
3150 CastKind = InstCast::Zext; in lowerBr()
3155 lowerCast(InstCast::create(Func, CastKind, Src0R, Src0RT)); in lowerBr()
3156 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/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/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/clang/include/clang/Sema/
DSema.h2289 CastKind PrepareCastToObjCObjectPointer(ExprResult &E);
2291 CastKind &Kind,
2299 CastKind &Kind,
4022 CastKind PrepareScalarCast(ExprResult &src, QualType destType);
7679 CastKind &Kind);
8509 ExprResult ImpCastExprToType(Expr *E, QualType Type, CastKind CK,
8517 static CastKind ScalarTypeToBooleanCastKind(QualType ScalarTy);
8713 CastKind &Kind,
8874 Expr *CastExpr, CastKind &CastKind,
8891 CastKind &Kind);
[all …]
/external/clang/lib/CodeGen/
DCGExprComplex.cpp150 ComplexPairTy EmitCast(CastKind CK, Expr *Op, QualType DestTy);
423 ComplexPairTy ComplexExprEmitter::EmitCast(CastKind CK, Expr *Op, in EmitCast()
DCGExprAgg.cpp562 static Expr *findPeephole(Expr *op, CastKind kind) { in findPeephole()
638 CastKind peepholeTarget = in VisitCastExpr()
DMicrosoftCXXABI.cpp647 CastKind CK, CastExpr::path_const_iterator PathBegin,
660 CastKind CK, CastExpr::path_const_iterator PathBegin,
2661 CastKind CK = DerivedMember ? CK_DerivedToBaseMemberPointer in EmitMemberPointer()
3046 const MemberPointerType *SrcTy, const MemberPointerType *DstTy, CastKind CK, in EmitNonNullMemberPointerConversion()
3194 CastKind CK = E->getCastKind(); in EmitMemberPointerConversion()
3201 const MemberPointerType *SrcTy, const MemberPointerType *DstTy, CastKind CK, in EmitMemberPointerConversion()
/external/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp586 CastKind Kind, Expr *E) { in NoTypeInfoCStyleCastExpr()
2655 CastKind CK = CK_BitCast; in RewriteObjCBoxedExpr()
3413 CastKind CK = recExpr->getType()->isObjCObjectPointerType() in SynthMessageExpr()
3444 CastKind CK; in SynthMessageExpr()
3467 CastKind CK; in SynthMessageExpr()
4765 CastKind CastKind = IC->getCastKind(); in RewriteImplicitCastObjCExpr() local
4766 if (CastKind != CK_BlockPointerToObjCPointerCast && in RewriteImplicitCastObjCExpr()
4767 CastKind != CK_AnyPointerToBlockPointerCast) in RewriteImplicitCastObjCExpr()
DRewriteObjC.cpp492 CastKind Kind, Expr *E) { in NoTypeInfoCStyleCastExpr()
1684 CastKind CK = syncExpr->getType()->isObjCObjectPointerType() in RewriteObjCSynchronizedStmt()
2833 CastKind CK = recExpr->getType()->isObjCObjectPointerType() in SynthMessageExpr()
2864 CastKind CK; in SynthMessageExpr()
2887 CastKind CK; in SynthMessageExpr()
/external/libcxxabi/src/demangle/
DItaniumDemangle.h1578 const StringView CastKind; variable
1584 : Node(KCastExpr), CastKind(CastKind_), To(To_), From(From_) {} in CastExpr()
1586 template<typename Fn> void match(Fn F) const { F(CastKind, To, From); } in match()
1589 S += CastKind; in printLeft()
/external/clang/lib/Analysis/
DThreadSafetyCommon.cpp538 clang::CastKind K = CE->getCastKind(); in translateCastExpr()

12