HomeSort by: relevance | last modified time | path
    Searched refs:cast_or_null (Results 1 - 25 of 122) sorted by relevancy

1 2 3 4 5

  /src/external/apache2/llvm/dist/clang/lib/Tooling/Syntax/
Nodes.cpp 200 return cast_or_null<syntax::Expression>(
205 return cast_or_null<syntax::Leaf>(findChild(syntax::NodeRole::OperatorToken));
209 return cast_or_null<syntax::Expression>(findChild(syntax::NodeRole::Operand));
213 return cast_or_null<syntax::Leaf>(findChild(syntax::NodeRole::OperatorToken));
217 return cast_or_null<syntax::Expression>(
222 return cast_or_null<syntax::Leaf>(
227 return cast_or_null<syntax::Statement>(
232 return cast_or_null<syntax::Leaf>(
237 return cast_or_null<syntax::Expression>(
242 return cast_or_null<syntax::Statement>
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
StmtCXX.h 163 return cast_or_null<DeclStmt>(SubExprs[BEGINSTMT]);
165 DeclStmt *getEndStmt() { return cast_or_null<DeclStmt>(SubExprs[ENDSTMT]); }
166 Expr *getCond() { return cast_or_null<Expr>(SubExprs[COND]); }
167 Expr *getInc() { return cast_or_null<Expr>(SubExprs[INC]); }
175 return cast_or_null<DeclStmt>(SubExprs[BEGINSTMT]);
178 return cast_or_null<DeclStmt>(SubExprs[ENDSTMT]);
181 return cast_or_null<Expr>(SubExprs[COND]);
184 return cast_or_null<Expr>(SubExprs[INC]);
404 return cast_or_null<Expr>(getStoredStmts()[SubStmt::Allocate]);
407 return cast_or_null<Expr>(getStoredStmts()[SubStmt::Deallocate])
    [all...]
ExprOpenMP.h 94 Expr *getLowerBound() { return cast_or_null<Expr>(SubExprs[LOWER_BOUND]); }
96 return cast_or_null<Expr>(SubExprs[LOWER_BOUND]);
102 Expr *getLength() { return cast_or_null<Expr>(SubExprs[LENGTH]); }
103 const Expr *getLength() const { return cast_or_null<Expr>(SubExprs[LENGTH]); }
108 Expr *getStride() { return cast_or_null<Expr>(SubExprs[STRIDE]); }
109 const Expr *getStride() const { return cast_or_null<Expr>(SubExprs[STRIDE]); }
StmtObjC.h 219 return cast_or_null<ObjCAtCatchStmt>(getStmts()[I + 1]);
225 return cast_or_null<ObjCAtCatchStmt>(getStmts()[I + 1]);
239 return cast_or_null<ObjCAtFinallyStmt>(getStmts()[1 + NumCatchStmts]);
245 return cast_or_null<ObjCAtFinallyStmt>(getStmts()[1 + NumCatchStmts]);
StmtOpenMP.h 661 return cast_or_null<Expr>(Data->getChildren()[0]);
1598 return cast_or_null<Expr>(Data->getChildren()[numLoopChildren(
1742 return cast_or_null<Expr>(Data->getChildren()[0]);
2065 return cast_or_null<Expr>(Data->getChildren()[numLoopChildren(
2199 return cast_or_null<Expr>(Data->getChildren()[0]);
2278 return cast_or_null<Expr>(Data->getChildren()[0]);
2551 Expr *getReductionRef() { return cast_or_null<Expr>(Data->getChildren()[0]); }
2810 Expr *getX() { return cast_or_null<Expr>(Data->getChildren()[0]); }
2812 return cast_or_null<Expr>(Data->getChildren()[0]);
2817 Expr *getUpdateExpr() { return cast_or_null<Expr>(Data->getChildren()[1]);
    [all...]
DeclTemplate.h 1056 return cast_or_null<FunctionTemplateDecl>(
1060 return cast_or_null<FunctionTemplateDecl>(
1074 return cast_or_null<FunctionTemplateDecl>(
2332 return cast_or_null<ClassTemplateDecl>(
2336 return cast_or_null<ClassTemplateDecl>(
2350 return cast_or_null<ClassTemplateDecl>(
2554 return cast_or_null<TypeAliasTemplateDecl>(
2558 return cast_or_null<TypeAliasTemplateDecl>(
2564 return cast_or_null<TypeAliasTemplateDecl>(
3160 return cast_or_null<VarTemplateDecl>
    [all...]
DeclFriend.h 99 return cast_or_null<FriendDecl>(NextFriend.get(nullptr));
  /src/external/apache2/llvm/dist/llvm/lib/IR/
Module.cpp 114 return cast_or_null<GlobalValue>(getValueSymbolTable().lookup(Name));
549 cast_or_null<ConstantAsMetadata>(getModuleFlag("NumRegisterParameters"));
556 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("Dwarf Version"));
563 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("DWARF64"));
568 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("CodeView"));
588 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("PIC Level"));
602 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("PIE Level"));
616 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("Code Model"));
648 auto *Val = cast_or_null<ConstantAsMetadata>(MF);
664 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("RtLibUseGOT"))
    [all...]
DebugLoc.cpp 22 return cast_or_null<DILocation>(Loc.get());
DIBuilder.cpp 171 auto *M = DIImportedEntity::get(C, Tag, Context, cast_or_null<DINode>(NS),
466 cast_or_null<MDTuple>(TemplateParams), UniqueIdentifier);
705 VMContext, cast_or_null<DIScope>(Context), Name, LinkageName, F,
706 LineNumber, Ty, IsLocalToUnit, isDefined, cast_or_null<DIDerivedType>(Decl),
722 VMContext, cast_or_null<DIScope>(Context), Name, LinkageName, F,
724 cast_or_null<DIDerivedType>(Decl), TemplateParams, AlignInBits)
741 DILocalVariable::get(VMContext, cast_or_null<DILocalScope>(Context), Name,
779 DILabel::get(VMContext, cast_or_null<DILocalScope>(Context), Name,
DebugInfo.cpp 152 if (auto *SP = cast_or_null<DISubprogram>(F.getSubprogram()))
515 auto *FileAndScope = cast_or_null<DIFile>(map(MDS->getFile()));
518 auto *Type = cast_or_null<DISubroutineType>(map(MDS->getType()));
520 cast_or_null<DIType>(map(MDS->getContainingType()));
521 auto *Unit = cast_or_null<DICompileUnit>(map(MDS->getUnit()));
568 auto *File = cast_or_null<DIFile>(map(CU->getFile()));
  /src/external/apache2/llvm/dist/clang/lib/AST/
DeclFriend.cpp 30 return cast_or_null<FriendDecl>(
DeclOpenMP.cpp 127 return cast_or_null<OMPDeclareReductionDecl>(
132 return cast_or_null<OMPDeclareReductionDecl>(
159 return cast_or_null<OMPDeclareMapperDecl>(
164 return cast_or_null<OMPDeclareMapperDecl>(
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
FlattenCFGPass.cpp 73 if (auto *BB = cast_or_null<BasicBlock>(BlockHandle))
  /src/external/apache2/llvm/dist/llvm/tools/opt/
BreakpointPrinter.cpp 49 auto *SP = cast_or_null<DISubprogram>(NMD->getOperand(i));
  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
DebugInfoMetadata.h 84 return cast_or_null<DIType>(N->getOperand(I));
100 DIType *operator*() const { return cast_or_null<DIType>(*I); }
141 return cast_or_null<Ty>(getOperand(I));
484 DIFile *getFile() const { return cast_or_null<DIFile>(getRawFile()); }
707 DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); }
897 return cast_or_null<DIVariable>(getRawStringLength());
901 return cast_or_null<DIExpression>(getRawStringLengthExp());
984 DIType *getBaseType() const { return cast_or_null<DIType>(getRawBaseType()); }
1006 return cast_or_null<DIType>(getExtraData());
1015 if (auto *CM = cast_or_null<ConstantAsMetadata>(getExtraData())
    [all...]
OperandTraits.h 141 return cast_or_null<VALUECLASS>( \
Metadata.h 377 return cast_or_null<ConstantAsMetadata>(getIfExists(C));
381 return cast_or_null<LocalAsMetadata>(getIfExists(Local));
501 /// mdconst::extract_or_null <=> cast_or_null
568 /// As an analogue to \a cast_or_null(), extract the \a Value subclass \c X
573 if (auto *V = cast_or_null<ConstantAsMetadata>(MD))
1263 T *operator*() const { return cast_or_null<T>(*I); }
1313 T *operator[](unsigned I) const { return cast_or_null<T>(N->getOperand(I)); }
  /src/external/apache2/llvm/dist/clang/include/clang/Basic/
LLVM.h 64 using llvm::cast_or_null;
  /src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/Utils/
WebAssemblyUtilities.cpp 103 MCSymbolWasm *Sym = cast_or_null<MCSymbolWasm>(Ctx.lookupSymbol(Name));
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
MemorySSAUpdater.cpp 285 if (MemoryPhi *Phi = cast_or_null<MemoryPhi>(MP))
372 if (const auto *RealPHI = cast_or_null<MemoryPhi>(VH))
580 cast_or_null<Instruction>(VMap.lookup(DefMUDI))) {
692 if (BasicBlock *NewIncBB = cast_or_null<BasicBlock>(VMap.lookup(IncBB)))
710 cast_or_null<Instruction>(VMap.lookup(IncI))) {
732 BasicBlock *NewBlock = cast_or_null<BasicBlock>(VMap.lookup(BB));
781 if (BasicBlock *NewExit = cast_or_null<BasicBlock>(VMap->lookup(Exit))) {
1091 if (auto *MPhi = cast_or_null<MemoryPhi>(VH))
1367 cast_or_null<MemoryPhi>(PhisToOptimize.pop_back_val()))
1404 if (auto *MPhi = cast_or_null<MemoryPhi>(VH)
    [all...]
AssumeBundleQueries.cpp 165 auto *II = cast_or_null<AssumeInst>(Elem.Assume);
  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
Casting.h 9 // This file defines the isa<X>(), cast<X>(), dyn_cast<X>(), cast_or_null<X>(),
246 // on failure. It does not allow a null argument (use cast_or_null for that).
284 // cast_or_null<X> - Functionally identical to cast, except that a null value is
290 cast_or_null(const Y &Val) { function in namespace:llvm
293 assert(isa<X>(Val) && "cast_or_null<Ty>() argument of incompatible type!");
300 cast_or_null(Y &Val) { function in namespace:llvm
303 assert(isa<X>(Val) && "cast_or_null<Ty>() argument of incompatible type!");
309 cast_or_null(Y *Val) { function in namespace:llvm
311 assert(isa<X>(Val) && "cast_or_null<Ty>() argument of incompatible type!");
317 cast_or_null(std::unique_ptr<Y> &&Val) function in namespace:llvm
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
ValueMapper.cpp 151 return cast_or_null<Constant>(mapValue(C));
535 BB = cast_or_null<BasicBlock>(mapValue(BA.getBasicBlock()));
891 BasicBlock *BB = cast_or_null<BasicBlock>(mapValue(DBB.OldBB));
926 MDNode *New = cast_or_null<MDNode>(mapMetadata(Old));
1030 NewV = cast_or_null<Constant>(mapValue(V));
1143 return cast_or_null<Constant>(mapValue(C));
1151 return cast_or_null<MDNode>(mapMetadata(N));
  /src/external/apache2/llvm/dist/clang/include/clang/Serialization/
ASTRecordReader.h 145 return cast_or_null<T>(Reader->GetLocalDecl(*F, LocalID));

Completed in 31 milliseconds

1 2 3 4 5