OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:dyn_cast
(Results
1 - 25
of
502
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/clang/test/SemaCXX/
missing-header.cpp
7
if (const AsmStmt *AS =
dyn_cast
<AsmStmt>(S)) {}
/external/clang/lib/AST/
StmtIterator.cpp
22
while (const ArrayType *vt =
dyn_cast
<ArrayType>(t)) {
23
if (const VariableArrayType *vat =
dyn_cast
<VariableArrayType>(vt))
44
if (VarDecl* VD =
dyn_cast
<VarDecl>(decl))
51
if (VarDecl* VD =
dyn_cast
<VarDecl>(*DGI))
92
if (VarDecl* VD =
dyn_cast
<VarDecl>(D)) {
101
else if (TypedefNameDecl* TD =
dyn_cast
<TypedefNameDecl>(D)) {
108
else if (EnumConstantDecl* ECD =
dyn_cast
<EnumConstantDecl>(D)) {
148
if (VarDecl* VD =
dyn_cast
<VarDecl>(decl)) {
/external/clang/test/CodeCompletion/
function-templates.cpp
6
X*
dyn_cast
(Y *Val);
18
// CHECK-CC1:
dyn_cast
<<#class X#>>(<#Y *Val#>)
/external/llvm/include/llvm/ADT/
TinyPtrVector.h
32
if (VecTy *V = Val.template
dyn_cast
<VecTy*>())
36
if (VecTy *V = Val.template
dyn_cast
<VecTy*>())
44
if (VecTy *Vec = Val.template
dyn_cast
<VecTy*>())
81
if (EltTy V = Val.template
dyn_cast
<EltTy>()) {
93
if (EltTy V = Val.template
dyn_cast
<EltTy>())
108
if (EltTy V = Val.template
dyn_cast
<EltTy>()) {
121
} else if (VecTy *Vec = Val.template
dyn_cast
<VecTy*>()) {
/external/clang/lib/Index/
ASTLocation.cpp
24
if (DeclRefExpr *RefExpr =
dyn_cast
<DeclRefExpr>(E))
26
if (MemberExpr *ME =
dyn_cast
<MemberExpr>(E))
28
if (ObjCIvarRefExpr *RE =
dyn_cast
<ObjCIvarRefExpr>(E))
31
if (CallExpr *CE =
dyn_cast
<CallExpr>(E))
33
if (CastExpr *CE =
dyn_cast
<CastExpr>(E))
89
if (const NamedDecl *ND =
dyn_cast
<NamedDecl>(AsDecl()))
/external/clang/tools/libclang/
CIndexCXX.cpp
90
if (CXXRecordDecl *CXXRecord =
dyn_cast
<CXXRecordDecl>(D)) {
92
=
dyn_cast
<ClassTemplatePartialSpecializationDecl>(CXXRecord))
95
=
dyn_cast
<ClassTemplateSpecializationDecl>(CXXRecord)) {
106
} else if (FunctionDecl *Function =
dyn_cast
<FunctionDecl>(D)) {
110
} else if (VarDecl *Var =
dyn_cast
<VarDecl>(D)) {
114
=
dyn_cast
<RedeclarableTemplateDecl>(D))
CXType.cpp
125
if (TypeDecl *TD =
dyn_cast
<TypeDecl>(D))
127
if (ObjCInterfaceDecl *ID =
dyn_cast
<ObjCInterfaceDecl>(D))
129
if (ValueDecl *VD =
dyn_cast
<ValueDecl>(D))
131
if (ObjCPropertyDecl *PD =
dyn_cast
<ObjCPropertyDecl>(D))
133
if (FunctionDecl *FD =
dyn_cast
<FunctionDecl>(D))
356
if (const ObjCMethodDecl *MD =
dyn_cast
<ObjCMethodDecl>(D))
386
if (ObjCMethodDecl *OMD =
dyn_cast
<ObjCMethodDecl>(D)) {
389
} else if (ObjCPropertyDecl *OPD =
dyn_cast
<ObjCPropertyDecl>(D))
391
else if (FunctionDecl *FD =
dyn_cast
<FunctionDecl>(D))
395
if (TypeDecl *TD =
dyn_cast
<TypeDecl>(D)
[
all
...]
/external/llvm/unittests/Support/
Casting.cpp
55
return
dyn_cast
<foo>(this);
115
TEST(CastingTest,
dyn_cast
) {
116
const foo *F1 =
dyn_cast
<foo>(B2);
118
const foo *F2 =
dyn_cast
<foo>(B2);
120
const foo *F3 =
dyn_cast
<foo>(B4);
122
// foo *F4 =
dyn_cast
<foo>(fub()); // not permittible
/external/clang/test/SemaTemplate/
overload-candidates.cpp
11
R *
dyn_cast
(const T&); // expected-note{{candidate template ignored: couldn't infer template argument 'R'}}
14
(void)
dyn_cast
(ptr); // expected-error{{no matching function for call to '
dyn_cast
'}}
/external/clang/lib/StaticAnalyzer/Core/
BugReporterVisitors.cpp
34
if (const UnaryOperator *U =
dyn_cast
<UnaryOperator>(S)) {
38
else if (const MemberExpr *ME =
dyn_cast
<MemberExpr>(S)) {
41
else if (const ArraySubscriptExpr *AE =
dyn_cast
<ArraySubscriptExpr>(S)) {
52
if (const BinaryOperator *BE =
dyn_cast
<BinaryOperator>(S))
60
if (const CallExpr *CE =
dyn_cast
<CallExpr>(S))
67
if (const ReturnStmt *RS =
dyn_cast
<ReturnStmt>(S))
105
if (const VarRegion *VR =
dyn_cast
<VarRegion>(R)) {
136
if (const VarRegion *VR =
dyn_cast
<VarRegion>(R)) {
145
if (const TypedRegion *TR =
dyn_cast
<TypedRegion>(R)) {
175
if (const TypedRegion *TR =
dyn_cast
<TypedRegion>(R))
[
all
...]
ObjCMessage.cpp
22
if (const ObjCMessageExpr *msgE =
dyn_cast
<ObjCMessageExpr>(MsgOrPropE))
32
if (const ObjCMessageExpr *msgE =
dyn_cast
<ObjCMessageExpr>(MsgOrPropE))
43
if (const ObjCMessageExpr *msgE =
dyn_cast
<ObjCMessageExpr>(MsgOrPropE))
71
if (const ObjCMessageExpr *msgE =
dyn_cast
<ObjCMessageExpr>(MsgOrPropE))
82
if (const ObjCMessageExpr *msgE =
dyn_cast
<ObjCMessageExpr>(MsgOrPropE))
102
if (const ObjCMessageExpr *msgE =
dyn_cast
<ObjCMessageExpr>(MsgOrPropE))
105
if (const BinaryOperator *bop =
dyn_cast
<BinaryOperator>(OriginE))
/external/llvm/lib/Transforms/Utils/
LowerExpectIntrinsic.cpp
47
CallInst *CI =
dyn_cast
<CallInst>(SI->getCondition());
56
ConstantInt *ExpectedValue =
dyn_cast
<ConstantInt>(CI->getArgOperand(1));
90
ICmpInst *CmpI =
dyn_cast
<ICmpInst>(BI->getCondition());
94
CallInst *CI =
dyn_cast
<CallInst>(CmpI->getOperand(0));
103
ConstantInt *ExpectedValue =
dyn_cast
<ConstantInt>(CI->getArgOperand(1));
132
if (BranchInst *BI =
dyn_cast
<BranchInst>(BB->getTerminator())) {
135
} else if (SwitchInst *SI =
dyn_cast
<SwitchInst>(BB->getTerminator())) {
143
CallInst *CI =
dyn_cast
<CallInst>(BI++);
/external/llvm/include/llvm/Support/
IRBuilder.h
97
if (PHINode *Phi =
dyn_cast
<PHINode>(UseInst)) {
502
if (Constant *LC =
dyn_cast
<Constant>(LHS))
503
if (Constant *RC =
dyn_cast
<Constant>(RHS))
515
if (Constant *LC =
dyn_cast
<Constant>(LHS))
516
if (Constant *RC =
dyn_cast
<Constant>(RHS))
522
if (Constant *LC =
dyn_cast
<Constant>(LHS))
523
if (Constant *RC =
dyn_cast
<Constant>(RHS))
535
if (Constant *LC =
dyn_cast
<Constant>(LHS))
536
if (Constant *RC =
dyn_cast
<Constant>(RHS))
542
if (Constant *LC =
dyn_cast
<Constant>(LHS)
[
all
...]
DataFlow.h
69
if (const User *U =
dyn_cast
<User>(N))
75
if(const User *U =
dyn_cast
<User>(N))
90
if (User *U =
dyn_cast
<User>(N))
96
if (User *U =
dyn_cast
<User>(N))
/external/llvm/lib/Transforms/IPO/
GlobalOpt.cpp
163
if (const Constant *CU =
dyn_cast
<Constant>(*UI)) {
180
if (const ConstantExpr *CE =
dyn_cast
<ConstantExpr>(U)) {
188
} else if (const Instruction *I =
dyn_cast
<Instruction>(U)) {
196
if (const LoadInst *LI =
dyn_cast
<LoadInst>(I)) {
199
} else if (const StoreInst *SI =
dyn_cast
<StoreInst>(I)) {
209
if (const GlobalVariable *GV =
dyn_cast
<GlobalVariable>(
236
} else if (const PHINode *PN =
dyn_cast
<PHINode>(I)) {
244
} else if (const MemTransferInst *MTI =
dyn_cast
<MemTransferInst>(I)) {
250
} else if (const MemSetInst *MSI =
dyn_cast
<MemSetInst>(I)) {
257
} else if (const Constant *C =
dyn_cast
<Constant>(U))
[
all
...]
/external/llvm/lib/VMCore/
Instruction.cpp
192
if (const LoadInst *LI =
dyn_cast
<LoadInst>(this))
195
if (const StoreInst *SI =
dyn_cast
<StoreInst>(this))
198
if (const CmpInst *CI =
dyn_cast
<CmpInst>(this))
200
if (const CallInst *CI =
dyn_cast
<CallInst>(this))
204
if (const InvokeInst *CI =
dyn_cast
<InvokeInst>(this))
207
if (const InsertValueInst *IVI =
dyn_cast
<InsertValueInst>(this))
209
if (const ExtractValueInst *EVI =
dyn_cast
<ExtractValueInst>(this))
231
if (const LoadInst *LI =
dyn_cast
<LoadInst>(this))
234
if (const StoreInst *SI =
dyn_cast
<StoreInst>(this))
237
if (const CmpInst *CI =
dyn_cast
<CmpInst>(this)
[
all
...]
ConstantFold.cpp
105
if (PointerType *PTy =
dyn_cast
<PointerType>(V->getType()))
106
if (PointerType *DPTy =
dyn_cast
<PointerType>(DestTy))
114
if (StructType *STy =
dyn_cast
<StructType>(ElTy)) {
119
dyn_cast
<SequentialType>(ElTy)) {
136
if (VectorType *DestPTy =
dyn_cast
<VectorType>(DestTy)) {
137
if (VectorType *SrcTy =
dyn_cast
<VectorType>(V->getType())) {
145
if (ConstantVector *CV =
dyn_cast
<ConstantVector>(V))
162
if (ConstantInt *CI =
dyn_cast
<ConstantInt>(V)) {
178
if (ConstantFP *FP =
dyn_cast
<ConstantFP>(V))
206
if (ConstantInt *CI =
dyn_cast
<ConstantInt>(C))
[
all
...]
/external/clang/lib/StaticAnalyzer/Checkers/
DeadStoresChecker.cpp
158
if (VarDecl* VD =
dyn_cast
<VarDecl>(DR->getDecl()))
167
BinaryOperator* BRHS =
dyn_cast
<BinaryOperator>(RHS);
174
if ((DR =
dyn_cast
<DeclRefExpr>(BRHS->getLHS()->IgnoreParenCasts())))
178
if ((DR =
dyn_cast
<DeclRefExpr>(BRHS->getRHS()->IgnoreParenCasts())))
197
if (BinaryOperator* B =
dyn_cast
<BinaryOperator>(S)) {
200
if (DeclRefExpr* DR =
dyn_cast
<DeclRefExpr>(B->getLHS()))
201
if (VarDecl *VD =
dyn_cast
<VarDecl>(DR->getDecl())) {
214
if (DeclRefExpr* RhsDR =
dyn_cast
<DeclRefExpr>(RHS))
215
if (VD ==
dyn_cast
<VarDecl>(RhsDR->getDecl()))
226
else if (UnaryOperator* U =
dyn_cast
<UnaryOperator>(S))
[
all
...]
IteratorsChecker.cpp
160
const NamespaceDecl *nameSpace =
dyn_cast
<NamespaceDecl>(dc);
173
dyn_cast
<ClassTemplateSpecializationDecl>(dc))
204
if (const ElaboratedType *ET =
dyn_cast
<ElaboratedType>(T)) {
241
=
dyn_cast
<MaterializeTemporaryExpr>(lexp))
243
if (const ImplicitCastExpr *ICE =
dyn_cast
<ImplicitCastExpr>(lexp))
267
=
dyn_cast
<MaterializeTemporaryExpr>(rexp))
269
if (const ImplicitCastExpr *ICE =
dyn_cast
<ImplicitCastExpr>(rexp))
272
if (const CallExpr *CE =
dyn_cast
<CallExpr>(rexp)) {
274
if (const MemberExpr *ME =
dyn_cast
<MemberExpr>(CE->getCallee())) {
275
const DeclRefExpr *DRE =
dyn_cast
<DeclRefExpr>(ME->getBase())
[
all
...]
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
ObjCMessage.h
69
if (const ObjCMessageExpr *msgE =
dyn_cast
<ObjCMessageExpr>(MsgOrPropE))
81
if (const ObjCMessageExpr *msgE =
dyn_cast
<ObjCMessageExpr>(MsgOrPropE))
91
if (const ObjCMessageExpr *msgE =
dyn_cast
<ObjCMessageExpr>(MsgOrPropE))
104
if (const ObjCMessageExpr *msgE =
dyn_cast
<ObjCMessageExpr>(MsgOrPropE))
116
if (const ObjCMessageExpr *msgE =
dyn_cast
<ObjCMessageExpr>(MsgOrPropE))
124
if (const ObjCMessageExpr *msgE =
dyn_cast
<ObjCMessageExpr>(MsgOrPropE))
133
if (const ObjCMessageExpr *msgE =
dyn_cast
<ObjCMessageExpr>(MsgOrPropE))
/external/clang/lib/Analysis/
PseudoConstantAnalysis.cpp
69
if (const DeclRefExpr *DR =
dyn_cast
<DeclRefExpr>(E))
71
else if (const BlockDeclRefExpr *BDR =
dyn_cast
<BlockDeclRefExpr>(E))
89
if (const Expr *Ex =
dyn_cast
<Expr>(Head))
125
const VarDecl *VD =
dyn_cast
<VarDecl>(LHSDecl);
159
const VarDecl *VD =
dyn_cast
<VarDecl>(D);
178
const VarDecl *VD =
dyn_cast
<VarDecl>(*I);
193
if (const VarDecl *RefVD =
dyn_cast
<VarDecl>(D)) {
204
if (const VarDecl *VD =
dyn_cast
<VarDecl>(BDR->getDecl())) {
215
if (const VarDecl *VD =
dyn_cast
<VarDecl>(DR->getDecl())) {
/external/llvm/include/llvm/
IntrinsicInst.h
14
// if (MemCpyInst *MCI =
dyn_cast
<MemCpyInst>(Inst))
47
// Methods for support type inquiry through isa, cast, and
dyn_cast
:
64
// Methods for support type inquiry through isa, cast, and
dyn_cast
:
88
// Methods for support type inquiry through isa, cast, and
dyn_cast
:
110
// Methods for support type inquiry through isa, cast, and
dyn_cast
:
177
// Methods for support type inquiry through isa, cast, and
dyn_cast
:
207
// Methods for support type inquiry through isa, cast, and
dyn_cast
:
240
// Methods for support type inquiry through isa, cast, and
dyn_cast
:
256
// Methods for support type inquiry through isa, cast, and
dyn_cast
:
270
// Methods for support type inquiry through isa, cast, and
dyn_cast
[
all
...]
/external/llvm/lib/Analysis/
PHITransAddr.cpp
57
Instruction *I =
dyn_cast
<Instruction>(Expr);
117
Instruction *Inst =
dyn_cast
<Instruction>(Addr);
124
Instruction *I =
dyn_cast
<Instruction>(V);
139
if (Instruction *Op =
dyn_cast
<Instruction>(I->getOperand(i)))
148
Instruction *Inst =
dyn_cast
<Instruction>(V);
169
if (PHINode *PN =
dyn_cast
<PHINode>(Inst))
180
if (Instruction *Op =
dyn_cast
<Instruction>(Inst->getOperand(i)))
188
if (CastInst *Cast =
dyn_cast
<CastInst>(Inst)) {
198
if (Constant *C =
dyn_cast
<Constant>(PHIIn))
206
if (CastInst *CastI =
dyn_cast
<CastInst>(*UI)
[
all
...]
ConstantFolding.cpp
50
VectorType *DestVTy =
dyn_cast
<VectorType>(DestTy);
62
ConstantVector *CV =
dyn_cast
<ConstantVector>(C);
106
CV =
dyn_cast
<ConstantVector>(C);
129
Constant *Src =
dyn_cast
<ConstantInt>(CV->getOperand(SrcElt++));
153
Constant *Src =
dyn_cast
<ConstantInt>(CV->getOperand(i));
181
if ((GV =
dyn_cast
<GlobalValue>(C))) {
187
ConstantExpr *CE =
dyn_cast
<ConstantExpr>(C);
211
ConstantInt *CI =
dyn_cast
<ConstantInt>(*i);
215
if (StructType *ST =
dyn_cast
<StructType>(*GTI)) {
244
if (ConstantInt *CI =
dyn_cast
<ConstantInt>(C))
[
all
...]
/external/llvm/lib/Transforms/InstCombine/
InstCombineMulDivRem.cpp
47
if (BinaryOperator *I =
dyn_cast
<BinaryOperator>(V))
112
if (ConstantInt *CI =
dyn_cast
<ConstantInt>(Op1)) {
115
if (BinaryOperator *SI =
dyn_cast
<BinaryOperator>(Op0))
117
if (Constant *ShOp =
dyn_cast
<Constant>(SI->getOperand(1)))
166
if (SelectInst *SI =
dyn_cast
<SelectInst>(Op0))
183
BinaryOperator *BO =
dyn_cast
<BinaryOperator>(Op0);
188
BO =
dyn_cast
<BinaryOperator>(Op1);
198
if (PossiblyExactOperator *SDiv =
dyn_cast
<PossiblyExactOperator>(BO))
260
if (Constant *Op1C =
dyn_cast
<Constant>(Op1)) {
261
if (ConstantFP *Op1F =
dyn_cast
<ConstantFP>(Op1C))
[
all
...]
Completed in 599 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>