/external/clang/lib/ARCMigrate/ |
D | TransUnbridgedCasts.cpp | 89 if (E->getCastKind() != CK_CPointerToObjCPointerCast && in VisitCastExpr() 90 E->getCastKind() != CK_BitCast && in VisitCastExpr() 91 E->getCastKind() != CK_AnyPointerToBlockPointerCast) in VisitCastExpr() 397 if (implCE->getCastKind() == CK_ARCConsumeObject) in transformObjCToNonObjCCast() 399 if (implCE->getCastKind() == CK_ARCReclaimReturnedObject) in transformObjCToNonObjCCast()
|
D | TransBlockObjCVariable.cpp | 55 if (castE->getCastKind() == CK_LValueToRValue) in TraverseImplicitCastExpr() 57 if (castE->getCastKind() == CK_NoOp && castE->isLValue() && in TraverseImplicitCastExpr()
|
D | Transforms.cpp | 113 while (implCE && implCE->getCastKind() == CK_BitCast) in isPlusOne() 116 return implCE && implCE->getCastKind() == CK_ARCConsumeObject; in isPlusOne()
|
/external/clang/lib/AST/ |
D | Expr.cpp | 62 if ((CE->getCastKind() == CK_DerivedToBase || in skipRValueSubobjectAdjustments() 63 CE->getCastKind() == CK_UncheckedDerivedToBase) && in skipRValueSubobjectAdjustments() 72 if (CE->getCastKind() == CK_NoOp) { in skipRValueSubobjectAdjustments() 1486 switch (getCastKind()) { in CastConsistency() 1598 switch (getCastKind()) { in getCastKindName() 1622 if (E->getCastKind() == CK_ConstructorConversion) in getSubExprAsWritten() 1624 else if (E->getCastKind() == CK_UserDefinedConversion) { in getSubExprAsWritten() 2162 if (CE->getCastKind() == CK_ToVoid) { in isUnusedResultAWarning() 2178 if (CE->getCastKind() == CK_ConstructorConversion) in isUnusedResultAWarning() 2197 if (ICE->getCastKind() == CK_LValueToRValue && in isUnusedResultAWarning() [all …]
|
D | ExprConstant.cpp | 4479 switch (E->getCastKind()) { in VisitCastExpr() 4671 switch (E->getCastKind()) { in VisitCastExpr() 4753 switch (E->getCastKind()) { in VisitCastExpr() 5114 switch (E->getCastKind()) { in VisitCastExpr() 5356 switch (E->getCastKind()) { in VisitCastExpr() 5522 switch (E->getCastKind()) { in VisitCastExpr() 5797 switch (E->getCastKind()) { in VisitCastExpr() 5875 switch (E->getCastKind()) { in VisitCastExpr() 6597 auto CastKind = Cast->getCastKind(); in ignorePointerCastsAndParens() 8024 switch (E->getCastKind()) { in VisitCastExpr() [all …]
|
/external/clang/lib/CodeGen/ |
D | CGCXXABI.cpp | 266 assert(E->getCastKind() == CK_DerivedToBaseMemberPointer || in getMemberPointerAdjustment() 267 E->getCastKind() == CK_BaseToDerivedMemberPointer); in getMemberPointerAdjustment() 270 if (E->getCastKind() == CK_DerivedToBaseMemberPointer) in getMemberPointerAdjustment()
|
D | CGExprAgg.cpp | 566 if (castE->getCastKind() == kind) in findPeephole() 568 if (castE->getCastKind() == CK_NoOp) in findPeephole() 578 switch (E->getCastKind()) { in VisitCastExpr() 621 bool isToAtomic = (E->getCastKind() == CK_NonAtomicToAtomic); in VisitCastExpr() 840 if (cast->getCastKind() == CK_LValueToRValue) in isBlockVarRef() 1052 return ICE->getCastKind() == CK_NullToPointer; in isSimpleZero()
|
D | ItaniumCXXABI.cpp | 658 assert(E->getCastKind() == CK_DerivedToBaseMemberPointer || in EmitMemberPointerConversion() 659 E->getCastKind() == CK_BaseToDerivedMemberPointer || in EmitMemberPointerConversion() 660 E->getCastKind() == CK_ReinterpretMemberPointer); in EmitMemberPointerConversion() 663 if (E->getCastKind() == CK_ReinterpretMemberPointer) return src; in EmitMemberPointerConversion() 673 bool isDerivedToBase = (E->getCastKind() == CK_DerivedToBaseMemberPointer); in EmitMemberPointerConversion() 713 assert(E->getCastKind() == CK_DerivedToBaseMemberPointer || in EmitMemberPointerConversion() 714 E->getCastKind() == CK_BaseToDerivedMemberPointer || in EmitMemberPointerConversion() 715 E->getCastKind() == CK_ReinterpretMemberPointer); in EmitMemberPointerConversion() 718 if (E->getCastKind() == CK_ReinterpretMemberPointer) return src; in EmitMemberPointerConversion() 724 bool isDerivedToBase = (E->getCastKind() == CK_DerivedToBaseMemberPointer); in EmitMemberPointerConversion()
|
D | CGExprComplex.cpp | 154 return EmitCast(E->getCastKind(), E->getSubExpr(), E->getType()); in VisitImplicitCastExpr() 159 return EmitCast(E->getCastKind(), E->getSubExpr(), E->getType()); in VisitCastExpr()
|
D | MicrosoftCXXABI.cpp | 2984 assert(E->getCastKind() == CK_DerivedToBaseMemberPointer || in EmitMemberPointerConversion() 2985 E->getCastKind() == CK_BaseToDerivedMemberPointer || in EmitMemberPointerConversion() 2986 E->getCastKind() == CK_ReinterpretMemberPointer); in EmitMemberPointerConversion() 3000 bool IsReinterpret = E->getCastKind() == CK_ReinterpretMemberPointer; in EmitMemberPointerConversion() 3032 SrcTy, DstTy, E->getCastKind(), E->path_begin(), E->path_end(), Src, in EmitMemberPointerConversion() 3194 CastKind CK = E->getCastKind(); in EmitMemberPointerConversion()
|
D | CGObjC.cpp | 284 if (!ice || ice->getCastKind() != CK_LValueToRValue) return true; in shouldExtendReceiverForInnerPointerMessage() 332 if (CE->getCastKind() == CK_LValueToRValue) { in findWeakLValue() 2558 switch (cast->getCastKind()) { in shouldEmitSeparateBlockRetain() 2672 switch (e->getCastKind()) { in visitCastExpr()
|
D | CGExpr.cpp | 729 if (CE->getCastKind() == CK_ArrayToPointerDecay && in getArrayIndexingBound() 832 switch (CE->getCastKind()) { in EmitPointerWithAlignment() 853 CE->getCastKind() == CK_BitCast) { in EmitPointerWithAlignment() 2795 if (!CE || CE->getCastKind() != CK_ArrayToPointerDecay) in isSimpleArrayDecayOperand() 3565 switch (E->getCastKind()) { in EmitCastLValue()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | PointerArithChecker.cpp | 262 if (CE->getCastKind() != CastKind::CK_BitCast) in checkPostStmt() 280 if (CE->getCastKind() != CastKind::CK_ArrayToPointerDecay) in checkPreStmt()
|
D | DynamicTypeChecker.cpp | 166 if (CE->getCastKind() != CK_BitCast) in checkPostStmt()
|
D | StackAddrEscapeChecker.cpp | 163 ICE->getCastKind() == CK_CopyAndAutoreleaseBlockObject) { in checkPreStmt()
|
D | DynamicTypePropagation.cpp | 524 if (CE->getCastKind() != CK_BitCast) in checkPostStmt()
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Marshallers.h | 101 static clang::CastKind getCastKind(llvm::StringRef AttrKind) { 111 getCastKind(Value.getString()) != CK_Invalid; 114 return getCastKind(Value.getString());
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngineC.cpp | 255 if (CastE->getCastKind() == CK_LValueToRValue) { in VisitCast() 281 switch (CastE->getCastKind()) { in VisitCast() 349 if (CastE->getCastKind() == CK_BooleanToSignedIntegral) in VisitCast()
|
D | SValBuilder.cpp | 295 switch (CE->getCastKind()) { in getConstantVal()
|
D | ExprEngine.cpp | 213 if (CE->getCastKind() == CK_DerivedToBase || in createTemporaryRegionIfNeeded() 214 CE->getCastKind() == CK_UncheckedDerivedToBase) in createTemporaryRegionIfNeeded() 216 else if (CE->getCastKind() != CK_NoOp) in createTemporaryRegionIfNeeded() 2054 if (!PE || PE->getCastKind() != CK_ArrayToPointerDecay) { in VisitMemberExpr()
|
/external/clang/lib/Analysis/ |
D | UninitializedValues.cpp | 281 if (CE->getCastKind() == CK_LValueBitCast) { in stripCasts() 473 if (CE->getCastKind() == CK_LValueToRValue) in VisitCastExpr()
|
/external/clang/lib/Index/ |
D | IndexBody.cpp | 62 if (ICE->getCastKind() == CK_LValueToRValue) in getRolesForRef()
|
/external/clang/lib/Edit/ |
D | RewriteObjCFoundationAPI.cpp | 946 if (ICE->getCastKind() != CK_CPointerToObjCPointerCast) in objectifyExpr() 1000 switch (ICE->getCastKind()) { in rewriteToNumericBoxedExpression()
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 5139 if (ICE->getCastKind() == CK_IntegralCast || in checkFormatExpr() 5140 ICE->getCastKind() == CK_FloatingCast) { in checkFormatExpr() 6701 switch (cast<CastExpr>(E)->getCastKind()) { in EvalAddr() 7125 if (CE->getCastKind() == CK_NoOp || CE->getCastKind() == CK_LValueToRValue) in GetExprRange() 7130 bool isIntegerCast = CE->getCastKind() == CK_IntegralCast || in GetExprRange() 7131 CE->getCastKind() == CK_BooleanToSignedIntegral; in GetExprRange() 7393 if (ICE->getCastKind() != CK_IntegralCast && in HasEnumType() 7394 ICE->getCastKind() != CK_NoOp) in HasEnumType() 8046 if (ICE->getCastKind() == CK_BitCast && in checkObjCCollectionLiteralElement() 9138 if (E->getCastKind() == CK_LValueToRValue) in VisitCastExpr() [all …]
|
/external/swiftshader/third_party/subzero/src/ |
D | IceTargetLoweringARM32.cpp | 606 const InstCast::OpKind CastKind = CastInstr->getCastKind(); in genTargetHelperCallFor() 3597 assert(CastProducer->getCastKind() == InstCast::Trunc); in lowerInt1ForBranch() 3895 InstCast::OpKind CastKind = Instr->getCastKind(); in lowerCast() 6752 assert(CastProducer->getCastKind() == InstCast::Trunc); in lowerInt1ForSelect() 6853 assert(CastProducer->getCastKind() == InstCast::Trunc); in lowerInt1() 6884 switch (llvm::cast<InstCast>(&Instr)->getCastKind()) { in shouldTrackProducer() 6912 switch (llvm::cast<InstCast>(&Instr)->getCastKind()) { in isValidConsumer()
|