OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:dyn_cast_or_null
(Results
1 - 25
of
196
) sorted by null
1
2
3
4
5
6
7
8
/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/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/clang/include/clang/AST/
LambdaCapture.h
78
return
dyn_cast_or_null
<VarDecl>(DeclAndBits.getPointer());
ASTLambda.h
58
dyn_cast_or_null
<CXXConversionDecl>(F->getTemplatedDecl()))
/external/clang/include/clang/Basic/
LLVM.h
58
using llvm::
dyn_cast_or_null
;
/frameworks/compile/slang/
slang_rs_check_ast.cpp
41
Decl = clang::
dyn_cast_or_null
<clang::FunctionDecl>(E->getCalleeDecl());
50
ImplCast = clang::
dyn_cast_or_null
<clang::ImplicitCastExpr>(Expr);
61
VectorTy = clang::
dyn_cast_or_null
<clang::VectorType>(Ty);
64
ElementTy = clang::
dyn_cast_or_null
<clang::BuiltinType>(
67
ElementTy = clang::
dyn_cast_or_null
<clang::BuiltinType>(
/external/clang/tools/libclang/
CIndexCXX.cpp
60
=
dyn_cast_or_null
<TemplateDecl>(getCursorDecl(C)))
66
=
dyn_cast_or_null
<ClassTemplatePartialSpecializationDecl>(
CXType.cpp
243
if (const TypedefNameDecl *TD =
dyn_cast_or_null
<TypedefNameDecl>(D)) {
261
if (const EnumDecl *TD =
dyn_cast_or_null
<EnumDecl>(D)) {
278
if (const EnumConstantDecl *TD =
dyn_cast_or_null
<EnumConstantDecl>(D)) {
294
if (const EnumConstantDecl *TD =
dyn_cast_or_null
<EnumConstantDecl>(D)) {
310
if (const FieldDecl *FD =
dyn_cast_or_null
<FieldDecl>(D)) {
585
if (const ObjCMethodDecl *MD =
dyn_cast_or_null
<ObjCMethodDecl>(D))
782
dyn_cast_or_null
<RecordDecl>(cxcursor::getCursorDecl(PC));
817
dyn_cast_or_null
<RecordDecl>(cxcursor::getCursorDecl(PC));
846
if (const FieldDecl *FD =
dyn_cast_or_null
<FieldDecl>(D))
848
if (const IndirectFieldDecl *IFD =
dyn_cast_or_null
<IndirectFieldDecl>(D)
[
all
...]
CXCursor.cpp
455
dyn_cast_or_null
<ImplicitParamDecl>(cast<DeclRefExpr>(S)->getDecl())) {
872
return
dyn_cast_or_null
<Expr>(getCursorStmt(Cursor));
910
const NamedDecl *D =
dyn_cast_or_null
<NamedDecl>(getCursorDecl(cursor));
1035
if (const ObjCMethodDecl *MD =
dyn_cast_or_null
<ObjCMethodDecl>(D))
1037
if (const FunctionDecl *FD =
dyn_cast_or_null
<FunctionDecl>(D))
1054
if (const ObjCMethodDecl *MD =
dyn_cast_or_null
<ObjCMethodDecl>(D)) {
[
all
...]
/external/clang/lib/ARCMigrate/
TransGCCalls.cpp
48
if (FunctionDecl *FD =
dyn_cast_or_null
<FunctionDecl>(DRE->getDecl())) {
TransRetainReleaseDealloc.cpp
364
CompoundStmt *CompS =
dyn_cast_or_null
<CompoundStmt>(*StmtExprChild);
371
DeclStmt *DeclS =
dyn_cast_or_null
<DeclStmt>(*CompStmtChild);
376
VarDecl *VD =
dyn_cast_or_null
<VarDecl>(DeclS->getSingleDecl());
440
if (ImplicitCastExpr *castE =
dyn_cast_or_null
<ImplicitCastExpr>(parent))
443
if (ParenExpr *parenE =
dyn_cast_or_null
<ParenExpr>(parent))
447
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())) {
/external/clang/lib/Serialization/
ASTCommon.h
101
auto *ND =
dyn_cast_or_null
<NamedDecl>(LexicalD);
/external/clang/lib/StaticAnalyzer/Checkers/
ReturnPointerRangeChecker.cpp
46
const ElementRegion *ER =
dyn_cast_or_null
<ElementRegion>(R);
NoReturnFunctionChecker.cpp
45
if (const FunctionDecl *FD =
dyn_cast_or_null
<FunctionDecl>(CE.getDecl()))
UndefBranchChecker.cpp
42
if (const Expr *ExI =
dyn_cast_or_null
<Expr>(*I)) {
BoolAssignmentChecker.cpp
59
dyn_cast_or_null
<TypedValueRegion>(loc.getAsRegion());
/external/llvm/include/llvm/DebugInfo/PDB/
ConcreteSymbolEnumerator.h
51
ChildType *ConcreteChild =
dyn_cast_or_null
<ChildType>(Child.release());
/external/llvm/lib/Transforms/Instrumentation/
MaximumSpanningTree.h
42
const BasicBlock *BB =
dyn_cast_or_null
<BasicBlock>(X);
/external/llvm/lib/Analysis/
TypeBasedAliasAnalysis.cpp
158
MDNode *P =
dyn_cast_or_null
<MDNode>(Node->getOperand(1));
192
return
dyn_cast_or_null
<MDNode>(Node->getOperand(0));
195
return
dyn_cast_or_null
<MDNode>(Node->getOperand(1));
242
MDNode *P =
dyn_cast_or_null
<MDNode>(Node->getOperand(1));
267
MDNode *P =
dyn_cast_or_null
<MDNode>(Node->getOperand(TheIdx));
/external/llvm/lib/IR/
Module.cpp
189
return
dyn_cast_or_null
<Function>(getNamedValue(Name));
205
dyn_cast_or_null
<GlobalVariable>(getNamedValue(Name)))
219
GlobalVariable *GV =
dyn_cast_or_null
<GlobalVariable>(getNamedValue(Name));
247
return
dyn_cast_or_null
<GlobalAlias>(getNamedValue(Name));
301
dyn_cast_or_null
<MDString>(Flag->getOperand(1))) {
/external/llvm/include/llvm/Support/
Casting.h
11
// and
dyn_cast_or_null
<X>() templates.
301
//
dyn_cast_or_null
<X> - Functionally identical to dyn_cast, except that a null
307
dyn_cast_or_null
(const Y &Val) {
function in namespace:llvm
314
dyn_cast_or_null
(Y &Val) {
function in namespace:llvm
320
dyn_cast_or_null
(Y *Val) {
function in namespace:llvm
/external/clang/lib/Analysis/
CallGraph.cpp
200
if (const NamedDecl *ND =
dyn_cast_or_null
<NamedDecl>(FD))
221
if (const NamedDecl *ND =
dyn_cast_or_null
<NamedDecl>(Node->getDecl()))
/external/clang/lib/CodeGen/
CodeGenPGO.cpp
695
if (const FunctionDecl *FD =
dyn_cast_or_null
<FunctionDecl>(D))
697
else if (const ObjCMethodDecl *MD =
dyn_cast_or_null
<ObjCMethodDecl>(D))
699
else if (const BlockDecl *BD =
dyn_cast_or_null
<BlockDecl>(D))
701
else if (const CapturedDecl *CD =
dyn_cast_or_null
<CapturedDecl>(D))
760
if (const FunctionDecl *FD =
dyn_cast_or_null
<FunctionDecl>(D))
762
else if (const ObjCMethodDecl *MD =
dyn_cast_or_null
<ObjCMethodDecl>(D))
764
else if (const BlockDecl *BD =
dyn_cast_or_null
<BlockDecl>(D))
766
else if (const CapturedDecl *CD =
dyn_cast_or_null
<CapturedDecl>(D))
/external/llvm/lib/Target/ARM/
ARMConstantPoolValue.cpp
157
return
dyn_cast_or_null
<GlobalValue>(CVal);
161
return
dyn_cast_or_null
<BlockAddress>(CVal);
Completed in 548 milliseconds
1
2
3
4
5
6
7
8