HomeSort by relevance Sort by last modified time
    Searched refs:cast_or_null (Results 1 - 25 of 84) sorted by null

1 2 3 4

  /external/clang/include/clang/AST/
ExprOpenMP.h 91 Expr *getLowerBound() { return cast_or_null<Expr>(SubExprs[LOWER_BOUND]); }
93 return cast_or_null<Expr>(SubExprs[LOWER_BOUND]);
99 Expr *getLength() { return cast_or_null<Expr>(SubExprs[LENGTH]); }
100 const Expr *getLength() const { return cast_or_null<Expr>(SubExprs[LENGTH]); }
StmtCXX.h 156 return cast_or_null<DeclStmt>(SubExprs[BEGINEND]);
158 Expr *getCond() { return cast_or_null<Expr>(SubExprs[COND]); }
159 Expr *getInc() { return cast_or_null<Expr>(SubExprs[INC]); }
167 return cast_or_null<DeclStmt>(SubExprs[BEGINEND]);
170 return cast_or_null<Expr>(SubExprs[COND]);
173 return cast_or_null<Expr>(SubExprs[INC]);
StmtObjC.h 208 return cast_or_null<ObjCAtCatchStmt>(getStmts()[I + 1]);
214 return cast_or_null<ObjCAtCatchStmt>(getStmts()[I + 1]);
228 return cast_or_null<ObjCAtFinallyStmt>(getStmts()[1 + NumCatchStmts]);
234 return cast_or_null<ObjCAtFinallyStmt>(getStmts()[1 + NumCatchStmts]);
DeclTemplate.h     [all...]
DeclFriend.h 95 return cast_or_null<FriendDecl>(NextFriend.get(nullptr));
StmtOpenMP.h     [all...]
OpenMPClause.h 221 Expr *getCondition() const { return cast_or_null<Expr>(Condition); }
279 Expr *getCondition() const { return cast_or_null<Expr>(Condition); }
333 Expr *getNumThreads() const { return cast_or_null<Expr>(NumThreads); }
389 Expr *getSafelen() const { return cast_or_null<Expr>(Safelen); }
444 Expr *getSimdlen() const { return cast_or_null<Expr>(Simdlen); }
500 Expr *getNumForLoops() const { return cast_or_null<Expr>(NumForLoops); }
822 Expr *getNumForLoops() const { return cast_or_null<Expr>(NumForLoops); }
    [all...]
  /external/llvm/unittests/Support/
