OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:dyn_cast
(Results
101 - 125
of
594
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/clang/lib/AST/
Decl.cpp
233
if (NonTypeTemplateParmDecl *NTTP =
dyn_cast
<NonTypeTemplateParmDecl>(*P)) {
298
if (NamedDecl *ND =
dyn_cast
<NamedDecl>(arg.getAsDecl())) {
452
const FunctionDecl *FD =
dyn_cast
<FunctionDecl>(D);
491
if (const VarDecl *Var =
dyn_cast
<VarDecl>(D)) {
528
=
dyn_cast
<FunctionTemplateDecl>(D))
536
} else if (const FieldDecl *Field =
dyn_cast
<FieldDecl>(D)) {
543
const VarDecl *Var =
dyn_cast
<VarDecl>(D);
544
const FunctionDecl *Func =
dyn_cast
<FunctionDecl>(D);
567
const NamespaceDecl *ND =
dyn_cast
<NamespaceDecl>(DC);
601
if (const VarDecl *Var =
dyn_cast
<VarDecl>(D))
[
all
...]
Type.cpp
199
if (const ArrayType *ATy =
dyn_cast
<ArrayType>(this))
316
if (const T *Sugar =
dyn_cast
<T>(Cur))
411
if (const ComplexType *CT =
dyn_cast
<ComplexType>(CanonicalType))
442
if (const RecordType *RT =
dyn_cast
<RecordType>(this)) {
448
if (const RecordType *RT =
dyn_cast
<RecordType>(CanonicalType)) {
461
if (const RecordType *RT =
dyn_cast
<RecordType>(this)) {
467
if (const RecordType *RT =
dyn_cast
<RecordType>(CanonicalType)) {
545
return
dyn_cast
<CXXRecordDecl>(RT->getDecl());
552
return
dyn_cast
<CXXRecordDecl>(RT->getDecl());
616
if (const VectorType *VT =
dyn_cast
<VectorType>(CanonicalType)
[
all
...]
StmtPrinter.cpp
199
if (CompoundStmt *CS =
dyn_cast
<CompoundStmt>(If->getThen())) {
212
if (CompoundStmt *CS =
dyn_cast
<CompoundStmt>(Else)) {
216
} else if (IfStmt *ElseIf =
dyn_cast
<IfStmt>(Else)) {
240
if (CompoundStmt *CS =
dyn_cast
<CompoundStmt>(Node->getBody())) {
262
if (CompoundStmt *CS =
dyn_cast
<CompoundStmt>(Node->getBody())) {
279
if (DeclStmt *DS =
dyn_cast
<DeclStmt>(Node->getInit()))
296
if (CompoundStmt *CS =
dyn_cast
<CompoundStmt>(Node->getBody())) {
307
if (DeclStmt *DS =
dyn_cast
<DeclStmt>(Node->getElement()))
315
if (CompoundStmt *CS =
dyn_cast
<CompoundStmt>(Node->getBody())) {
455
if (CompoundStmt *TS =
dyn_cast
<CompoundStmt>(Node->getTryBody()))
[
all
...]
Stmt.cpp
102
if (ExprWithCleanups *ewc =
dyn_cast
<ExprWithCleanups>(s))
105
while (ImplicitCastExpr *ice =
dyn_cast
<ImplicitCastExpr>(s))
118
if (const LabelStmt *LS =
dyn_cast
<LabelStmt>(S))
120
else if (const SwitchCase *SC =
dyn_cast
<SwitchCase>(S))
122
else if (const AttributedStmt *AS =
dyn_cast
<AttributedStmt>(S))
324
if (const GCCAsmStmt *gccAsmStmt =
dyn_cast
<GCCAsmStmt>(this))
326
if (const MSAsmStmt *msAsmStmt =
dyn_cast
<MSAsmStmt>(this))
332
if (const GCCAsmStmt *gccAsmStmt =
dyn_cast
<GCCAsmStmt>(this))
334
if (const MSAsmStmt *msAsmStmt =
dyn_cast
<MSAsmStmt>(this))
340
if (const GCCAsmStmt *gccAsmStmt =
dyn_cast
<GCCAsmStmt>(this)
[
all
...]
/external/llvm/lib/Transforms/Utils/
CloneFunction.cpp
56
if (const AllocaInst *AI =
dyn_cast
<AllocaInst>(II)) {
95
if (Argument *Anew =
dyn_cast
<Argument>(VMap[I])) {
138
if (ReturnInst *RI =
dyn_cast
<ReturnInst>(CBB->getTerminator()))
291
if (const AllocaInst *AI =
dyn_cast
<AllocaInst>(II)) {
302
if (const BranchInst *BI =
dyn_cast
<BranchInst>(OldTI)) {
305
ConstantInt *Cond =
dyn_cast
<ConstantInt>(BI->getCondition());
320
} else if (const SwitchInst *SI =
dyn_cast
<SwitchInst>(OldTI)) {
322
ConstantInt *Cond =
dyn_cast
<ConstantInt>(SI->getCondition());
410
if (const PHINode *PN =
dyn_cast
<PHINode>(I))
474
for (; (PN =
dyn_cast
<PHINode>(I)); ++I)
[
all
...]
/external/llvm/include/llvm/Support/
PatternMatch.h
129
if (const Constant *C =
dyn_cast
<Constant>(V))
142
if (const Constant *C =
dyn_cast
<Constant>(V))
166
if (ConstantInt *CI =
dyn_cast
<ConstantInt>(V)) {
171
if (const Constant *C =
dyn_cast
<Constant>(V))
190
if (const ConstantInt *CI =
dyn_cast
<ConstantInt>(V)) {
215
if (const ConstantInt *CI =
dyn_cast
<ConstantInt>(V))
218
if (const Constant *C =
dyn_cast
<Constant>(V))
234
if (const ConstantInt *CI =
dyn_cast
<ConstantInt>(V))
240
if (const Constant *C =
dyn_cast
<Constant>(V))
291
if (Class *CV =
dyn_cast
<Class>(V))
[
all
...]
/external/llvm/lib/Transforms/Scalar/
JumpThreading.cpp
180
BranchInst *BI =
dyn_cast
<BranchInst>(BB->getTerminator());
251
if (const CallInst *CI =
dyn_cast
<CallInst>(I)) {
308
if (UndefValue *U =
dyn_cast
<UndefValue>(Val))
312
return
dyn_cast
<BlockAddress>(Val->stripPointerCasts());
314
return
dyn_cast
<ConstantInt>(Val);
348
Instruction *I =
dyn_cast
<Instruction>(V);
377
if (PHINode *PN =
dyn_cast
<PHINode>(I)) {
458
} else if (BinaryOperator *BO =
dyn_cast
<BinaryOperator>(I)) {
461
if (ConstantInt *CI =
dyn_cast
<ConstantInt>(BO->getOperand(1))) {
480
if (CmpInst *Cmp =
dyn_cast
<CmpInst>(I))
[
all
...]
CorrelatedValuePropagation.cpp
78
ConstantInt *CI =
dyn_cast
<ConstantInt>(C);
109
SelectInst *SI =
dyn_cast
<SelectInst>(Incoming);
112
Constant *C =
dyn_cast
<Constant>(SI->getFalseValue());
142
if (LoadInst *L =
dyn_cast
<LoadInst>(I))
168
Constant *Op1 =
dyn_cast
<Constant>(C->getOperand(1));
GlobalMerge.cpp
204
const ConstantArray *InitList =
dyn_cast
<ConstantArray>(GV->getInitializer());
209
dyn_cast
<GlobalVariable>(InitList->getOperand(i)->stripPointerCasts()))
224
const InvokeInst *II =
dyn_cast
<InvokeInst>(IBB->getTerminator());
232
dyn_cast
<GlobalVariable>(LPInst->getClause(Idx)
254
PointerType *PT =
dyn_cast
<PointerType>(I->getType());
/external/llvm/lib/Analysis/IPA/
InlineCost.cpp
258
ConstantInt *OpC =
dyn_cast
<ConstantInt>(GTI.getOperand());
261
OpC =
dyn_cast
<ConstantInt>(SimpleOp);
267
if (StructType *STy =
dyn_cast
<StructType>(*GTI)) {
366
Constant *COp =
dyn_cast
<Constant>(I.getOperand(0));
394
Constant *COp =
dyn_cast
<Constant>(I.getOperand(0));
430
Constant *COp =
dyn_cast
<Constant>(I.getOperand(0));
460
Constant *COp =
dyn_cast
<Constant>(I.getOperand(0));
477
Constant *COp =
dyn_cast
<Constant>(Operand);
502
if (Constant *CLHS =
dyn_cast
<Constant>(LHS))
503
if (Constant *CRHS =
dyn_cast
<Constant>(RHS)
[
all
...]
/external/llvm/lib/Analysis/
BasicAliasAnalysis.cpp
60
if (const Argument *A =
dyn_cast
<Argument>(V))
164
if (BinaryOperator *BOp =
dyn_cast
<BinaryOperator>(V)) {
165
if (ConstantInt *RHSC =
dyn_cast
<ConstantInt>(BOp->getOperand(1))) {
243
const Operator *Op =
dyn_cast
<Operator>(V);
246
if (const GlobalAlias *GA =
dyn_cast
<GlobalAlias>(V)) {
260
const GEPOperator *GEPOp =
dyn_cast
<GEPOperator>(Op);
264
if (const Instruction *I =
dyn_cast
<Instruction>(V))
296
if (StructType *STy =
dyn_cast
<StructType>(*GTI++)) {
306
if (ConstantInt *CIdx =
dyn_cast
<ConstantInt>(Index)) {
409
if (const Instruction *inst =
dyn_cast
<Instruction>(V)
[
all
...]
BranchProbabilityInfo.cpp
183
ConstantInt *Weight =
dyn_cast
<ConstantInt>(WeightsNode->getOperand(i));
199
BranchInst * BI =
dyn_cast
<BranchInst>(BB->getTerminator());
204
ICmpInst *CI =
dyn_cast
<ICmpInst>(Cond);
286
BranchInst * BI =
dyn_cast
<BranchInst>(BB->getTerminator());
291
ICmpInst *CI =
dyn_cast
<ICmpInst>(Cond);
296
ConstantInt *CV =
dyn_cast
<ConstantInt>(RHS);
346
BranchInst *BI =
dyn_cast
<BranchInst>(BB->getTerminator());
351
FCmpInst *FCmp =
dyn_cast
<FCmpInst>(Cond);
382
InvokeInst *II =
dyn_cast
<InvokeInst>(BB->getTerminator());
ScalarEvolutionNormalization.cpp
47
PHINode *PN =
dyn_cast
<PHINode>(User);
94
if (const SCEVCastExpr *X =
dyn_cast
<SCEVCastExpr>(S)) {
107
if (const SCEVAddRecExpr *AR =
dyn_cast
<SCEVAddRecExpr>(S)) {
159
if (const SCEVNAryExpr *X =
dyn_cast
<SCEVNAryExpr>(S)) {
182
if (const SCEVUDivExpr *X =
dyn_cast
<SCEVUDivExpr>(S)) {
/external/clang/lib/Analysis/
AnalysisDeclContext.cpp
91
if (const FunctionDecl *FD =
dyn_cast
<FunctionDecl>(D)) {
99
else if (const ObjCMethodDecl *MD =
dyn_cast
<ObjCMethodDecl>(D))
101
else if (const BlockDecl *BD =
dyn_cast
<BlockDecl>(D))
122
if (const ObjCMethodDecl *MD =
dyn_cast
<ObjCMethodDecl>(D))
124
if (const BlockDecl *BD =
dyn_cast
<BlockDecl>(D)) {
130
return
dyn_cast
<ImplicitParamDecl>(VD);
141
if (const Expr *e =
dyn_cast
<Expr>(stmt))
149
if (const Expr *e =
dyn_cast
<Expr>(stmt))
215
if (const CXXConstructorDecl *C =
dyn_cast
<CXXConstructorDecl>(getDecl())) {
233
if (const FunctionDecl *FD =
dyn_cast
<FunctionDecl>(D))
[
all
...]
CallGraph.cpp
47
if (BlockExpr *Block =
dyn_cast
<BlockExpr>(CEE)) {
95
if (BlockDecl *BD =
dyn_cast
<BlockDecl>(D))
100
if (DeclContext *DC =
dyn_cast
<DeclContext>(*I))
122
if (const FunctionDecl *FD =
dyn_cast
<FunctionDecl>(D)) {
134
if (const ObjCMethodDecl *ID =
dyn_cast
<ObjCMethodDecl>(D)) {
/external/llvm/lib/IR/
AsmWriter.cpp
53
if (const Argument *MA =
dyn_cast
<Argument>(V))
56
if (const BasicBlock *BB =
dyn_cast
<BasicBlock>(V))
59
if (const Instruction *I =
dyn_cast
<Instruction>(V)) {
64
if (const GlobalValue *GV =
dyn_cast
<GlobalValue>(V))
425
if (const Argument *FA =
dyn_cast
<Argument>(V))
428
if (const Instruction *I =
dyn_cast
<Instruction>(V))
432
if (const BasicBlock *BB =
dyn_cast
<BasicBlock>(V))
435
if (const GlobalVariable *GV =
dyn_cast
<GlobalVariable>(V))
438
if (const GlobalAlias *GA =
dyn_cast
<GlobalAlias>(V))
441
if (const Function *Func =
dyn_cast
<Function>(V)
[
all
...]
/external/llvm/lib/Transforms/Instrumentation/
ThreadSanitizer.cpp
128
if (Function *F =
dyn_cast
<Function>(FuncOrBitcast))
223
if (MDString *Tag1 =
dyn_cast
<MDString>(Tag->getOperand(0))) {
232
if (GetElementPtrInst *GEP =
dyn_cast
<GetElementPtrInst>(Addr))
235
if (GlobalVariable *GV =
dyn_cast
<GlobalVariable>(Addr)) {
241
} else if (LoadInst *L =
dyn_cast
<LoadInst>(Addr)) {
270
if (StoreInst *Store =
dyn_cast
<StoreInst>(I)) {
291
if (LoadInst *LI =
dyn_cast
<LoadInst>(I))
293
if (StoreInst *SI =
dyn_cast
<StoreInst>(I))
436
if (LoadInst *LI =
dyn_cast
<LoadInst>(I)) {
451
} else if (StoreInst *SI =
dyn_cast
<StoreInst>(I))
[
all
...]
BoundsChecking.cpp
144
ConstantInt *SizeCI =
dyn_cast
<ConstantInt>(Size);
195
if (LoadInst *LI =
dyn_cast
<LoadInst>(Inst)) {
197
} else if (StoreInst *SI =
dyn_cast
<StoreInst>(Inst)) {
199
} else if (AtomicCmpXchgInst *AI =
dyn_cast
<AtomicCmpXchgInst>(Inst)) {
201
} else if (AtomicRMWInst *AI =
dyn_cast
<AtomicRMWInst>(Inst)) {
/external/clang/utils/TableGen/
ClangSACheckersEmitter.cpp
32
if (DefInit *DI =
dyn_cast
<DefInit>(R.getValueInit("ParentPackage")))
46
if (DefInit *DI =
dyn_cast
<DefInit>(R->getValueInit("ParentPackage")))
67
if (StringInit *SI =
dyn_cast
<StringInit>(R.getValueInit(field)))
134
DI =
dyn_cast
<DefInit>(R->getValueInit("ParentPackage")))
155
=
dyn_cast
<DefInit>(currR->getValueInit("ParentPackage"))) {
161
if (DefInit *DI =
dyn_cast
<DefInit>(R->getValueInit("Group")))
168
if (DefInit *DI =
dyn_cast
<DefInit>(packages[i]->getValueInit("Group")))
209
if (DefInit *DI =
dyn_cast
<DefInit>(R.getValueInit("Group")))
237
if (DefInit *DI =
dyn_cast
<DefInit>(R.getValueInit("Group")))
/external/llvm/lib/CodeGen/
Analysis.cpp
42
if (StructType *STy =
dyn_cast
<StructType>(Ty)) {
54
else if (ArrayType *ATy =
dyn_cast
<ArrayType>(Ty)) {
79
if (StructType *STy =
dyn_cast
<StructType>(Ty)) {
90
if (ArrayType *ATy =
dyn_cast
<ArrayType>(Ty)) {
110
GlobalVariable *GV =
dyn_cast
<GlobalVariable>(V);
116
GV =
dyn_cast
<GlobalVariable>(Init);
211
const Instruction *I =
dyn_cast
<Instruction>(V);
271
const ReturnInst *Ret =
dyn_cast
<ReturnInst>(Term);
342
const ExtractValueInst *EVI =
dyn_cast
<ExtractValueInst>(InScalar);
/external/clang/lib/CodeGen/
CodeGenTBAA.cpp
65
if (const TagType *TTy =
dyn_cast
<TagType>(QTy))
69
if (const TypedefType *TTy =
dyn_cast
<TypedefType>(QTy)) {
96
if (const BuiltinType *BTy =
dyn_cast
<BuiltinType>(Ty)) {
139
if (const EnumType *ETy =
dyn_cast
<EnumType>(Ty)) {
187
if (const CXXRecordDecl *Decl =
dyn_cast
<CXXRecordDecl>(RD))
/external/clang/lib/StaticAnalyzer/Checkers/
DereferenceChecker.cpp
64
if (const VarDecl *VD =
dyn_cast
<VarDecl>(DR->getDecl())) {
109
if (const Expr *expr =
dyn_cast
<Expr>(S))
113
if (const BinaryOperator *BO =
dyn_cast
<BinaryOperator>(S)) {
116
} else if (const DeclStmt *DS =
dyn_cast
<DeclStmt>(S)) {
118
if (const VarDecl *VD =
dyn_cast
<VarDecl>(DS->getSingleDecl()))
/external/clang/lib/StaticAnalyzer/Core/
SVals.cpp
41
if (const SymbolicRegion *SR =
dyn_cast
<SymbolicRegion>(R)) {
55
if (const FunctionDecl *FD =
dyn_cast
<FunctionDecl>(CTR->getDecl()))
74
if (const SymbolicRegion *SymR =
dyn_cast
<SymbolicRegion>(R))
89
while (const SubRegion *SR =
dyn_cast
<SubRegion>(R)) {
90
if (const SymbolicRegion *SymR =
dyn_cast
<SymbolicRegion>(SR))
/external/llvm/lib/Transforms/IPO/
PruneEH.cpp
115
if (CallInst *CI =
dyn_cast
<CallInst>(I)) {
178
if (InvokeInst *II =
dyn_cast
<InvokeInst>(BB->getTerminator()))
212
if (CallInst *CI =
dyn_cast
<CallInst>(I++))
244
if (CallInst *CI =
dyn_cast
<CallInst>(I)) {
247
} else if (InvokeInst *II =
dyn_cast
<InvokeInst>(I))
/external/llvm/utils/yaml-bench/
YAMLBench.cpp
76
if (yaml::ScalarNode *sn =
dyn_cast
<yaml::ScalarNode>(n)) {
80
} else if (yaml::SequenceNode *sn =
dyn_cast
<yaml::SequenceNode>(n)) {
90
} else if (yaml::MappingNode *mn =
dyn_cast
<yaml::MappingNode>(n)) {
104
} else if (yaml::AliasNode *an =
dyn_cast
<yaml::AliasNode>(n)){
106
} else if (
dyn_cast
<yaml::NullNode>(n)) {
Completed in 1430 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>