Searched refs:dyn_cast_or_null (Results 26 - 50 of 169) sorted by relevance

1234567

/external/llvm/lib/Analysis/IPA/
H A DInlineCost.cpp600 if (Constant *C = dyn_cast_or_null<Constant>(SimpleV)) {
695 C = dyn_cast_or_null<Constant>(SimplifiedValues.lookup(*I));
772 Function *F = dyn_cast_or_null<Function>(SimplifiedValues.lookup(Callee));
804 dyn_cast_or_null<ConstantInt>(
1155 = dyn_cast_or_null<ConstantInt>(SimplifiedValues.lookup(Cond))) {
1163 = dyn_cast_or_null<ConstantInt>(SimplifiedValues.lookup(Cond))) {
/external/llvm/lib/Support/
H A DYAMLTraits.cpp110 MapHNode *MN = dyn_cast_or_null<MapHNode>(CurrentNode);
157 MapHNode *MN = dyn_cast_or_null<MapHNode>(CurrentNode);
/external/clang/include/clang/Sema/
H A DTypoCorrection.h137 return dyn_cast_or_null<DeclClass>(getCorrectionDecl());
/external/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp109 dyn_cast_or_null<FunctionDecl>(CGF.CurFuncDecl)) {
H A DCodeGenFunction.cpp508 if (auto *FD = dyn_cast_or_null<FunctionDecl>(F))
510 else if (auto *OMD = dyn_cast_or_null<ObjCMethodDecl>(F))
513 if (auto *CS = dyn_cast_or_null<CompoundStmt>(Body)) {
544 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D)) {
557 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D))
564 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D)) {
1215 dyn_cast_or_null<VariableArrayType>(
/external/clang/lib/Sema/
H A DSemaOpenMP.cpp489 if (auto D = dyn_cast_or_null<OMPExecutableDirective>(CurDirective)) {
549 if (VarDecl *VD = dyn_cast_or_null<VarDecl>(ND)) {
1396 if (auto Var = dyn_cast_or_null<VarDecl>(DS->getSingleDecl())) {
1423 if (auto *CE = dyn_cast_or_null<CXXConstructExpr>(E))
1428 auto DRE = dyn_cast_or_null<DeclRefExpr>(E);
1594 auto For = dyn_cast_or_null<ForStmt>(S);
1696 if (auto CapS = dyn_cast_or_null<CapturedStmt>(S))
1703 if (auto AS = dyn_cast_or_null<AttributedStmt>(S))
1705 else if (auto CS = dyn_cast_or_null<CompoundStmt>(S)) {
1795 while (CapturedStmt *CS = dyn_cast_or_null<CapturedStm
[all...]
H A DSemaDeclObjC.cpp273 ObjCMethodDecl *MDecl = dyn_cast_or_null<ObjCMethodDecl>(D);
307 ObjCMethodDecl *MDecl = dyn_cast_or_null<ObjCMethodDecl>(D);
474 ObjCInterfaceDecl* PrevIDecl = dyn_cast_or_null<ObjCInterfaceDecl>(PrevDecl);
539 dyn_cast_or_null<ObjCInterfaceDecl>(PrevDecl);
549 dyn_cast_or_null<TypedefNameDecl>(PrevDecl)) {
574 if (!dyn_cast_or_null<TypedefNameDecl>(PrevDecl)) {
619 if (const TypedefNameDecl *TDecl = dyn_cast_or_null<TypedefNameDecl>(IDecl)) {
647 dyn_cast_or_null<TypedefNameDecl>(CDeclU)) {
657 ObjCInterfaceDecl *CDecl = dyn_cast_or_null<ObjCInterfaceDecl>(CDeclU);
1028 } else if ((IDecl = dyn_cast_or_null<ObjCInterfaceDec
[all...]
H A DSema.cpp151 = dyn_cast_or_null<ExternalSemaSource>(Context.getExternalSource()))
235 = dyn_cast_or_null<ExternalSemaSource>(Context.getExternalSource()))
1311 dyn_cast_or_null<FunctionProtoType>(FunTy)) {
/external/clang/lib/StaticAnalyzer/Checkers/
H A DDereferenceChecker.cpp233 const TypedValueRegion *TVR = dyn_cast_or_null<TypedValueRegion>(MR);
/external/clang/lib/StaticAnalyzer/Core/
H A DSimpleConstraintManager.cpp76 if (const TypedRegion *TR = dyn_cast_or_null<TypedRegion>(MR))
H A DCallEvent.cpp104 const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(getDecl());
542 return dyn_cast_or_null<BlockDataRegion>(DataReg);
683 if (const PseudoObjectExpr *POE = dyn_cast_or_null<PseudoObjectExpr>(S)) {
H A DExprEngineC.cpp202 dyn_cast_or_null<BlockDataRegion>(V.getAsRegion())) {
248 if (const ExplicitCastExpr *ExCast=dyn_cast_or_null<ExplicitCastExpr>(CastE))
446 const VarDecl *VD = dyn_cast_or_null<VarDecl>(*DS->decl_begin());
H A DProgramState.cpp654 if (const Expr *E = dyn_cast_or_null<Expr>(S))
670 if (const SymbolicRegion *SR = dyn_cast_or_null<SymbolicRegion>(R))
689 if (const Expr *E = dyn_cast_or_null<Expr>(S))
H A DBugReporter.cpp1171 if (const Expr *X = dyn_cast_or_null<Expr>(L.asStmt()))
1262 if (const Expr *child = dyn_cast_or_null<Expr>(*CI)) {
1284 if (const CallExpr *CE = dyn_cast_or_null<CallExpr>(CallSite)) {
1421 if (const Expr *Ex = dyn_cast_or_null<Expr>(S)) {
1626 dyn_cast_or_null<ObjCForCollectionStmt>(S))
1729 if (const Expr *Ex = dyn_cast_or_null<Expr>(S)) {
1813 if (const CompoundStmt *CS = dyn_cast_or_null<CompoundStmt>(Body)) {
2480 dyn_cast_or_null<ObjCForCollectionStmt>(level3);
2728 if (const Expr *E = dyn_cast_or_null<Expr>(getStmt()))
3571 if (const NamedDecl *ND = dyn_cast_or_null<NamedDec
[all...]
/external/llvm/lib/Transforms/Instrumentation/
H A DBoundsChecking.cpp101 ConstantInt *C = dyn_cast_or_null<ConstantInt>(Cmp);
/external/clang/lib/Analysis/
H A DThreadSafety.cpp282 const ParmVarDecl *PV = dyn_cast_or_null<ParmVarDecl>(ND);
1162 if (const auto *VD = dyn_cast_or_null<VarDecl>(D)) {
1636 if (CXXBoolLiteralExpr *BLE = dyn_cast_or_null<CXXBoolLiteralExpr>(BrE))
1638 else if (IntegerLiteral *ILE = dyn_cast_or_null<IntegerLiteral>(BrE))
1757 NamedDecl *FunDecl = dyn_cast_or_null<NamedDecl>(Exp->getCalleeDecl());
2195 NamedDecl *D = dyn_cast_or_null<NamedDecl>(Exp->getCalleeDecl());
2215 if (VarDecl *VD = dyn_cast_or_null<VarDecl>(D)) {
2218 if (ExprWithCleanups *EWC = dyn_cast_or_null<ExprWithCleanups>(E))
2221 if (CXXConstructExpr *CE = dyn_cast_or_null<CXXConstructExpr>(E)) {
2222 NamedDecl *CtorD = dyn_cast_or_null<NamedDec
[all...]
H A DThreadSafetyCommon.cpp170 if (const ParmVarDecl *PV = dyn_cast_or_null<ParmVarDecl>(VD)) {
408 if (VarDecl *VD = dyn_cast_or_null<VarDecl>(*I)) {
607 til::Phi *Ph = dyn_cast_or_null<til::Phi>(V->definition());
/external/clang/tools/libclang/
H A DCIndex.cpp3481 if (const LabelStmt *Label = dyn_cast_or_null<LabelStmt>(S))
3528 if (const LabelStmt *Label = dyn_cast_or_null<LabelStmt>(S)) {
3539 ME = dyn_cast_or_null<ObjCMessageExpr>(getCursorExpr(C))) {
3549 MD = dyn_cast_or_null<ObjCMethodDecl>(getCursorDecl(C))) {
3561 CD = dyn_cast_or_null<ObjCCategoryDecl>(getCursorDecl(C)))
3564 CID = dyn_cast_or_null<ObjCCategoryImplDecl>(getCursorDecl(C)))
3572 dyn_cast_or_null<ImportDecl>(getCursorDecl(C))) {
4049 = dyn_cast_or_null<ObjCMethodDecl>(getCursorDecl(cursor))) {
4054 = dyn_cast_or_null<ObjCInterfaceDecl>(getCursorDecl(cursor))) {
4064 = dyn_cast_or_null<ObjCInterfaceDec
[all...]
/external/llvm/lib/Transforms/Utils/
H A DCloneFunction.cpp364 Cond = dyn_cast_or_null<ConstantInt>(V);
380 Cond = dyn_cast_or_null<ConstantInt>(V);
/external/llvm/include/llvm/Support/
H A DCasting.h11 // and dyn_cast_or_null<X>() templates.
281 // dyn_cast_or_null<X> - Functionally identical to dyn_cast, except that a null
286 dyn_cast_or_null(Y *Val) { function in namespace:llvm
/external/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1049 MDNode *MD = dyn_cast_or_null<MDNode>(MDValueList.getValueFwdRef(Record[i]));
1132 if (Constant *C = dyn_cast_or_null<Constant>(ValueList[ValID]))
1145 if (Constant *C = dyn_cast_or_null<Constant>(ValueList[ValID]))
1158 if (Constant *C = dyn_cast_or_null<Constant>(ValueList[ValID]))
1446 dyn_cast_or_null<VectorType>(getTypeByID(Record[0]));
1499 dyn_cast_or_null<VectorType>(getTypeByID(Record[0]));
1582 dyn_cast_or_null<Function>(ValueList.getConstantFwdRef(Record[1],FnTy));
2720 dyn_cast_or_null<ConstantInt>(getFnValueByID(Record[3+i*2], OpTy));
2889 dyn_cast_or_null<PointerType>(getTypeByID(Record[0]));
3140 if ((A = dyn_cast_or_null<Argumen
[all...]
/external/clang/include/clang/AST/
H A DASTContext.h1884 return dyn_cast_or_null<ConstantArrayType>(getAsArrayType(T));
1887 return dyn_cast_or_null<VariableArrayType>(getAsArrayType(T));
1890 return dyn_cast_or_null<IncompleteArrayType>(getAsArrayType(T));
1894 return dyn_cast_or_null<DependentSizedArrayType>(getAsArrayType(T));
/external/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyCommon.h99 if (!dyn_cast_or_null<NamedDecl>(AC.getDecl()))
/external/clang/lib/ARCMigrate/
H A DTransAutoreleasePool.cpp362 if (ObjCMessageExpr *recME = dyn_cast_or_null<ObjCMessageExpr>(rec)) {
/external/clang/lib/AST/
H A DNSAPI.cpp413 EnumD = dyn_cast_or_null<EnumConstantDecl>(DRE->getDecl()))

Completed in 1213 milliseconds

1234567