Casting.cpp 55 return cast_or_null<foo>(this);
128 TEST(CastingTest, cast_or_null) {
129 const foo *F11 = cast_or_null<foo>(B2);
131 const foo *F12 = cast_or_null<foo>(B2);
133 const foo *F13 = cast_or_null<foo>(B4);
135 const foo *F14 = cast_or_null<foo>(fub()); // Shouldn't print.
172 //foo &F23 = cast_or_null<foo>(B1);
173 //const foo &F24 = cast_or_null<foo>(B3);
307 EXPECT_TRUE(cast_or_null<pointer_wrappers::Derived>(MN) == nullptr);
308 EXPECT_TRUE(cast_or_null<pointer_wrappers::Derived>(CN) == nullptr)
    [all...]
  /external/clang/include/clang/Basic/
LLVM.h 59 using llvm::cast_or_null;
  /external/clang/lib/AST/
DeclFriend.cpp 23 return cast_or_null<FriendDecl>(
ASTImporter.cpp     [all...]
  /external/llvm/tools/opt/
BreakpointPrinter.cpp 56 auto *SP = cast_or_null<DISubprogram>(NMD->getOperand(i));
  /external/llvm/lib/CodeGen/AsmPrinter/
DebugLocEntry.h 98 auto *Expr = cast_or_null<DIExpression>(Values[0].Expression);
99 auto *NextExpr = cast_or_null<DIExpression>(Next.Values[0].Expression);
  /external/llvm/lib/IR/
DebugLoc.cpp 23 return cast_or_null<DILocation>(Loc.get());
Module.cpp 89 return cast_or_null<GlobalValue>(getValueSymbolTable().lookup(Name));
444 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("Dwarf Version"));
451 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("CodeView"));
464 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("PIC Level"));
483 cast_or_null<ConstantAsMetadata>(getModuleFlag("MaxFunctionCount"));
DIBuilder.cpp 396 cast_or_null<MDTuple>(TemplateParams), UniqueIdentifier);
585 auto *N = DIGlobalVariable::get(VMContext, cast_or_null<DIScope>(Context),
588 cast_or_null<DIDerivedType>(Decl));
600 VMContext, cast_or_null<DIScope>(Context), Name, LinkageName, F,
602 cast_or_null<DIDerivedType>(Decl))
618 DILocalVariable::get(VMContext, cast_or_null<DILocalScope>(Context), Name,
    [all...]
  /external/llvm/lib/Analysis/
TypeBasedAliasAnalysis.cpp 387 MDNode *Tag = cast_or_null<MDNode>(getOperand(1));
407 A = cast_or_null<MDNode>(A->getOperand(1));
410 B = cast_or_null<MDNode>(B->getOperand(1));
421 T = T->getNumOperands() >= 2 ? cast_or_null<MDNode>(T->getOperand(1))
431 T = T->getNumOperands() >= 2 ? cast_or_null<MDNode>(T->getOperand(1))
  /external/llvm/include/llvm/IR/
DebugInfoMetadata.h 161 return cast_or_null<Ty>(getOperand(I));
415 DIFile *getFile() const { return cast_or_null<DIFile>(getRawFile()); }
740 if (auto *C = cast_or_null<ConstantAsMetadata>(getExtraData()))
827 return cast_or_null<MDTuple>(getRawElements());
831 return cast_or_null<MDTuple>(getRawTemplateParams());
    [all...]
OperandTraits.h 139 return cast_or_null<VALUECLASS>( \
Metadata.h 281 return cast_or_null<ConstantAsMetadata>(getIfExists(C));
284 return cast_or_null<LocalAsMetadata>(getIfExists(Local));
398 /// mdconst::extract_or_null <=> cast_or_null
465 /// As an analogue to \a cast_or_null(), extract the \a Value subclass \c X
470 if (auto *V = cast_or_null<ConstantAsMetadata>(MD))
    [all...]
  /external/llvm/include/llvm/Support/
Casting.h 10 // This file defines the isa<X>(), cast<X>(), dyn_cast<X>(), cast_or_null<X>(),
214 // on failure. It does not allow a null argument (use cast_or_null for that).
242 // cast_or_null<X> - Functionally identical to cast, except that a null value is
248 cast_or_null(const Y &Val) { function in namespace:llvm
251 assert(isa<X>(Val) && "cast_or_null<Ty>() argument of incompatible type!");
258 cast_or_null(Y &Val) { function in namespace:llvm
261 assert(isa<X>(Val) && "cast_or_null<Ty>() argument of incompatible type!");
267 cast_or_null(Y *Val) { function in namespace:llvm
269 assert(isa<X>(Val) && "cast_or_null<Ty>() argument of incompatible type!");
  /external/clang/lib/Analysis/
AnalysisDeclContext.cpp 366 LOC *L = cast_or_null<LOC>(Contexts.FindNodeOrInsertPos(ID, InsertPos));
384 cast_or_null<StackFrameContext>(Contexts.FindNodeOrInsertPos(ID, InsertPos));
408 cast_or_null<BlockInvocationContext>(Contexts.FindNodeOrInsertPos(ID,
  /external/clang/lib/StaticAnalyzer/Core/
MemRegion.cpp 45 RegionTy* R = cast_or_null<RegionTy>(Regions.FindNodeOrInsertPos(ID,
63 RegionTy* R = cast_or_null<RegionTy>(Regions.FindNodeOrInsertPos(ID,
84 RegionTy* R = cast_or_null<RegionTy>(Regions.FindNodeOrInsertPos(ID,
103 RegionTy* R = cast_or_null<RegionTy>(Regions.FindNodeOrInsertPos(ID,
122 RegionTy* R = cast_or_null<RegionTy>(Regions.FindNodeOrInsertPos(ID,
917 ElementRegion* R = cast_or_null<ElementRegion>(data);
    [all...]
  /external/llvm/utils/TableGen/
DAGISelMatcherOpt.cpp 429 cast_or_null<CheckTypeMatcher>(FindNodeWithKind(NewOptionsToMatch[i],
472 cast_or_null<CheckTypeMatcher>(FindNodeWithKind(NewOptionsToMatch[i],
  /external/clang/lib/Sema/
SemaTemplateInstantiateDecl.cpp 465 TypeAliasDecl *AliasInst = cast_or_null<TypeAliasDecl>(
    [all...]

Completed in 7600 milliseconds

1 2 3 4