OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:dyn_cast
(Results
51 - 75
of
1820
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/clang/include/clang/AST/
ASTLambda.h
54
if (CXXConversionDecl *Conv =
dyn_cast
<CXXConversionDecl>(D))
56
if (FunctionTemplateDecl *F =
dyn_cast
<FunctionTemplateDecl>(D))
65
dyn_cast
<CXXMethodDecl>(DC));
/external/clang/lib/AST/
Mangle.cpp
60
if (const FunctionDecl *FD =
dyn_cast
<FunctionDecl>(ND))
78
const FunctionDecl *FD =
dyn_cast
<FunctionDecl>(ND);
143
if (const ObjCMethodDecl *OMD =
dyn_cast
<ObjCMethodDecl>(D))
158
else if (const ObjCMethodDecl *OMD =
dyn_cast
<ObjCMethodDecl>(D))
165
const FunctionProtoType *Proto =
dyn_cast
<FunctionProtoType>(FT);
175
if (const CXXMethodDecl *MD =
dyn_cast
<CXXMethodDecl>(FD))
227
if (const ObjCMethodDecl *Method =
dyn_cast
<ObjCMethodDecl>(DC)) {
237
if (const auto *CD =
dyn_cast
<CXXConstructorDecl>(DC))
239
else if (const auto *DD =
dyn_cast
<CXXDestructorDecl>(DC))
241
else if (auto ND =
dyn_cast
<NamedDecl>(DC))
[
all
...]
/external/llvm/lib/Target/PowerPC/
PPCBoolRetToInt.cpp
69
if (User *CurrUser =
dyn_cast
<User>(Curr))
80
if (Constant *C =
dyn_cast
<Constant>(V))
82
if (PHINode *P =
dyn_cast
<PHINode>(V)) {
93
Argument *A =
dyn_cast
<Argument>(V);
94
Instruction *I =
dyn_cast
<Instruction>(V);
117
if (const PHINode *P =
dyn_cast
<PHINode>(&I))
141
const PHINode *Phi =
dyn_cast
<PHINode>(V);
179
if (ReturnInst *R =
dyn_cast
<ReturnInst>(&I))
184
if (CallInst *CI =
dyn_cast
<CallInst>(&I))
210
if (const PHINode *P =
dyn_cast
<PHINode>(V)
[
all
...]
/external/llvm/lib/Transforms/Utils/
GlobalStatus.cpp
42
if (const Constant *CU =
dyn_cast
<Constant>(U)) {
52
if (const GlobalVariable *GV =
dyn_cast
<GlobalVariable>(V))
58
if (const ConstantExpr *CE =
dyn_cast
<ConstantExpr>(UR)) {
68
} else if (const Instruction *I =
dyn_cast
<Instruction>(UR)) {
76
if (const LoadInst *LI =
dyn_cast
<LoadInst>(I)) {
82
} else if (const StoreInst *SI =
dyn_cast
<StoreInst>(I)) {
98
dyn_cast
<GlobalVariable>(SI->getOperand(1))) {
101
if (Constant *C =
dyn_cast
<Constant>(StoredVal)) {
137
} else if (const PHINode *PN =
dyn_cast
<PHINode>(I)) {
145
} else if (const MemTransferInst *MTI =
dyn_cast
<MemTransferInst>(I))
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
Operator.cpp
24
if (auto *I =
dyn_cast
<GetElementPtrInst>(this))
30
if (auto *I =
dyn_cast
<GetElementPtrInst>(this))
43
ConstantInt *OpC =
dyn_cast
<ConstantInt>(GTI.getOperand());
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
PPCBoolRetToInt.cpp
81
auto *CurrUser =
dyn_cast
<User>(Curr);
97
if (auto *C =
dyn_cast
<Constant>(V))
99
if (auto *P =
dyn_cast
<PHINode>(V)) {
110
auto *A =
dyn_cast
<Argument>(V);
111
auto *I =
dyn_cast
<Instruction>(V);
134
if (const auto *P =
dyn_cast
<PHINode>(&I))
158
const auto *Phi =
dyn_cast
<PHINode>(V);
204
if (auto *R =
dyn_cast
<ReturnInst>(&I))
209
if (auto *CI =
dyn_cast
<CallInst>(&I))
236
if (const auto *P =
dyn_cast
<PHINode>(V)
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
ARMCodeGenPrepare.cpp
132
const IntegerType *IntTy =
dyn_cast
<IntegerType>(V->getType());
140
if (auto *ZExt =
dyn_cast
<ZExtInst>(V))
153
if (auto *Store =
dyn_cast
<StoreInst>(V))
155
if (auto *Return =
dyn_cast
<ReturnInst>(V))
167
else if (auto *ZExt =
dyn_cast
<ZExtInst>(V))
171
else if (auto *Call =
dyn_cast
<CallInst>(V))
173
else if (auto *Load =
dyn_cast
<LoadInst>(V)) {
217
if (auto *Const =
dyn_cast
<ConstantInt>(Op))
225
auto *I =
dyn_cast
<Instruction>(V);
236
if (auto *ZExt =
dyn_cast
<ZExtInst>(I)
[
all
...]
/external/swiftshader/third_party/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
...]
/external/llvm/include/llvm/Analysis/
MemoryLocation.h
71
if (auto *I =
dyn_cast
<LoadInst>(Inst))
73
else if (auto *I =
dyn_cast
<StoreInst>(Inst))
75
else if (auto *I =
dyn_cast
<VAArgInst>(Inst))
77
else if (auto *I =
dyn_cast
<AtomicCmpXchgInst>(Inst))
79
else if (auto *I =
dyn_cast
<AtomicRMWInst>(Inst))
/external/llvm/lib/Analysis/
LoopUnrollAnalyzer.cpp
34
if (auto *SC =
dyn_cast
<SCEVConstant>(S)) {
39
auto *AR =
dyn_cast
<SCEVAddRecExpr>(S);
45
if (auto *SC =
dyn_cast
<SCEVConstant>(ValueAtIteration)) {
51
auto *Base =
dyn_cast
<SCEVUnknown>(SE.getPointerBase(S));
55
dyn_cast
<SCEVConstant>(SE.getMinusSCEV(ValueAtIteration, Base));
81
if (auto FI =
dyn_cast
<FPMathOperator>(&I))
104
auto *GV =
dyn_cast
<GlobalVariable>(AddressIt->second.Base);
111
dyn_cast
<ConstantDataSequential>(GV->getInitializer());
141
Constant *COp =
dyn_cast
<Constant>(I.getOperand(0));
188
if (Constant *CLHS =
dyn_cast
<Constant>(LHS))
[
all
...]
PHITransAddr.cpp
60
Instruction *I =
dyn_cast
<Instruction>(Expr);
118
Instruction *Inst =
dyn_cast
<Instruction>(Addr);
125
Instruction *I =
dyn_cast
<Instruction>(V);
140
if (Instruction *Op =
dyn_cast
<Instruction>(I->getOperand(i)))
149
Instruction *Inst =
dyn_cast
<Instruction>(V);
171
if (PHINode *PN =
dyn_cast
<PHINode>(Inst))
182
if (Instruction *Op =
dyn_cast
<Instruction>(Inst->getOperand(i)))
190
if (CastInst *Cast =
dyn_cast
<CastInst>(Inst)) {
200
if (Constant *C =
dyn_cast
<Constant>(PHIIn))
207
if (CastInst *CastI =
dyn_cast
<CastInst>(U)
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
LoopUnrollAnalyzer.cpp
33
if (auto *SC =
dyn_cast
<SCEVConstant>(S)) {
38
auto *AR =
dyn_cast
<SCEVAddRecExpr>(S);
44
if (auto *SC =
dyn_cast
<SCEVConstant>(ValueAtIteration)) {
50
auto *Base =
dyn_cast
<SCEVUnknown>(SE.getPointerBase(S));
54
dyn_cast
<SCEVConstant>(SE.getMinusSCEV(ValueAtIteration, Base));
80
if (auto FI =
dyn_cast
<FPMathOperator>(&I))
103
auto *GV =
dyn_cast
<GlobalVariable>(AddressIt->second.Base);
110
dyn_cast
<ConstantDataSequential>(GV->getInitializer());
146
Constant *COp =
dyn_cast
<Constant>(I.getOperand(0));
193
if (Constant *CLHS =
dyn_cast
<Constant>(LHS))
[
all
...]
PHITransAddr.cpp
61
Instruction *I =
dyn_cast
<Instruction>(Expr);
118
Instruction *Inst =
dyn_cast
<Instruction>(Addr);
125
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))
205
if (CastInst *CastI =
dyn_cast
<CastInst>(U)
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/
JSONBackend.cpp
52
} else if (auto *Bit =
dyn_cast
<BitInit>(&I)) {
54
} else if (auto *Bits =
dyn_cast
<BitsInit>(&I)) {
59
} else if (auto *Int =
dyn_cast
<IntInit>(&I)) {
61
} else if (auto *Str =
dyn_cast
<StringInit>(&I)) {
63
} else if (auto *Code =
dyn_cast
<CodeInit>(&I)) {
65
} else if (auto *List =
dyn_cast
<ListInit>(&I)) {
80
if (auto *Def =
dyn_cast
<DefInit>(&I)) {
84
} else if (auto *Var =
dyn_cast
<VarInit>(&I)) {
88
} else if (auto *VarBit =
dyn_cast
<VarBitInit>(&I)) {
89
if (auto *Var =
dyn_cast
<VarInit>(VarBit->getBitVar()))
[
all
...]
/external/clang/lib/Analysis/
PseudoConstantAnalysis.cpp
68
if (const DeclRefExpr *DR =
dyn_cast
<DeclRefExpr>(E))
86
if (const Expr *Ex =
dyn_cast
<Expr>(Head))
122
const VarDecl *VD =
dyn_cast
<VarDecl>(LHSDecl);
156
const VarDecl *VD =
dyn_cast
<VarDecl>(D);
174
const VarDecl *VD =
dyn_cast
<VarDecl>(I);
189
if (const VarDecl *RefVD =
dyn_cast
<VarDecl>(D)) {
200
if (const VarDecl *VD =
dyn_cast
<VarDecl>(DR->getDecl())) {
/external/clang/lib/StaticAnalyzer/Checkers/
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()))
112
dyn_cast
<BinaryOperator>(LenArg->IgnoreParenCasts())) {
/external/llvm/lib/IR/
BasicBlock.cpp
126
return
dyn_cast
<TerminatorInst>(&InstList.back());
131
return
dyn_cast
<TerminatorInst>(&InstList.back());
137
ReturnInst *RI =
dyn_cast
<ReturnInst>(&InstList.back());
150
if (auto *BI =
dyn_cast
<BitCastInst>(Prev)) {
158
if (auto *CI =
dyn_cast
<CallInst>(Prev)) {
168
auto *RI =
dyn_cast
<ReturnInst>(&InstList.back());
199
if (auto *II =
dyn_cast
<IntrinsicInst>(&I))
288
PHINode *APN =
dyn_cast
<PHINode>(&front());
315
while (PHINode *PN =
dyn_cast
<PHINode>(&front())) {
336
for (iterator II = begin(); (PN =
dyn_cast
<PHINode>(II)); )
[
all
...]
/external/clang/lib/Tooling/Core/
QualTypeNames.cpp
141
if (const auto *TST =
dyn_cast
<const TemplateSpecializationType>(TypePtr)) {
165
} else if (const auto *TSTRecord =
dyn_cast
<const RecordType>(TypePtr)) {
171
dyn_cast
<ClassTemplateSpecializationDecl>(TSTRecord->getDecl())) {
206
if (const auto *NS =
dyn_cast
<NamespaceDecl>(DC)) {
209
NS =
dyn_cast
<NamespaceDecl>(NS->getDeclContext());
215
} else if (const auto *TD =
dyn_cast
<TagDecl>(DC)) {
217
} else if (const auto *TDD =
dyn_cast
<TypedefNameDecl>(DC)) {
267
} else if (const auto *TDD =
dyn_cast
<TypedefType>(Type)) {
289
if (const auto *CxxDecl =
dyn_cast
<CXXRecordDecl>(DC)) {
304
Outer =
dyn_cast
<NamedDecl>(Decl)
[
all
...]
/external/swiftshader/third_party/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)) {
191
ConstantInt *C1I =
dyn_cast
<ConstantInt>(C1);
194
ConstantInt *C2I =
dyn_cast
<ConstantInt>(C2);
209
if (Instruction *TVI =
dyn_cast
<Instruction>(TrueVal)) {
244
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/swiftshader/third_party/LLVM/lib/Analysis/
ValueTracking.cpp
76
if (ConstantInt *CI =
dyn_cast
<ConstantInt>(V)) {
91
if (ConstantVector *CV =
dyn_cast
<ConstantVector>(V)) {
103
if (GlobalValue *GV =
dyn_cast
<GlobalValue>(V)) {
125
if (GlobalAlias *GA =
dyn_cast
<GlobalAlias>(V)) {
135
if (Argument *A =
dyn_cast
<Argument>(V)) {
150
Operator *I =
dyn_cast
<Operator>(V);
328
if (ConstantInt *SA =
dyn_cast
<ConstantInt>(I->getOperand(1))) {
342
if (ConstantInt *SA =
dyn_cast
<ConstantInt>(I->getOperand(1))) {
360
if (ConstantInt *SA =
dyn_cast
<ConstantInt>(I->getOperand(1))) {
381
if (ConstantInt *CLHS =
dyn_cast
<ConstantInt>(I->getOperand(0)))
[
all
...]
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
...]
/external/clang/lib/Index/
IndexingContext.cpp
112
if (const NamedDecl *ND =
dyn_cast
<NamedDecl>(D)) {
131
SD =
dyn_cast
<ClassTemplateSpecializationDecl>(D)) {
134
if (const FunctionDecl *FD =
dyn_cast
<FunctionDecl>(D)) {
165
SD =
dyn_cast
<ClassTemplateSpecializationDecl>(D)) {
168
if (const FunctionDecl *FD =
dyn_cast
<FunctionDecl>(D)) {
175
if (auto VD =
dyn_cast
<VarDecl>(D))
178
if (auto FD =
dyn_cast
<FunctionDecl>(D))
181
if (auto TD =
dyn_cast
<TagDecl>(D))
184
if (auto MD =
dyn_cast
<ObjCMethodDecl>(D))
206
if (auto NS =
dyn_cast
<NamespaceDecl>(Parent))
[
all
...]
/external/llvm/include/llvm/ADT/
TinyPtrVector.h
38
if (VecTy *V = Val.template
dyn_cast
<VecTy*>())
43
if (VecTy *V = Val.template
dyn_cast
<VecTy*>())
88
if (VecTy *V = Val.template
dyn_cast
<VecTy*>()) {
149
if (VecTy *Vec = Val.template
dyn_cast
<VecTy*>())
199
if (EltTy V = Val.template
dyn_cast
<EltTy>()) {
211
if (EltTy V = Val.template
dyn_cast
<EltTy>())
218
if (EltTy V = Val.template
dyn_cast
<EltTy>())
233
if (EltTy V = Val.template
dyn_cast
<EltTy>()) {
254
} else if (VecTy *Vec = Val.template
dyn_cast
<VecTy*>()) {
269
} else if (VecTy *Vec = Val.template
dyn_cast
<VecTy*>())
[
all
...]
/external/llvm/lib/CodeGen/
StackProtector.cpp
124
if (ArrayType *AT =
dyn_cast
<ArrayType>(Ty)) {
146
const StructType *ST =
dyn_cast
<StructType>(Ty);
168
if (const StoreInst *SI =
dyn_cast
<StoreInst>(U)) {
171
} else if (const PtrToIntInst *SI =
dyn_cast
<PtrToIntInst>(U)) {
178
} else if (const SelectInst *SI =
dyn_cast
<SelectInst>(U)) {
181
} else if (const PHINode *PN =
dyn_cast
<PHINode>(U)) {
187
} else if (const GetElementPtrInst *GEP =
dyn_cast
<GetElementPtrInst>(U)) {
190
} else if (const BitCastInst *BI =
dyn_cast
<BitCastInst>(U)) {
216
if (const CallInst *CI =
dyn_cast
<CallInst>(&I))
237
if (const AllocaInst *AI =
dyn_cast
<AllocaInst>(&I))
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
TinyPtrVector.h
44
if (VecTy *V = Val.template
dyn_cast
<VecTy*>())
49
if (VecTy *V = Val.template
dyn_cast
<VecTy*>())
96
if (VecTy *V = Val.template
dyn_cast
<VecTy*>()) {
164
if (VecTy *Vec = Val.template
dyn_cast
<VecTy*>())
217
if (EltTy V = Val.template
dyn_cast
<EltTy>()) {
229
if (EltTy V = Val.template
dyn_cast
<EltTy>())
236
if (EltTy V = Val.template
dyn_cast
<EltTy>())
251
if (EltTy V = Val.template
dyn_cast
<EltTy>()) {
272
} else if (VecTy *Vec = Val.template
dyn_cast
<VecTy*>()) {
287
} else if (VecTy *Vec = Val.template
dyn_cast
<VecTy*>())
[
all
...]
Completed in 1630 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>