OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:dyn_cast
(Results
201 - 225
of
1820
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/mesa3d/src/gallium/state_trackers/clover/llvm/
metadata.hpp
78
using ::llvm::
dyn_cast
;
84
if (auto m =
dyn_cast
< ::llvm::MDNode>(op))
86
if (auto m_name =
dyn_cast
< ::llvm::MDString>(
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
MemCpyOptimizer.cpp
51
ConstantInt *OpC =
dyn_cast
<ConstantInt>(GEP->getOperand(i));
57
if (StructType *STy =
dyn_cast
<StructType>(*GTI)) {
78
GetElementPtrInst *GEP1 =
dyn_cast
<GetElementPtrInst>(Ptr1);
79
GetElementPtrInst *GEP2 =
dyn_cast
<GetElementPtrInst>(Ptr2);
205
if (StoreInst *SI =
dyn_cast
<StoreInst>(Inst))
385
if (StoreInst *NextStore =
dyn_cast
<StoreInst>(BI)) {
489
if (LoadInst *LI =
dyn_cast
<LoadInst>(SI->getOperand(0))) {
495
C =
dyn_cast
<CallInst>(ldep.getInst());
582
AllocaInst *srcAlloca =
dyn_cast
<AllocaInst>(cpySrc);
589
ConstantInt *srcArraySize =
dyn_cast
<ConstantInt>(srcAlloca->getArraySize())
[
all
...]
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
AddrModeMatcher.cpp
207
ConstantInt *RHS =
dyn_cast
<ConstantInt>(AddrInst->getOperand(1));
225
if (StructType *STy =
dyn_cast
<StructType>(*GTI)) {
232
if (ConstantInt *CI =
dyn_cast
<ConstantInt>(AddrInst->getOperand(i))) {
311
if (ConstantInt *CI =
dyn_cast
<ConstantInt>(Addr)) {
317
} else if (GlobalValue *GV =
dyn_cast
<GlobalValue>(Addr)) {
325
} else if (Instruction *I =
dyn_cast
<Instruction>(Addr)) {
345
} else if (ConstantExpr *CE =
dyn_cast
<ConstantExpr>(Addr)) {
422
if (LoadInst *LI =
dyn_cast
<LoadInst>(U)) {
427
if (StoreInst *SI =
dyn_cast
<StoreInst>(U)) {
434
if (CallInst *CI =
dyn_cast
<CallInst>(U))
[
all
...]
Local.cpp
59
if (BranchInst *BI =
dyn_cast
<BranchInst>(T)) {
64
if (ConstantInt *Cond =
dyn_cast
<ConstantInt>(BI->getCondition())) {
104
if (SwitchInst *SI =
dyn_cast
<SwitchInst>(T)) {
107
ConstantInt *CI =
dyn_cast
<ConstantInt>(SI->getCondition());
184
if (IndirectBrInst *IBI =
dyn_cast
<IndirectBrInst>(T)) {
187
dyn_cast
<BlockAddress>(IBI->getAddress()->stripPointerCasts())) {
235
if (DbgDeclareInst *DDI =
dyn_cast
<DbgDeclareInst>(I)) {
240
if (DbgValueInst *DVI =
dyn_cast
<DbgValueInst>(I)) {
250
if (IntrinsicInst *II =
dyn_cast
<IntrinsicInst>(I)) {
268
Instruction *I =
dyn_cast
<Instruction>(V)
[
all
...]
/external/swiftshader/third_party/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()))
66
if (MoveChildMatcher *MC =
dyn_cast
<MoveChildMatcher>(N))
68
dyn_cast
<MoveParentMatcher>(MC->getNext())) {
92
if (EmitNodeMatcher *EN =
dyn_cast
<EmitNodeMatcher>(N))
94
dyn_cast
<CompleteMatchMatcher>(EN->getNext())) {
190
if (ScopeMatcher *Scope =
dyn_cast
<ScopeMatcher>(N)) {
201
CheckPatternPredicateMatcher *CPPM =
dyn_cast
<CheckPatternPredicateMatcher>(N)
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
BasicBlock.cpp
140
return
dyn_cast
<TerminatorInst>(&InstList.back());
146
const ReturnInst *RI =
dyn_cast
<ReturnInst>(&InstList.back());
159
if (auto *BI =
dyn_cast
<BitCastInst>(Prev)) {
167
if (auto *CI =
dyn_cast
<CallInst>(Prev)) {
177
auto *RI =
dyn_cast
<ReturnInst>(&InstList.back());
208
if (auto *II =
dyn_cast
<IntrinsicInst>(&I))
285
PHINode *P = empty() ? nullptr :
dyn_cast
<PHINode>(&*begin());
302
PHINode *APN =
dyn_cast
<PHINode>(&front());
329
while (PHINode *PN =
dyn_cast
<PHINode>(&front())) {
350
for (iterator II = begin(); (PN =
dyn_cast
<PHINode>(II)); )
[
all
...]
Instruction.cpp
245
if (auto *OB =
dyn_cast
<OverflowingBinaryOperator>(V)) {
252
if (auto *PE =
dyn_cast
<PossiblyExactOperator>(V))
257
if (auto *FP =
dyn_cast
<FPMathOperator>(V))
261
if (auto *SrcGEP =
dyn_cast
<GetElementPtrInst>(V))
262
if (auto *DestGEP =
dyn_cast
<GetElementPtrInst>(this))
267
if (auto *OB =
dyn_cast
<OverflowingBinaryOperator>(V)) {
274
if (auto *PE =
dyn_cast
<PossiblyExactOperator>(V))
278
if (auto *FP =
dyn_cast
<FPMathOperator>(V)) {
286
if (auto *SrcGEP =
dyn_cast
<GetElementPtrInst>(V))
287
if (auto *DestGEP =
dyn_cast
<GetElementPtrInst>(this)
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
SymbolSize.cpp
29
if (auto *M =
dyn_cast
<MachOObjectFile>(&O))
35
if (auto *M =
dyn_cast
<MachOObjectFile>(&O))
44
if (const auto *E =
dyn_cast
<ELFObjectFileBase>(&O)) {
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/BPF/InstPrinter/
BPFInstPrinter.cpp
38
if (const MCBinaryExpr *BE =
dyn_cast
<MCBinaryExpr>(Expr))
39
SRE =
dyn_cast
<MCSymbolRefExpr>(BE->getLHS());
41
SRE =
dyn_cast
<MCSymbolRefExpr>(Expr);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
HexagonVectorLoopCarriedReuse.cpp
338
if (CallInst *C1 =
dyn_cast
<CallInst>(I1)) {
339
if (CallInst *C2 =
dyn_cast
<CallInst>(I2)) {
350
ConstantInt *C1 =
dyn_cast
<ConstantInt>(I1->getOperand(i));
351
ConstantInt *C2 =
dyn_cast
<ConstantInt>(I2->getOperand(i));
363
const IntrinsicInst *II =
dyn_cast
<IntrinsicInst>(I);
433
Instruction *OpInst =
dyn_cast
<Instruction>(Op);
438
Instruction *BEOpInst =
dyn_cast
<Instruction>(BEOp);
460
PHINode *PN =
dyn_cast
<PHINode>(Op);
476
Instruction *I =
dyn_cast
<Instruction>(Inst2Replace->getOperand(i));
499
Instruction *I =
dyn_cast
<Instruction>(Inst2Replace->getOperand(j))
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
NVVMReflect.cpp
112
CallInst *Call =
dyn_cast
<CallInst>(&I);
127
if (const CallInst *ConvCall =
dyn_cast
<CallInst>(Str)) {
140
if (const GlobalVariable *GV =
dyn_cast
<GlobalVariable>(Operand)) {
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
EarlyCSE.cpp
98
if (CallInst *CI =
dyn_cast
<CallInst>(Inst))
130
if (BinaryOperator *BinOp =
dyn_cast
<BinaryOperator>(Inst)) {
139
if (CmpInst *CI =
dyn_cast
<CmpInst>(Inst)) {
168
if (CastInst *CI =
dyn_cast
<CastInst>(Inst))
171
if (const ExtractValueInst *EVI =
dyn_cast
<ExtractValueInst>(Inst))
175
if (const InsertValueInst *IVI =
dyn_cast
<InsertValueInst>(Inst))
204
if (BinaryOperator *LHSBinOp =
dyn_cast
<BinaryOperator>(LHSI)) {
216
if (CmpInst *LHSCmp =
dyn_cast
<CmpInst>(LHSI)) {
273
CallInst *CI =
dyn_cast
<CallInst>(Inst);
490
if (IntrinsicInst *II =
dyn_cast
<IntrinsicInst>(Inst)
[
all
...]
MemCpyOptimizer.cpp
84
ConstantInt *OpC =
dyn_cast
<ConstantInt>(GEP->getOperand(i));
118
GEPOperator *GEP1 =
dyn_cast
<GEPOperator>(Ptr1);
119
GEPOperator *GEP2 =
dyn_cast
<GEPOperator>(Ptr2);
251
if (StoreInst *SI =
dyn_cast
<StoreInst>(Inst))
411
if (StoreInst *NextStore =
dyn_cast
<StoreInst>(BI)) {
536
if (auto *Ptr =
dyn_cast
<Instruction>(SI->getPointerOperand()))
599
if (auto *A =
dyn_cast
<Instruction>(C->getOperand(k)))
628
if (LoadInst *LI =
dyn_cast
<LoadInst>(SI->getOperand(0))) {
704
C =
dyn_cast
<CallInst>(ldep.getInst());
830
AllocaInst *srcAlloca =
dyn_cast
<AllocaInst>(cpySrc)
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
YAMLTraits.cpp
137
MapHNode *MN =
dyn_cast
<MapHNode>(CurrentNode);
162
MapHNode *MN =
dyn_cast
<MapHNode>(CurrentNode);
206
if (SequenceHNode *SQ =
dyn_cast
<SequenceHNode>(CurrentNode))
211
if (ScalarHNode *SN =
dyn_cast
<ScalarHNode>(CurrentNode)) {
226
if (SequenceHNode *SQ =
dyn_cast
<SequenceHNode>(CurrentNode)) {
243
if (SequenceHNode *SQ =
dyn_cast
<SequenceHNode>(CurrentNode)) {
265
if (ScalarHNode *SN =
dyn_cast
<ScalarHNode>(CurrentNode)) {
289
if (SequenceHNode *SQ =
dyn_cast
<SequenceHNode>(CurrentNode)) {
301
if (SequenceHNode *SQ =
dyn_cast
<SequenceHNode>(CurrentNode)) {
304
if (ScalarHNode *SN =
dyn_cast
<ScalarHNode>(N.get()))
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
InstCombinePHI.cpp
102
auto *IntToPtr =
dyn_cast
<IntToPtrInst>(PN.user_back());
110
if (LoadInst *LoadI =
dyn_cast
<LoadInst>(U)) {
112
} else if (StoreInst *SI =
dyn_cast
<StoreInst>(U)) {
114
} else if (GetElementPtrInst *GI =
dyn_cast
<GetElementPtrInst>(U)) {
136
if (auto *PI =
dyn_cast
<PtrToIntInst>(Arg)) {
165
auto *LoadI =
dyn_cast
<LoadInst>(Arg);
189
PHINode *PtrPHI =
dyn_cast
<PHINode>(II);
245
LoadInst *LoadI =
dyn_cast
<LoadInst>(IncomingVal);
263
if (auto *IncomingI =
dyn_cast
<Instruction>(IncomingVal)) {
296
Instruction *I =
dyn_cast
<Instruction>(PN.getIncomingValue(i))
[
all
...]
/external/llvm/lib/Transforms/InstCombine/
InstCombineShifts.cpp
34
if (SelectInst *SI =
dyn_cast
<SelectInst>(Op1))
38
if (Constant *CUI =
dyn_cast
<Constant>(Op1))
67
auto *SecondShiftConst =
dyn_cast
<ConstantInt>(SecondShift->getOperand(1));
121
Instruction *I =
dyn_cast
<Instruction>(V);
191
if (Constant *C =
dyn_cast
<Constant>(V)) {
197
if (ConstantExpr *CE =
dyn_cast
<ConstantExpr>(V))
243
if (Instruction *VI =
dyn_cast
<Instruction>(V)) {
285
if (Instruction *VI =
dyn_cast
<Instruction>(V)) {
327
if (ConstantDataVector *CV =
dyn_cast
<ConstantDataVector>(Op1))
329
else if (ConstantVector *CV =
dyn_cast
<ConstantVector>(Op1)
[
all
...]
InstCombineAddSub.cpp
338
if (!Val || !(I =
dyn_cast
<Instruction>(Val)))
347
if ((C0 =
dyn_cast
<ConstantFP>(Opnd0)) && C0->isZero())
350
if ((C1 =
dyn_cast
<ConstantFP>(Opnd1)) && C1->isZero())
381
if (ConstantFP *C =
dyn_cast
<ConstantFP>(V0)) {
386
if (ConstantFP *C =
dyn_cast
<ConstantFP>(V1)) {
428
Instruction *I0 =
dyn_cast
<Instruction>(I->getOperand(0));
429
Instruction *I1 =
dyn_cast
<Instruction>(I->getOperand(1));
481
if (ConstantFP *CFP =
dyn_cast
<ConstantFP>(NewAddSub)) {
485
} else if (Instruction *II =
dyn_cast
<Instruction>(NewAddSub))
490
if (Instruction *II =
dyn_cast
<Instruction>(RI)
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
FunctionComparator.cpp
217
if (auto *VecTyL =
dyn_cast
<VectorType>(TyL))
219
if (auto *VecTyR =
dyn_cast
<VectorType>(TyR))
227
PointerType *PTyL =
dyn_cast
<PointerType>(TyL);
228
PointerType *PTyR =
dyn_cast
<PointerType>(TyR);
255
auto GlobalValueL = const_cast<GlobalValue *>(
dyn_cast
<GlobalValue>(L));
256
auto GlobalValueR = const_cast<GlobalValue *>(
dyn_cast
<GlobalValue>(R));
264
if (const auto *SeqL =
dyn_cast
<ConstantDataSequential>(L)) {
395
PointerType *PTyL =
dyn_cast
<PointerType>(TyL);
396
PointerType *PTyR =
dyn_cast
<PointerType>(TyR);
500
if (const GetElementPtrInst *GEPL =
dyn_cast
<GetElementPtrInst>(L))
[
all
...]
/external/llvm/lib/Analysis/
ScalarEvolution.cpp
273
if (const SCEVConstant *SC =
dyn_cast
<SCEVConstant>(this))
279
if (const SCEVConstant *SC =
dyn_cast
<SCEVConstant>(this))
285
if (const SCEVConstant *SC =
dyn_cast
<SCEVConstant>(this))
291
const SCEVMulExpr *Mul =
dyn_cast
<SCEVMulExpr>(this);
295
const SCEVConstant *SC =
dyn_cast
<SCEVConstant>(Mul->getOperand(0));
383
if (ConstantExpr *VCE =
dyn_cast
<ConstantExpr>(getValue()))
385
if (ConstantExpr *CE =
dyn_cast
<ConstantExpr>(VCE->getOperand(0)))
389
if (ConstantInt *CI =
dyn_cast
<ConstantInt>(CE->getOperand(1)))
400
if (ConstantExpr *VCE =
dyn_cast
<ConstantExpr>(getValue()))
402
if (ConstantExpr *CE =
dyn_cast
<ConstantExpr>(VCE->getOperand(0))
[
all
...]
/external/swiftshader/third_party/LLVM/lib/Analysis/
ScalarEvolutionExpander.cpp
38
if (CastInst *CI =
dyn_cast
<CastInst>(U))
82
if (CastInst *CI =
dyn_cast
<CastInst>(V))
88
if (ConstantExpr *CE =
dyn_cast
<ConstantExpr>(V))
97
if (Constant *C =
dyn_cast
<Constant>(V))
102
if (Argument *A =
dyn_cast
<Argument>(V)) {
116
if (InvokeInst *II =
dyn_cast
<InvokeInst>(I))
129
if (Constant *CLHS =
dyn_cast
<Constant>(LHS))
130
if (Constant *CRHS =
dyn_cast
<Constant>(RHS))
201
if (const SCEVConstant *C =
dyn_cast
<SCEVConstant>(S)) {
206
if (const SCEVConstant *FC =
dyn_cast
<SCEVConstant>(Factor))
[
all
...]
/external/clang/lib/StaticAnalyzer/Core/
BugReporterVisitors.cpp
38
if (const DeclRefExpr *DRE =
dyn_cast
<DeclRefExpr>(E)) {
47
const Expr *E =
dyn_cast
<Expr>(S);
53
if (const BinaryOperator *B =
dyn_cast
<BinaryOperator>(E)) {
58
else if (const UnaryOperator *U =
dyn_cast
<UnaryOperator>(E)) {
62
else if (const MemberExpr *ME =
dyn_cast
<MemberExpr>(E)) {
71
else if (const ObjCIvarRefExpr *IvarRef =
dyn_cast
<ObjCIvarRefExpr>(E)) {
74
else if (const ArraySubscriptExpr *AE =
dyn_cast
<ArraySubscriptExpr>(E)) {
88
if (const BinaryOperator *BE =
dyn_cast
<BinaryOperator>(S))
95
if (const ReturnStmt *RS =
dyn_cast
<ReturnStmt>(S))
243
const ReturnStmt *Ret =
dyn_cast
<ReturnStmt>(SP->getStmt())
[
all
...]
/external/clang/include/clang/Basic/
LLVM.h
57
using llvm::
dyn_cast
;
/external/clang/lib/Analysis/
AnalysisDeclContext.cpp
95
if (const FunctionDecl *FD =
dyn_cast
<FunctionDecl>(D)) {
107
else if (const ObjCMethodDecl *MD =
dyn_cast
<ObjCMethodDecl>(D)) {
118
} else if (const BlockDecl *BD =
dyn_cast
<BlockDecl>(D))
150
if (const ObjCMethodDecl *MD =
dyn_cast
<ObjCMethodDecl>(D))
152
if (const BlockDecl *BD =
dyn_cast
<BlockDecl>(D)) {
157
return
dyn_cast
<ImplicitParamDecl>(VD);
161
auto *CXXMethod =
dyn_cast
<CXXMethodDecl>(D);
175
return
dyn_cast
<ImplicitParamDecl>(VD);
185
if (const Expr *e =
dyn_cast
<Expr>(stmt))
193
if (const Expr *e =
dyn_cast
<Expr>(stmt)
[
all
...]
LiveVariables.cpp
219
while (const ArrayType *VT =
dyn_cast
<ArrayType>(ty)) {
220
if (const VariableArrayType *VAT =
dyn_cast
<VariableArrayType>(VT))
232
if (const Expr *Ex =
dyn_cast
<Expr>(S))
234
if (const ExprWithCleanups *EWC =
dyn_cast
<ExprWithCleanups>(S)) {
238
if (const OpaqueValueExpr *OVE =
dyn_cast
<OpaqueValueExpr>(S)) {
291
if (const VarDecl *VD =
dyn_cast
<VarDecl>(DS->getSingleDecl())) {
304
if (OpaqueValueExpr *OV =
dyn_cast
<OpaqueValueExpr>(child))
340
if (DeclRefExpr *DR =
dyn_cast
<DeclRefExpr>(LHS))
341
if (const VarDecl *VD =
dyn_cast
<VarDecl>(DR->getDecl())) {
367
if (const VarDecl *D =
dyn_cast
<VarDecl>(DR->getDecl())
[
all
...]
/external/clang/tools/libclang/
CXComment.h
49
return
dyn_cast
<T>(C);
Completed in 2008 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>