HomeSort by relevance Sort by last modified time
    Searched full:dyn_cast_or_null (Results 1 - 25 of 560) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/swiftshader/third_party/LLVM/unittests/Support/
Casting.cpp 59 return dyn_cast_or_null<foo>(this);
128 TEST(CastingTest, dyn_cast_or_null) {
129 const foo *F1 = dyn_cast_or_null<foo>(B2);
131 const foo *F2 = dyn_cast_or_null<foo>(B2);
133 const foo *F3 = dyn_cast_or_null<foo>(B4);
135 foo *F4 = dyn_cast_or_null<foo>(fub());
  /external/clang/lib/StaticAnalyzer/Core/
CheckerHelpers.cpp 81 if (auto Assign = dyn_cast_or_null<BinaryOperator>(S)) {
85 if (auto DE = dyn_cast_or_null<DeclRefExpr>(Assign->getLHS()))
86 VD = dyn_cast_or_null<VarDecl>(DE->getDecl());
88 } else if (auto PD = dyn_cast_or_null<DeclStmt>(S)) {
91 VD = dyn_cast_or_null<VarDecl>(PD->getSingleDecl());
IssueHash.cpp 53 llvm::dyn_cast_or_null<FunctionType>(Target->getType().getTypePtr());
66 dyn_cast_or_null<FunctionProtoType>(Target->getType().getTypePtr())) {
101 DeclName = GetSignature(dyn_cast_or_null<FunctionDecl>(ND));
  /external/llvm/unittests/Support/
Casting.cpp 63 return dyn_cast_or_null<foo>(this);
155 TEST(CastingTest, dyn_cast_or_null) {
156 const foo *F1 = dyn_cast_or_null<foo>(B2);
158 const foo *F2 = dyn_cast_or_null<foo>(B2);
160 const foo *F3 = dyn_cast_or_null<foo>(B4);
162 foo *F4 = dyn_cast_or_null<foo>(fub());
321 EXPECT_TRUE(dyn_cast_or_null<pointer_wrappers::Derived>(MN) == nullptr);
322 EXPECT_TRUE(dyn_cast_or_null<pointer_wrappers::Derived>(CN) == nullptr);
323 EXPECT_TRUE(dyn_cast_or_null<pointer_wrappers::Derived>(MB) == nullptr);
324 EXPECT_TRUE(dyn_cast_or_null<pointer_wrappers::Derived>(CB) == nullptr)
    [all...]
  /external/llvm/lib/ExecutionEngine/Orc/
ExecutionUtils.cpp 22 GV ? dyn_cast_or_null<ConstantArray>(GV->getInitializer()) : nullptr),
55 if (Function *F = dyn_cast_or_null<Function>(FuncC)) {
58 } else if (ConstantExpr *CE = dyn_cast_or_null<ConstantExpr>(FuncC)) {
60 FuncC = dyn_cast_or_null<ConstantExpr>(CE->getOperand(0));
  /external/clang/lib/Index/
CodegenNameGenerator.cpp 89 if (const auto *CD = dyn_cast_or_null<CXXConstructorDecl>(ND)) {
100 } else if (const auto *DD = dyn_cast_or_null<CXXDestructorDecl>(ND)) {
107 } else if (const auto *MD = dyn_cast_or_null<CXXMethodDecl>(ND)) {
150 if (const auto *CD = dyn_cast_or_null<CXXConstructorDecl>(ND))
152 else if (const auto *DD = dyn_cast_or_null<CXXDestructorDecl>(ND))
  /external/llvm/lib/DebugInfo/PDB/
PDBContext.cpp 43 if (auto Func = dyn_cast_or_null<PDBSymbolFunc>(Symbol.get())) {
45 } else if (auto Data = dyn_cast_or_null<PDBSymbolData>(Symbol.get())) {
102 auto *Func = dyn_cast_or_null<PDBSymbolFunc>(FuncSymbol.get());
110 if (auto *PS = dyn_cast_or_null<PDBSymbolPublicSymbol>(PublicSym.get())) {
  /external/clang/tools/libclang/
CXType.cpp 245 if (const TypedefNameDecl *TD = dyn_cast_or_null<TypedefNameDecl>(D)) {
263 if (const EnumDecl *TD = dyn_cast_or_null<EnumDecl>(D)) {
280 if (const EnumConstantDecl *TD = dyn_cast_or_null<EnumConstantDecl>(D)) {
296 if (const EnumConstantDecl *TD = dyn_cast_or_null<EnumConstantDecl>(D)) {
312 if (const FieldDecl *FD = dyn_cast_or_null<FieldDecl>(D)) {
599 if (const ObjCMethodDecl *MD = dyn_cast_or_null<ObjCMethodDecl>(D))
796 dyn_cast_or_null<RecordDecl>(cxcursor::getCursorDecl(PC));
831 dyn_cast_or_null<RecordDecl>(cxcursor::getCursorDecl(PC));
860 if (const FieldDecl *FD = dyn_cast_or_null<FieldDecl>(D))
862 if (const IndirectFieldDecl *IFD = dyn_cast_or_null<IndirectFieldDecl>(D)
    [all...]
CIndexCXX.cpp 60 = dyn_cast_or_null<TemplateDecl>(getCursorDecl(C)))
66 = dyn_cast_or_null<ClassTemplatePartialSpecializationDecl>(
  /bionic/tools/versioner/src/
SymbolDatabase.cpp 46 ELFObjectFileBase* elf = dyn_cast_or_null<ELFObjectFileBase>(binaryOrError.get().getBinary());
  /external/llvm/include/llvm/DebugInfo/PDB/
ConcreteSymbolEnumerator.h 52 ChildType *ConcreteChild = dyn_cast_or_null<ChildType>(Child.release());
  /frameworks/compile/slang/
slang_rs_check_ast.cpp 44 Decl = clang::dyn_cast_or_null<clang::FunctionDecl>(E->getCalleeDecl());
53 ImplCast = clang::dyn_cast_or_null<clang::ImplicitCastExpr>(Expr);
64 VectorTy = clang::dyn_cast_or_null<clang::VectorType>(Ty);
67 ElementTy = clang::dyn_cast_or_null<clang::BuiltinType>(
70 ElementTy = clang::dyn_cast_or_null<clang::BuiltinType>(
  /external/swiftshader/third_party/LLVM/lib/VMCore/
DebugLoc.cpp 119 MDNode *Scope = dyn_cast_or_null<MDNode>(N->getOperand(2));
123 if (ConstantInt *Line = dyn_cast_or_null<ConstantInt>(N->getOperand(0)))
125 if (ConstantInt *Col = dyn_cast_or_null<ConstantInt>(N->getOperand(1)))
128 return get(LineNo, ColNo, Scope, dyn_cast_or_null<MDNode>(N->getOperand(3)));
135 MDNode *Scope = dyn_cast_or_null<MDNode>(N->getOperand(1));
139 if (ConstantInt *Line = dyn_cast_or_null<ConstantInt>(N->getOperand(2)))
141 if (ConstantInt *Col = dyn_cast_or_null<ConstantInt>(N->getOperand(3)))
  /external/swiftshader/third_party/LLVM/lib/Analysis/
DebugInfo.cpp 60 if (MDString *MDS = dyn_cast_or_null<MDString>(DbgNode->getOperand(Elt)))
83 DIDescriptor(dyn_cast_or_null<const MDNode>(DbgNode->getOperand(Elt)));
92 return dyn_cast_or_null<GlobalVariable>(DbgNode->getOperand(Elt));
101 return dyn_cast_or_null<Constant>(DbgNode->getOperand(Elt));
110 return dyn_cast_or_null<Function>(DbgNode->getOperand(Elt));
126 return dyn_cast_or_null<MDNode>(DbgNode->getOperand(7));
537 if (MDNode *Temp = dyn_cast_or_null<MDNode>(DbgNode->getOperand(19)))
538 return dyn_cast_or_null<MDNode>(Temp->getOperand(0));
545 if (MDNode *T = dyn_cast_or_null<MDNode>(DbgNode->getOperand(19)))
546 if (MDNode *A = dyn_cast_or_null<MDNode>(T->getOperand(0))
    [all...]
  /external/clang/lib/ARCMigrate/
TransRetainReleaseDealloc.cpp 354 auto *CompS = dyn_cast_or_null<CompoundStmt>(*StmtExprChild.begin());
361 auto *DeclS = dyn_cast_or_null<DeclStmt>(*CompStmtChild.begin());
366 VarDecl *VD = dyn_cast_or_null<VarDecl>(DeclS->getSingleDecl());
430 if (ImplicitCastExpr *castE = dyn_cast_or_null<ImplicitCastExpr>(parent))
433 if (ParenExpr *parenE = dyn_cast_or_null<ParenExpr>(parent))
437 bopE = dyn_cast_or_null<BinaryOperator>(parent)) {
TransUnbridgedCasts.cpp 187 if (ObjCMethodDecl *method = dyn_cast_or_null<ObjCMethodDecl>(ParentD)) {
379 if (ReturnStmt *retS = dyn_cast_or_null<ReturnStmt>(parent)) {
418 if ((callE = dyn_cast_or_null<CallExpr>(
421 FD = dyn_cast_or_null<FunctionDecl>(callE->getCalleeDecl()))
431 if (CallExpr *callE = dyn_cast_or_null<CallExpr>(
434 FD = dyn_cast_or_null<FunctionDecl>(callE->getCalleeDecl())) {
  /prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/Support/
Casting.h 11 // and dyn_cast_or_null<X>() templates.
337 // dyn_cast_or_null<X> - Functionally identical to dyn_cast, except that a null
344 dyn_cast_or_null(const Y &Val) { function in namespace:llvm
352 dyn_cast_or_null(Y &Val) { function in namespace:llvm
358 dyn_cast_or_null(Y *Val) { function in namespace:llvm
381 // dyn_cast_or_null<X> - Functionally identical to unique_dyn_cast, except that
  /prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/Support/
Casting.h 11 // and dyn_cast_or_null<X>() templates.
337 // dyn_cast_or_null<X> - Functionally identical to dyn_cast, except that a null
344 dyn_cast_or_null(const Y &Val) { function in namespace:llvm
352 dyn_cast_or_null(Y &Val) { function in namespace:llvm
358 dyn_cast_or_null(Y *Val) { function in namespace:llvm
381 // dyn_cast_or_null<X> - Functionally identical to unique_dyn_cast, except that
  /prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/Support/
Casting.h 11 // and dyn_cast_or_null<X>() templates.
337 // dyn_cast_or_null<X> - Functionally identical to dyn_cast, except that a null
344 dyn_cast_or_null(const Y &Val) { function in namespace:llvm
352 dyn_cast_or_null(Y &Val) { function in namespace:llvm
358 dyn_cast_or_null(Y *Val) { function in namespace:llvm
381 // dyn_cast_or_null<X> - Functionally identical to unique_dyn_cast, except that
  /prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/Support/
Casting.h 11 // and dyn_cast_or_null<X>() templates.
337 // dyn_cast_or_null<X> - Functionally identical to dyn_cast, except that a null
344 dyn_cast_or_null(const Y &Val) { function in namespace:llvm
352 dyn_cast_or_null(Y &Val) { function in namespace:llvm
358 dyn_cast_or_null(Y *Val) { function in namespace:llvm
381 // dyn_cast_or_null<X> - Functionally identical to unique_dyn_cast, except that
  /prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/Support/
Casting.h 11 // and dyn_cast_or_null<X>() templates.
337 // dyn_cast_or_null<X> - Functionally identical to dyn_cast, except that a null
344 dyn_cast_or_null(const Y &Val) { function in namespace:llvm
352 dyn_cast_or_null(Y &Val) { function in namespace:llvm
358 dyn_cast_or_null(Y *Val) { function in namespace:llvm
381 // dyn_cast_or_null<X> - Functionally identical to unique_dyn_cast, except that
  /prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/Support/
Casting.h 11 // and dyn_cast_or_null<X>() templates.
337 // dyn_cast_or_null<X> - Functionally identical to dyn_cast, except that a null
344 dyn_cast_or_null(const Y &Val) { function in namespace:llvm
352 dyn_cast_or_null(Y &Val) { function in namespace:llvm
358 dyn_cast_or_null(Y *Val) { function in namespace:llvm
381 // dyn_cast_or_null<X> - Functionally identical to unique_dyn_cast, except that
  /prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/Support/
Casting.h 11 // and dyn_cast_or_null<X>() templates.
337 // dyn_cast_or_null<X> - Functionally identical to dyn_cast, except that a null
344 dyn_cast_or_null(const Y &Val) { function in namespace:llvm
352 dyn_cast_or_null(Y &Val) { function in namespace:llvm
358 dyn_cast_or_null(Y *Val) { function in namespace:llvm
381 // dyn_cast_or_null<X> - Functionally identical to unique_dyn_cast, except that
  /prebuilts/clang/host/linux-x86/clang-4479392/include/llvm/Support/
Casting.h 11 // and dyn_cast_or_null<X>() templates.
337 // dyn_cast_or_null<X> - Functionally identical to dyn_cast, except that a null
344 dyn_cast_or_null(const Y &Val) { function in namespace:llvm
352 dyn_cast_or_null(Y &Val) { function in namespace:llvm
358 dyn_cast_or_null(Y *Val) { function in namespace:llvm
381 // dyn_cast_or_null<X> - Functionally identical to unique_dyn_cast, except that
  /prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/Support/
Casting.h 11 // and dyn_cast_or_null<X>() templates.
337 // dyn_cast_or_null<X> - Functionally identical to dyn_cast, except that a null
344 dyn_cast_or_null(const Y &Val) { function in namespace:llvm
352 dyn_cast_or_null(Y &Val) { function in namespace:llvm
358 dyn_cast_or_null(Y *Val) { function in namespace:llvm
381 // dyn_cast_or_null<X> - Functionally identical to unique_dyn_cast, except that

Completed in 798 milliseconds

1 2 3 4 5 6 7 8 91011>>