OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:dyn_cast
(Results
1 - 25
of
515
) 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/llvm/lib/VMCore/
IntrinsicInst.cpp
35
if (ConstantExpr *CE =
dyn_cast
<ConstantExpr>(C))
44
} else if (GlobalVariable *GV =
dyn_cast
<GlobalVariable>(C)) {
49
return
dyn_cast
<GlobalVariable>(C);
Instruction.cpp
194
if (const LoadInst *LI =
dyn_cast
<LoadInst>(this))
199
if (const StoreInst *SI =
dyn_cast
<StoreInst>(this))
204
if (const CmpInst *CI =
dyn_cast
<CmpInst>(this))
206
if (const CallInst *CI =
dyn_cast
<CallInst>(this))
210
if (const InvokeInst *CI =
dyn_cast
<InvokeInst>(this))
213
if (const InsertValueInst *IVI =
dyn_cast
<InsertValueInst>(this))
215
if (const ExtractValueInst *EVI =
dyn_cast
<ExtractValueInst>(this))
217
if (const FenceInst *FI =
dyn_cast
<FenceInst>(this))
220
if (const AtomicCmpXchgInst *CXI =
dyn_cast
<AtomicCmpXchgInst>(this))
224
if (const AtomicRMWInst *RMWI =
dyn_cast
<AtomicRMWInst>(this)
[
all
...]
BasicBlock.cpp
122
return
dyn_cast
<TerminatorInst>(&InstList.back());
127
return
dyn_cast
<TerminatorInst>(&InstList.back());
160
const IntrinsicInst *II =
dyn_cast
<IntrinsicInst>(i);
223
PHINode *APN =
dyn_cast
<PHINode>(&front());
250
while (PHINode *PN =
dyn_cast
<PHINode>(&front())) {
271
for (iterator II = begin(); (PN =
dyn_cast
<PHINode>(II)); ) {
326
(PN =
dyn_cast
<PHINode>(II)); ++II) {
348
PHINode *PN =
dyn_cast
<PHINode>(II);
367
return
dyn_cast
<LandingPadInst>(getFirstNonPHI());
370
return
dyn_cast
<LandingPadInst>(getFirstNonPHI())
[
all
...]
Dominators.cpp
138
const InvokeInst *II =
dyn_cast
<InvokeInst>(Def);
190
Instruction *UserInst =
dyn_cast
<Instruction>(U.getUser());
202
if (PHINode *PN =
dyn_cast
<PHINode>(UserInst))
220
if (const InvokeInst *II =
dyn_cast
<InvokeInst>(Def)) {
254
Instruction *I =
dyn_cast
<Instruction>(U.getUser());
261
if (PHINode *PN =
dyn_cast
<PHINode>(I))
/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/llvm/include/llvm/ADT/
TinyPtrVector.h
32
if (VecTy *V = Val.template
dyn_cast
<VecTy*>())
36
if (VecTy *V = Val.template
dyn_cast
<VecTy*>())
53
if (VecTy *Vec = Val.template
dyn_cast
<VecTy*>())
99
if (EltTy V = Val.template
dyn_cast
<EltTy>()) {
111
if (EltTy V = Val.template
dyn_cast
<EltTy>())
126
if (EltTy V = Val.template
dyn_cast
<EltTy>()) {
139
} else if (VecTy *Vec = Val.template
dyn_cast
<VecTy*>()) {
151
} else if (VecTy *Vec = Val.template
dyn_cast
<VecTy*>()) {
/external/clang/test/CodeCompletion/
function-templates.cpp
6
X*
dyn_cast
(Y *Val);
18
// CHECK-CC1:
dyn_cast
<<#class X#>>(<#Y *Val#>)
/external/clang/lib/StaticAnalyzer/Checkers/
DeadStoresChecker.cpp
74
dyn_cast
<BinaryOperator>(Ex->IgnoreParenCasts());
173
if (const VarDecl *VD =
dyn_cast
<VarDecl>(DR->getDecl()))
182
const BinaryOperator* BRHS =
dyn_cast
<BinaryOperator>(RHS);
189
if ((DR =
dyn_cast
<DeclRefExpr>(BRHS->getLHS()->IgnoreParenCasts())))
193
if ((DR =
dyn_cast
<DeclRefExpr>(BRHS->getRHS()->IgnoreParenCasts())))
211
if (const BinaryOperator* B =
dyn_cast
<BinaryOperator>(S)) {
214
if (DeclRefExpr *DR =
dyn_cast
<DeclRefExpr>(B->getLHS()))
215
if (VarDecl *VD =
dyn_cast
<VarDecl>(DR->getDecl())) {
229
if (const DeclRefExpr *RhsDR =
dyn_cast
<DeclRefExpr>(RHS))
230
if (VD ==
dyn_cast
<VarDecl>(RhsDR->getDecl())
[
all
...]
UndefinedAssignmentChecker.cpp
55
if (const BinaryOperator *B =
dyn_cast
<BinaryOperator>(StoreE)) {
70
if (const DeclStmt *DS =
dyn_cast
<DeclStmt>(StoreE)) {
71
const VarDecl *VD =
dyn_cast
<VarDecl>(DS->getSingleDecl());
CStringSyntaxChecker.cpp
40
if (const DeclRefExpr *D1 =
dyn_cast
<DeclRefExpr>(A1->IgnoreParenCasts()))
41
if (const DeclRefExpr *D2 =
dyn_cast
<DeclRefExpr>(A2->IgnoreParenCasts()))
49
dyn_cast
<UnaryExprOrTypeTraitExpr>(E))
57
if (const CallExpr *CE =
dyn_cast
<CallExpr>(E)) {
69
if (const IntegerLiteral *IL =
dyn_cast
<IntegerLiteral>(E))
75
if (const DeclRefExpr *D =
dyn_cast
<DeclRefExpr>(E->IgnoreParenCasts()))
111
dyn_cast
<BinaryOperator>(LenArg->IgnoreParenCasts())) {
IteratorsChecker.cpp
172
const NamespaceDecl *nameSpace =
dyn_cast
<NamespaceDecl>(dc);
185
dyn_cast
<ClassTemplateSpecializationDecl>(dc))
216
if (const ElaboratedType *ET =
dyn_cast
<ElaboratedType>(T)) {
253
=
dyn_cast
<MaterializeTemporaryExpr>(lexp))
255
if (const ImplicitCastExpr *ICE =
dyn_cast
<ImplicitCastExpr>(lexp))
279
=
dyn_cast
<MaterializeTemporaryExpr>(rexp))
281
if (const ImplicitCastExpr *ICE =
dyn_cast
<ImplicitCastExpr>(rexp))
284
if (const CallExpr *CE =
dyn_cast
<CallExpr>(rexp)) {
286
if (const MemberExpr *ME =
dyn_cast
<MemberExpr>(CE->getCallee())) {
287
const DeclRefExpr *DRE =
dyn_cast
<DeclRefExpr>(ME->getBase())
[
all
...]
StackAddrEscapeChecker.cpp
52
if (const CompoundLiteralRegion* CR =
dyn_cast
<CompoundLiteralRegion>(R)) {
60
else if (const AllocaRegion* AR =
dyn_cast
<AllocaRegion>(R)) {
67
else if (const BlockDataRegion *BR =
dyn_cast
<BlockDataRegion>(R)) {
74
else if (const VarRegion *VR =
dyn_cast
<VarRegion>(R)) {
79
else if (const CXXTempObjectRegion *TOR =
dyn_cast
<CXXTempObjectRegion>(R)) {
181
dyn_cast
<StackSpaceRegion>(vR->getMemorySpace())) {
/external/clang/lib/StaticAnalyzer/Core/
SVals.cpp
32
if (const nonloc::SymbolVal* SV =
dyn_cast
<nonloc::SymbolVal>(this)) {
38
if (const loc::MemRegionVal *RV =
dyn_cast
<loc::MemRegionVal>(this)) {
40
if (const SymbolicRegion *SR =
dyn_cast
<SymbolicRegion>(R)) {
51
if (const loc::MemRegionVal* X =
dyn_cast
<loc::MemRegionVal>(this)) {
67
if (const nonloc::LocAsInteger *X =
dyn_cast
<nonloc::LocAsInteger>(this))
70
if (const loc::MemRegionVal *X =
dyn_cast
<loc::MemRegionVal>(this)) {
72
if (const SymbolicRegion *SymR =
dyn_cast
<SymbolicRegion>(R))
80
const loc::MemRegionVal *X =
dyn_cast
<loc::MemRegionVal>(this);
87
while (const SubRegion *SR =
dyn_cast
<SubRegion>(R)) {
88
if (const SymbolicRegion *SymR =
dyn_cast
<SymbolicRegion>(SR)
[
all
...]
CheckerHelpers.cpp
36
const DeclRefExpr *DR =
dyn_cast
<DeclRefExpr>(S);
52
const DeclRefExpr *DR =
dyn_cast
<DeclRefExpr>(S);
55
if (const VarDecl *VD =
dyn_cast
<VarDecl>(DR->getDecl()))
/external/clang/tools/libclang/
CIndexCXX.cpp
94
if (CXXRecordDecl *CXXRecord =
dyn_cast
<CXXRecordDecl>(D)) {
96
=
dyn_cast
<ClassTemplatePartialSpecializationDecl>(CXXRecord))
99
=
dyn_cast
<ClassTemplateSpecializationDecl>(CXXRecord)) {
110
} else if (FunctionDecl *Function =
dyn_cast
<FunctionDecl>(D)) {
114
} else if (VarDecl *Var =
dyn_cast
<VarDecl>(D)) {
118
=
dyn_cast
<RedeclarableTemplateDecl>(D))
/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/llvm/lib/Analysis/
MemoryBuiltins.cpp
61
const CallInst *CI =
dyn_cast
<CallInst>(I);
66
CallInst *CI =
dyn_cast
<CallInst>(I);
74
return isMallocCall(
dyn_cast
<CallInst>(BCI->getOperand(0)));
80
BitCastInst *BCI =
dyn_cast
<BitCastInst>(I);
86
const BitCastInst *BCI =
dyn_cast
<BitCastInst>(I);
102
if (StructType *ST =
dyn_cast
<StructType>(T))
145
if (const BitCastInst *BCI =
dyn_cast
<BitCastInst>(*UI++)) {
189
const CallInst *CI =
dyn_cast
<CallInst>(I);
PHITransAddr.cpp
58
Instruction *I =
dyn_cast
<Instruction>(Expr);
116
Instruction *Inst =
dyn_cast
<Instruction>(Addr);
123
Instruction *I =
dyn_cast
<Instruction>(V);
138
if (Instruction *Op =
dyn_cast
<Instruction>(I->getOperand(i)))
147
Instruction *Inst =
dyn_cast
<Instruction>(V);
168
if (PHINode *PN =
dyn_cast
<PHINode>(Inst))
179
if (Instruction *Op =
dyn_cast
<Instruction>(Inst->getOperand(i)))
187
if (CastInst *Cast =
dyn_cast
<CastInst>(Inst)) {
197
if (Constant *C =
dyn_cast
<Constant>(PHIIn))
205
if (CastInst *CastI =
dyn_cast
<CastInst>(*UI)
[
all
...]
ValueTracking.cpp
51
if (ConstantInt *CLHS =
dyn_cast
<ConstantInt>(Op0)) {
245
if (ConstantInt *CI =
dyn_cast
<ConstantInt>(V)) {
261
if (ConstantDataSequential *CDS =
dyn_cast
<ConstantDataSequential>(V)) {
275
if (GlobalValue *GV =
dyn_cast
<GlobalValue>(V)) {
278
if (GlobalVariable *GVar =
dyn_cast
<GlobalVariable>(GV)) {
301
if (GlobalAlias *GA =
dyn_cast
<GlobalAlias>(V)) {
310
if (Argument *A =
dyn_cast
<Argument>(V)) {
325
Operator *I =
dyn_cast
<Operator>(V);
474
if (ConstantInt *SA =
dyn_cast
<ConstantInt>(I->getOperand(1))) {
486
if (ConstantInt *SA =
dyn_cast
<ConstantInt>(I->getOperand(1)))
[
all
...]
/external/llvm/lib/Transforms/Utils/
LowerExpectIntrinsic.cpp
60
CallInst *CI =
dyn_cast
<CallInst>(SI->getCondition());
69
ConstantInt *ExpectedValue =
dyn_cast
<ConstantInt>(CI->getArgOperand(1));
106
ICmpInst *CmpI =
dyn_cast
<ICmpInst>(BI->getCondition());
110
CallInst *CI =
dyn_cast
<CallInst>(CmpI->getOperand(0));
119
ConstantInt *ExpectedValue =
dyn_cast
<ConstantInt>(CI->getArgOperand(1));
148
if (BranchInst *BI =
dyn_cast
<BranchInst>(BB->getTerminator())) {
151
} else if (SwitchInst *SI =
dyn_cast
<SwitchInst>(BB->getTerminator())) {
159
CallInst *CI =
dyn_cast
<CallInst>(BI++);
/external/llvm/include/llvm/Support/
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/clang/lib/Analysis/
PseudoConstantAnalysis.cpp
69
if (const DeclRefExpr *DR =
dyn_cast
<DeclRefExpr>(E))
87
if (const Expr *Ex =
dyn_cast
<Expr>(Head))
123
const VarDecl *VD =
dyn_cast
<VarDecl>(LHSDecl);
157
const VarDecl *VD =
dyn_cast
<VarDecl>(D);
176
const VarDecl *VD =
dyn_cast
<VarDecl>(*I);
191
if (const VarDecl *RefVD =
dyn_cast
<VarDecl>(D)) {
202
if (const VarDecl *VD =
dyn_cast
<VarDecl>(DR->getDecl())) {
/external/llvm/lib/Transforms/InstCombine/
InstCombineSelect.cpp
26
SelectInst *SI =
dyn_cast
<SelectInst>(V);
29
ICmpInst *ICI =
dyn_cast
<ICmpInst>(SI->getCondition());
180
if (BinaryOperator *BO =
dyn_cast
<BinaryOperator>(TI)) {
190
ConstantInt *C1I =
dyn_cast
<ConstantInt>(C1);
193
ConstantInt *C2I =
dyn_cast
<ConstantInt>(C2);
208
if (Instruction *TVI =
dyn_cast
<Instruction>(TrueVal)) {
243
if (Instruction *FVI =
dyn_cast
<Instruction>(FalseVal)) {
290
Instruction *I =
dyn_cast
<Instruction>(V);
295
if (BinaryOperator *B =
dyn_cast
<BinaryOperator>(I)) {
303
if (CmpInst *C =
dyn_cast
<CmpInst>(I))
[
all
...]
/external/clang/lib/CodeGen/
CodeGenTBAA.cpp
61
if (const TagType *TTy =
dyn_cast
<TagType>(QTy))
65
if (const TypedefType *TTy =
dyn_cast
<TypedefType>(QTy)) {
88
if (const BuiltinType *BTy =
dyn_cast
<BuiltinType>(Ty)) {
131
if (const EnumType *ETy =
dyn_cast
<EnumType>(Ty)) {
Completed in 1270 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>