OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:dyn_cast
(Results
176 - 200
of
1820
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
Value.cpp
163
const auto *User =
dyn_cast
<Instruction>(*UI);
176
if (Instruction *I =
dyn_cast
<Instruction>(V)) {
180
} else if (BasicBlock *BB =
dyn_cast
<BasicBlock>(V)) {
183
} else if (GlobalValue *GV =
dyn_cast
<GlobalValue>(V)) {
186
} else if (Argument *A =
dyn_cast
<Argument>(V)) {
297
if (Function *F =
dyn_cast
<Function>(this))
363
const GlobalValue *GV =
dyn_cast
<GlobalValue>(this);
382
auto *CE =
dyn_cast
<ConstantExpr>(O);
395
auto *C =
dyn_cast
<Constant>(V);
399
auto *CE =
dyn_cast
<ConstantExpr>(Expr)
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/
Record.cpp
72
if (const BitsRecTy *BitsTy =
dyn_cast
<BitsRecTy>(RHS))
99
if (const BitsRecTy *RHSb =
dyn_cast
<BitsRecTy>(RHS))
128
if (const auto *ListTy =
dyn_cast
<ListRecTy>(RHS))
134
if (const ListRecTy *RHSl =
dyn_cast
<ListRecTy>(RHS))
223
const RecordRecTy *RTy =
dyn_cast
<RecordRecTy>(RHS);
260
if (RecordRecTy *RecTy1 =
dyn_cast
<RecordRecTy>(T1)) {
261
if (RecordRecTy *RecTy2 =
dyn_cast
<RecordRecTy>(T2))
270
if (ListRecTy *ListTy1 =
dyn_cast
<ListRecTy>(T1)) {
271
if (ListRecTy *ListTy2 =
dyn_cast
<ListRecTy>(T2)) {
319
if (auto *BRT =
dyn_cast
<BitsRecTy>(Ty))
[
all
...]
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
InstCombineCasts.cpp
27
if (ConstantInt *CI =
dyn_cast
<ConstantInt>(Val)) {
33
if (BinaryOperator *I =
dyn_cast
<BinaryOperator>(Val)) {
35
OverflowingBinaryOperator *OBI =
dyn_cast
<OverflowingBinaryOperator>(Val);
42
if (ConstantInt *RHS =
dyn_cast
<ConstantInt>(I->getOperand(1))) {
157
if (Constant *C =
dyn_cast
<Constant>(V)) {
160
if (ConstantExpr *CE =
dyn_cast
<ConstantExpr>(C))
270
if (const CastInst *CI =
dyn_cast
<CastInst>(V))
289
if (CastInst *CSrc =
dyn_cast
<CastInst>(Src)) { // A->B->C cast
299
if (SelectInst *SI =
dyn_cast
<SelectInst>(Src))
333
Instruction *I =
dyn_cast
<Instruction>(V)
[
all
...]
InstCombineAndOrXor.cpp
44
if (CmpInst *CI =
dyn_cast
<CmpInst>(V))
60
if (ConstantInt *C =
dyn_cast
<ConstantInt>(V))
221
ConstantInt *TogetherCI =
dyn_cast
<ConstantInt>(Together);
410
Instruction *LHSI =
dyn_cast
<Instruction>(LHS);
494
ConstantInt *ACst =
dyn_cast
<ConstantInt>(A);
495
ConstantInt *BCst =
dyn_cast
<ConstantInt>(B);
496
ConstantInt *CCst =
dyn_cast
<ConstantInt>(C);
686
ConstantInt *BCst =
dyn_cast
<ConstantInt>(B);
688
ConstantInt *DCst =
dyn_cast
<ConstantInt>(D);
694
ConstantInt *CCst =
dyn_cast
<ConstantInt>(C)
[
all
...]
InstCombineAddSub.cpp
41
Instruction *I =
dyn_cast
<Instruction>(V);
45
if ((CST =
dyn_cast
<ConstantInt>(I->getOperand(1))))
48
if ((CST =
dyn_cast
<ConstantInt>(I->getOperand(1)))) {
98
if (ConstantInt *CI =
dyn_cast
<ConstantInt>(RHS)) {
110
if (ZExtInst *ZI =
dyn_cast
<ZExtInst>(LHS))
191
if (IntegerType *IT =
dyn_cast
<IntegerType>(I.getType())) {
230
if (ConstantInt *CRHS =
dyn_cast
<ConstantInt>(RHS)) {
257
if (SelectInst *SI =
dyn_cast
<SelectInst>(LHS))
264
SelectInst *SI =
dyn_cast
<SelectInst>(LHS);
267
SI =
dyn_cast
<SelectInst>(RHS)
[
all
...]
/external/llvm/lib/Target/NVPTX/
NVPTXUtilities.cpp
51
const MDString *prop =
dyn_cast
<MDString>(md->getOperand(i));
131
if (const GlobalValue *gv =
dyn_cast
<GlobalValue>(&val)) {
144
if (const GlobalValue *gv =
dyn_cast
<GlobalValue>(&val)) {
157
if (const GlobalValue *gv =
dyn_cast
<GlobalValue>(&val)) {
166
if (const Argument *arg =
dyn_cast
<Argument>(&val)) {
180
if (const Argument *arg =
dyn_cast
<Argument>(&val)) {
195
if (const Argument *arg =
dyn_cast
<Argument>(&val)) {
210
if (const Argument *arg =
dyn_cast
<Argument>(&val)) {
230
if(const GlobalValue *gv =
dyn_cast
<GlobalValue>(&val)) {
341
if (BasicBlock *B =
dyn_cast
<BasicBlock>(v)
[
all
...]
/external/clang/lib/ARCMigrate/
TransZeroOutPropsInDealloc.cpp
53
DeclRefExpr *refE =
dyn_cast
<DeclRefExpr>(receiver->IgnoreParenCasts());
107
ObjCImplDecl *IMD =
dyn_cast
<ObjCImplDecl>(D->getDeclContext());
154
if (BinaryOperator *BO =
dyn_cast
<BinaryOperator>(E))
156
if (PseudoObjectExpr *PO =
dyn_cast
<PseudoObjectExpr>(E))
170
if (ObjCIvarRefExpr *IV =
dyn_cast
<ObjCIvarRefExpr>(LHS)) {
194
BinaryOperator *BO =
dyn_cast
<BinaryOperator>(PO->getSyntacticForm());
199
dyn_cast
<ObjCPropertyRefExpr>(BO->getLHS()->IgnoreParens());
TransAutoreleasePool.cpp
57
if (DeclRefExpr *DE =
dyn_cast
<DeclRefExpr>(instance)) {
170
if (DeclStmt *DclS =
dyn_cast
<DeclStmt>(child)) {
172
if (VarDecl *VD =
dyn_cast
<VarDecl>(DclS->getSingleDecl())) {
188
} else if (BinaryOperator *bop =
dyn_cast
<BinaryOperator>(child)) {
189
if (DeclRefExpr *dref =
dyn_cast
<DeclRefExpr>(bop->getLHS())) {
190
if (VarDecl *VD =
dyn_cast
<VarDecl>(dref->getDecl())) {
307
if (ReturnStmt *retS =
dyn_cast
<ReturnStmt>(*SI))
353
ObjCMessageExpr *ME =
dyn_cast
<ObjCMessageExpr>(E);
376
ObjCMessageExpr *ME =
dyn_cast
<ObjCMessageExpr>(S);
380
if (DeclRefExpr *dref =
dyn_cast
<DeclRefExpr>(rec)
[
all
...]
TransRetainReleaseDealloc.cpp
193
if (ReturnStmt *RetS =
dyn_cast
<ReturnStmt>(nextStmt))
221
if (BinaryOperator *Bop =
dyn_cast
<BinaryOperator>(S)) {
225
if (DeclStmt *DS =
dyn_cast
<DeclStmt>(S)) {
227
if (VarDecl *VD =
dyn_cast
<VarDecl>(RefD))
290
if (ObjCMessageExpr *ME =
dyn_cast
<ObjCMessageExpr>(E)) {
301
if (DeclRefExpr *DRE =
dyn_cast
<DeclRefExpr>(E))
303
if (MemberExpr *ME =
dyn_cast
<MemberExpr>(E))
305
if (ObjCIvarRefExpr *IRE =
dyn_cast
<ObjCIvarRefExpr>(E))
341
if (StmtExpr *SE =
dyn_cast
<StmtExpr>(S)) {
375
if (ExprWithCleanups *EWC =
dyn_cast
<ExprWithCleanups>(Rec)
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
WasmEHPrepare.cpp
253
if (auto *CI =
dyn_cast
<CallInst>(&I))
274
if (auto *CI =
dyn_cast
<CallInst>(U.getUser())) {
344
if (const auto *CatchPad =
dyn_cast
<CatchPadInst>(Pad)) {
349
if (const auto *CatchSwitch =
dyn_cast
<CatchSwitchInst>(UnwindPad))
361
if (const auto *Invoke =
dyn_cast
<InvokeInst>(TI))
363
else if (const auto *CleanupRet =
dyn_cast
<CleanupReturnInst>(TI))
368
if (const auto *CatchSwitch =
dyn_cast
<CatchSwitchInst>(UnwindPad))
/external/clang/lib/AST/
DeclBase.cpp
170
if (const TemplateTypeParmDecl *TTP =
dyn_cast
<TemplateTypeParmDecl>(this))
173
=
dyn_cast
<NonTypeTemplateParmDecl>(this))
176
=
dyn_cast
<TemplateTemplateParmDecl>(this))
182
if (const ParmVarDecl *Parm =
dyn_cast
<ParmVarDecl>(this))
189
if (FunctionDecl *FD =
dyn_cast
<FunctionDecl>(this))
191
if (const FunctionTemplateDecl *FTD =
dyn_cast
<FunctionTemplateDecl>(this))
201
if (auto *FD =
dyn_cast
<FunctionDecl>(this))
203
else if (auto *RD =
dyn_cast
<CXXRecordDecl>(this))
205
else if (auto *VD =
dyn_cast
<VarDecl>(this))
296
if (const NamespaceDecl *ND =
dyn_cast
<NamespaceDecl>(DC)
[
all
...]
/external/llvm/lib/Analysis/
DemandedBits.cpp
105
if (const IntrinsicInst *II =
dyn_cast
<IntrinsicInst>(UserI))
146
dyn_cast
<ConstantInt>(UserI->getOperand(1))) {
162
dyn_cast
<ConstantInt>(UserI->getOperand(1))) {
175
dyn_cast
<ConstantInt>(UserI->getOperand(1))) {
282
if (IntegerType *IT =
dyn_cast
<IntegerType>(I.getType())) {
293
if (Instruction *J =
dyn_cast
<Instruction>(OI)) {
294
if (IntegerType *IT =
dyn_cast
<IntegerType>(J->getType()))
325
if (Instruction *I =
dyn_cast
<Instruction>(OI)) {
326
if (IntegerType *IT =
dyn_cast
<IntegerType>(I->getType())) {
ValueTracking.cpp
115
CxtI =
dyn_cast
<Instruction>(V);
189
if (auto *CI =
dyn_cast
<ConstantInt>(V))
240
if (ConstantInt *CLHS =
dyn_cast
<ConstantInt>(Op0)) {
424
if (const User *U =
dyn_cast
<User>(V))
438
if (const CallInst *CI =
dyn_cast
<CallInst>(I))
[
all
...]
/external/llvm/lib/Target/SystemZ/
SystemZTDC.cpp
101
auto *LI =
dyn_cast
<BinaryOperator>(U);
124
auto *Const =
dyn_cast
<ConstantFP>(I.getOperand(1));
216
if (CallInst *CI =
dyn_cast
<CallInst>(Op0)) {
234
auto *Const =
dyn_cast
<ConstantInt>(I.getOperand(1));
239
if (auto *Cast =
dyn_cast
<BitCastInst>(Op0)) {
259
} else if (auto *CI =
dyn_cast
<CallInst>(Op0)) {
267
auto *MaskC =
dyn_cast
<ConstantInt>(CI->getArgOperand(1));
335
if (ConvertedInsts.count(
dyn_cast
<Instruction>(Op->getOperand(0))) &&
336
ConvertedInsts.count(
dyn_cast
<Instruction>(Op->getOperand(1))) &&
/external/llvm/lib/Transforms/Scalar/
MemCpyOptimizer.cpp
49
ConstantInt *OpC =
dyn_cast
<ConstantInt>(GEP->getOperand(i));
55
if (StructType *STy =
dyn_cast
<StructType>(*GTI)) {
83
GEPOperator *GEP1 =
dyn_cast
<GEPOperator>(Ptr1);
84
GEPOperator *GEP2 =
dyn_cast
<GEPOperator>(Ptr2);
211
if (StoreInst *SI =
dyn_cast
<StoreInst>(Inst))
385
if (StoreInst *NextStore =
dyn_cast
<StoreInst>(BI)) {
501
if (auto *Ptr =
dyn_cast
<Instruction>(SI->getPointerOperand()))
560
if (auto *A =
dyn_cast
<Instruction>(C->getOperand(k)))
589
if (LoadInst *LI =
dyn_cast
<LoadInst>(SI->getOperand(0))) {
664
C =
dyn_cast
<CallInst>(ldep.getInst())
[
all
...]
JumpThreading.cpp
217
BranchInst *BI =
dyn_cast
<BranchInst>(BB->getTerminator());
311
if (const CallInst *CI =
dyn_cast
<CallInst>(I)) {
359
if (UndefValue *U =
dyn_cast
<UndefValue>(Val))
363
return
dyn_cast
<BlockAddress>(Val->stripPointerCasts());
365
return
dyn_cast
<ConstantInt>(Val);
399
Instruction *I =
dyn_cast
<Instruction>(V);
427
if (PHINode *PN =
dyn_cast
<PHINode>(I)) {
446
if (CastInst *CI =
dyn_cast
<CastInst>(I)) {
523
} else if (BinaryOperator *BO =
dyn_cast
<BinaryOperator>(I)) {
526
if (ConstantInt *CI =
dyn_cast
<ConstantInt>(BO->getOperand(1)))
[
all
...]
/external/llvm/unittests/Support/
YAMLParserTest.cpp
193
=
dyn_cast
<yaml::SequenceNode>(Stream.begin()->getRoot());
195
=
dyn_cast
<yaml::ScalarNode>(
230
=
dyn_cast
<yaml::SequenceNode>(Stream.begin()->getRoot());
266
yaml::SequenceNode *Node =
dyn_cast
<yaml::SequenceNode>(
281
yaml::SequenceNode *Node =
dyn_cast
<yaml::SequenceNode>(
297
yaml::SequenceNode *Node =
dyn_cast
<yaml::SequenceNode>(
299
yaml::SequenceNode *AnotherNode =
dyn_cast
<yaml::SequenceNode>(
318
yaml::SequenceNode *Node =
dyn_cast
<yaml::SequenceNode>(
320
yaml::SequenceNode *AnotherNode =
dyn_cast
<yaml::SequenceNode>(
/external/swiftshader/third_party/LLVM/lib/CodeGen/
Analysis.cpp
43
if (StructType *STy =
dyn_cast
<StructType>(Ty)) {
55
else if (ArrayType *ATy =
dyn_cast
<ArrayType>(Ty)) {
80
if (StructType *STy =
dyn_cast
<StructType>(Ty)) {
91
if (ArrayType *ATy =
dyn_cast
<ArrayType>(Ty)) {
111
GlobalVariable *GV =
dyn_cast
<GlobalVariable>(V);
117
GV =
dyn_cast
<GlobalVariable>(Init);
213
const ReturnInst *Ret =
dyn_cast
<ReturnInst>(Term);
262
for (const Instruction *U =
dyn_cast
<Instruction>(Ret->getOperand(0)); ;
263
U =
dyn_cast
<Instruction>(U->getOperand(0))) {
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DemandedBits.cpp
112
if (const IntrinsicInst *II =
dyn_cast
<IntrinsicInst>(UserI))
157
if (auto *ShiftAmtC =
dyn_cast
<ConstantInt>(UserI->getOperand(1))) {
172
if (auto *ShiftAmtC =
dyn_cast
<ConstantInt>(UserI->getOperand(1))) {
184
if (auto *ShiftAmtC =
dyn_cast
<ConstantInt>(UserI->getOperand(1))) {
291
if (IntegerType *IT =
dyn_cast
<IntegerType>(I.getType())) {
300
if (Instruction *J =
dyn_cast
<Instruction>(OI)) {
301
if (IntegerType *IT =
dyn_cast
<IntegerType>(J->getType()))
332
if (Instruction *I =
dyn_cast
<Instruction>(OI)) {
333
if (IntegerType *IT =
dyn_cast
<IntegerType>(I->getType())) {
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
NVPTXUtilities.cpp
53
const MDString *prop =
dyn_cast
<MDString>(md->getOperand(i));
133
if (const GlobalValue *gv =
dyn_cast
<GlobalValue>(&val)) {
144
if (const GlobalValue *gv =
dyn_cast
<GlobalValue>(&val)) {
157
if (const GlobalValue *gv =
dyn_cast
<GlobalValue>(&val)) {
164
if (const Argument *arg =
dyn_cast
<Argument>(&val)) {
176
if (const Argument *arg =
dyn_cast
<Argument>(&val)) {
188
if (const Argument *arg =
dyn_cast
<Argument>(&val)) {
200
if (const Argument *arg =
dyn_cast
<Argument>(&val)) {
216
if(const GlobalValue *gv =
dyn_cast
<GlobalValue>(&val)) {
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
SystemZTDC.cpp
101
auto *LI =
dyn_cast
<BinaryOperator>(U);
124
auto *Const =
dyn_cast
<ConstantFP>(I.getOperand(1));
216
if (CallInst *CI =
dyn_cast
<CallInst>(Op0)) {
234
auto *Const =
dyn_cast
<ConstantInt>(I.getOperand(1));
239
if (auto *Cast =
dyn_cast
<BitCastInst>(Op0)) {
259
} else if (auto *CI =
dyn_cast
<CallInst>(Op0)) {
267
auto *MaskC =
dyn_cast
<ConstantInt>(CI->getArgOperand(1));
335
if (ConvertedInsts.count(
dyn_cast
<Instruction>(Op->getOperand(0))) &&
336
ConvertedInsts.count(
dyn_cast
<Instruction>(Op->getOperand(1))) &&
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
YAMLParserTest.cpp
194
=
dyn_cast
<yaml::SequenceNode>(Stream.begin()->getRoot());
196
=
dyn_cast
<yaml::ScalarNode>(
231
=
dyn_cast
<yaml::SequenceNode>(Stream.begin()->getRoot());
267
yaml::SequenceNode *Node =
dyn_cast
<yaml::SequenceNode>(
282
yaml::SequenceNode *Node =
dyn_cast
<yaml::SequenceNode>(
298
yaml::SequenceNode *Node =
dyn_cast
<yaml::SequenceNode>(
300
yaml::SequenceNode *AnotherNode =
dyn_cast
<yaml::SequenceNode>(
319
yaml::SequenceNode *Node =
dyn_cast
<yaml::SequenceNode>(
321
yaml::SequenceNode *AnotherNode =
dyn_cast
<yaml::SequenceNode>(
/external/llvm/lib/IR/
Value.cpp
130
const Instruction *User =
dyn_cast
<Instruction>(*UI);
143
if (Instruction *I =
dyn_cast
<Instruction>(V)) {
147
} else if (BasicBlock *BB =
dyn_cast
<BasicBlock>(V)) {
150
} else if (GlobalValue *GV =
dyn_cast
<GlobalValue>(V)) {
153
} else if (Argument *A =
dyn_cast
<Argument>(V)) {
259
if (Function *F =
dyn_cast
<Function>(this))
325
const GlobalValue *GV =
dyn_cast
<GlobalValue>(this);
344
auto *CE =
dyn_cast
<ConstantExpr>(O);
357
auto *C =
dyn_cast
<Constant>(V);
361
auto *CE =
dyn_cast
<ConstantExpr>(Expr)
[
all
...]
/external/llvm/lib/Object/
SymbolSize.cpp
35
if (auto *M =
dyn_cast
<MachOObjectFile>(&O))
41
if (auto *M =
dyn_cast
<MachOObjectFile>(&O))
50
if (const auto *E =
dyn_cast
<ELFObjectFileBase>(&O)) {
/external/llvm/utils/TableGen/
DAGISelMatcherOpt.cpp
32
if (ScopeMatcher *Scope =
dyn_cast
<ScopeMatcher>(N)) {
43
if (MoveChildMatcher *MC =
dyn_cast
<MoveChildMatcher>(N)) {
45
if (RecordMatcher *RM =
dyn_cast
<RecordMatcher>(MC->getNext()))
50
if (CheckTypeMatcher *CT =
dyn_cast
<CheckTypeMatcher>(MC->getNext()))
55
if (CheckSameMatcher *CS =
dyn_cast
<CheckSameMatcher>(MC->getNext()))
59
if (CheckIntegerMatcher *CS =
dyn_cast
<CheckIntegerMatcher>(MC->getNext()))
74
if (MoveChildMatcher *MC =
dyn_cast
<MoveChildMatcher>(N))
76
dyn_cast
<MoveParentMatcher>(MC->getNext())) {
82
if (EmitNodeMatcher *EN =
dyn_cast
<EmitNodeMatcher>(N))
84
dyn_cast
<CompleteMatchMatcher>(EN->getNext()))
[
all
...]
Completed in 959 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>