OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:dyn_cast
(Results
826 - 850
of
1820
) sorted by null
<<
31
32
33
34
35
36
37
38
39
40
>>
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/
ExecutionEngine.cpp
384
ConstantArray *InitList =
dyn_cast
<ConstantArray>(GV->getInitializer());
388
ConstantStruct *CS =
dyn_cast
<ConstantStruct>(InitList->getOperand(i));
396
if (ConstantExpr *CE =
dyn_cast
<ConstantExpr>(FP))
401
if (Function *F =
dyn_cast
<Function>(FP))
576
if (Function *F = const_cast<Function*>(
dyn_cast
<Function>(GV)))
585
const_cast<GlobalVariable *>(
dyn_cast
<GlobalVariable>(GV)))
612
if(StructType *STy =
dyn_cast
<StructType>(C->getType())) {
630
auto* VTy =
dyn_cast
<VectorType>(C->getType());
644
if (const ConstantExpr *CE =
dyn_cast
<ConstantExpr>(C)) {
906
while (auto *A =
dyn_cast
<GlobalAlias>(C))
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/MSP430/
MSP430ISelDAGToDAG.cpp
145
if (GlobalAddressSDNode *G =
dyn_cast
<GlobalAddressSDNode>(N0)) {
149
} else if (ConstantPoolSDNode *CP =
dyn_cast
<ConstantPoolSDNode>(N0)) {
154
} else if (ExternalSymbolSDNode *S =
dyn_cast
<ExternalSymbolSDNode>(N0)) {
157
} else if (JumpTableSDNode *J =
dyn_cast
<JumpTableSDNode>(N0)) {
223
if (ConstantSDNode *CN =
dyn_cast
<ConstantSDNode>(N.getOperand(1))) {
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Sparc/
SparcISelDAGToDAG.cpp
78
if (FrameIndexSDNode *FIN =
dyn_cast
<FrameIndexSDNode>(Addr)) {
90
if (ConstantSDNode *CN =
dyn_cast
<ConstantSDNode>(Addr.getOperand(1))) {
93
dyn_cast
<FrameIndexSDNode>(Addr.getOperand(0))) {
129
if (ConstantSDNode *CN =
dyn_cast
<ConstantSDNode>(Addr.getOperand(1)))
184
if (ConstantSDNode *C =
dyn_cast
<ConstantSDNode>(N->getOperand(i))) {
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
SystemZSelectionDAGInfo.cpp
56
if (auto *CSize =
dyn_cast
<ConstantSDNode>(Size))
85
if (auto *CSize =
dyn_cast
<ConstantSDNode>(Size)) {
89
if (auto *CByte =
dyn_cast
<ConstantSDNode>(Byte)) {
128
auto *CByte =
dyn_cast
<ConstantSDNode>(Byte);
184
if (auto *CSize =
dyn_cast
<ConstantSDNode>(Size)) {
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
InstCombineMulDivRem.cpp
70
BinaryOperator *I =
dyn_cast
<BinaryOperator>(V);
190
if (ConstantInt *CI =
dyn_cast
<ConstantInt>(Op1)) {
252
BinaryOperator *Div =
dyn_cast
<BinaryOperator>(Op0);
256
Div =
dyn_cast
<BinaryOperator>(Op1);
328
if (SExtInst *Op0Conv =
dyn_cast
<SExtInst>(Op0)) {
330
if (ConstantInt *Op1C =
dyn_cast
<ConstantInt>(Op1)) {
345
if (SExtInst *Op1Conv =
dyn_cast
<SExtInst>(Op1)) {
364
if (auto *Op0Conv =
dyn_cast
<ZExtInst>(Op0)) {
366
if (ConstantInt *Op1C =
dyn_cast
<ConstantInt>(Op1)) {
381
if (auto *Op1Conv =
dyn_cast
<ZExtInst>(Op1))
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
BypassSlowDivision.cpp
128
IntegerType *SlowType =
dyn_cast
<IntegerType>(SlowDivOrRem->getType());
192
Instruction *I =
dyn_cast
<Instruction>(V);
205
ConstantInt *C =
dyn_cast
<ConstantInt>(Op1);
207
C =
dyn_cast
<ConstantInt>(cast<BitCastInst>(Op1)->getOperand(0));
395
if (auto *BCI =
dyn_cast
<BitCastInst>(Divisor))
/external/clang/lib/Sema/
SemaChecking.cpp
91
StringLiteral *Literal =
dyn_cast
<StringLiteral>(StrArg);
[
all
...]
JumpDiagnostics.cpp
132
if (const VarDecl *VD =
dyn_cast
<VarDecl>(D)) {
187
if (const CXXConstructExpr *CCE =
dyn_cast
<CXXConstructExpr>(Init)) {
204
if (const TypedefNameDecl *TD =
dyn_cast
<TypedefNameDecl>(D)) {
227
if (VarDecl *VD =
dyn_cast
<VarDecl>(D))
556
if (CaseStmt *CS =
dyn_cast
<CaseStmt>(SubStmt))
558
else if (DefaultStmt *DS =
dyn_cast
<DefaultStmt>(SubStmt))
560
else if (LabelStmt *LS =
dyn_cast
<LabelStmt>(SubStmt))
581
if (GotoStmt *GS =
dyn_cast
<GotoStmt>(Jump)) {
594
if (IndirectGotoStmt *IGS =
dyn_cast
<IndirectGotoStmt>(Jump)) {
609
if (CaseStmt *CS =
dyn_cast
<CaseStmt>(SC)
[
all
...]
SemaTemplateDeduction.cpp
120
if (ImplicitCastExpr *IC =
dyn_cast
<ImplicitCastExpr>(E))
123
dyn_cast
<SubstNonTypeTemplateParmExpr>(E))
129
if (DeclRefExpr *DRE =
dyn_cast
<DeclRefExpr>(E))
130
return
dyn_cast
<NonTypeTemplateParmDecl>(DRE->getDecl());
138
if (NamedDecl *NX =
dyn_cast
<NamedDecl>(X))
140
if (NamedDecl *NY =
dyn_cast
<NamedDecl>(Y))
388
=
dyn_cast
<TemplateTemplateParmDecl>(ParamDecl)) {
443
=
dyn_cast
<TemplateSpecializationType>(Arg)) {
465
const RecordType *RecordArg =
dyn_cast
<RecordType>(Arg);
473
=
dyn_cast
<ClassTemplateSpecializationDecl>(RecordArg->getDecl())
[
all
...]
/external/llvm/lib/Target/AArch64/AsmParser/
AArch64AsmParser.cpp
444
const MCConstantExpr *MCE =
dyn_cast
<MCConstantExpr>(getImm());
453
const MCConstantExpr *MCE =
dyn_cast
<MCConstantExpr>(getImm());
462
const MCConstantExpr *MCE =
dyn_cast
<MCConstantExpr>(getImm());
471
const MCConstantExpr *MCE =
dyn_cast
<MCConstantExpr>(getImm());
515
const MCConstantExpr *MCE =
dyn_cast
<MCConstantExpr>(getImm());
526
const MCConstantExpr *MCE =
dyn_cast
<MCConstantExpr>(getImm());
535
const MCConstantExpr *MCE =
dyn_cast
<MCConstantExpr>(getImm());
544
const MCConstantExpr *MCE =
dyn_cast
<MCConstantExpr>(getImm());
553
const MCConstantExpr *MCE =
dyn_cast
<MCConstantExpr>(getImm());
562
const MCConstantExpr *MCE =
dyn_cast
<MCConstantExpr>(getImm())
[
all
...]
/external/clang/lib/Analysis/
CFG.cpp
36
if (VarDecl *VD =
dyn_cast
<VarDecl>(D))
48
if (auto *DR =
dyn_cast
<DeclRefExpr>(E->IgnoreParenImpCasts()))
80
auto *D =
dyn_cast
<DeclRefExpr>(MaybeDecl->IgnoreParenImpCasts());
328
if (CallExpr *CE =
dyn_cast
<CallExpr>(S)) {
648
const IntegerLiteral *IntLiteral =
dyn_cast
<IntegerLiteral>(LHSExpr);
652
IntLiteral =
dyn_cast
<IntegerLiteral>(RHSExpr);
687
const IntegerLiteral *IntLiteral =
dyn_cast
<IntegerLiteral>(LHSExpr);
691
IntLiteral =
dyn_cast
<IntegerLiteral>(RHSExpr);
698
const BinaryOperator *BitOp =
dyn_cast
<BinaryOperator>(BoolExpr);
704
const IntegerLiteral *IntLiteral2 =
dyn_cast
<IntegerLiteral>(LHSExpr2)
[
all
...]
/external/clang/lib/StaticAnalyzer/Checkers/
DynamicTypePropagation.cpp
159
if (const CXXConstructorCall *Ctor =
dyn_cast
<CXXConstructorCall>(&Call)) {
183
if (const CXXDestructorCall *Dtor =
dyn_cast
<CXXDestructorCall>(&Call)) {
204
if (const ObjCMethodCall *Msg =
dyn_cast
<ObjCMethodCall>(&Call)) {
249
if (const CXXConstructorCall *Ctor =
dyn_cast
<CXXConstructorCall>(&Call)) {
328
if (const DeclRefExpr *DRE =
dyn_cast
<DeclRefExpr>(RecE)) {
333
if (const ObjCMethodDecl *MD =
dyn_cast
<ObjCMethodDecl>(SFCtx->getDecl()))
335
dyn_cast
<ObjCObjectType>(MD->getClassInterface()->getTypeForDecl()))
614
if (const PseudoObjectExpr *POE =
dyn_cast
<PseudoObjectExpr>(E))
616
if (const OpaqueValueExpr *OVE =
dyn_cast
<OpaqueValueExpr>(E))
[
all
...]
IvarInvalidationChecker.cpp
255
if (const ObjCInterfaceDecl *InterfD =
dyn_cast
<ObjCInterfaceDecl>(D)) {
271
if (const ObjCProtocolDecl *ProtD =
dyn_cast
<ObjCProtocolDecl>(D)) {
592
if (const PseudoObjectExpr *POE =
dyn_cast
<PseudoObjectExpr>(E))
594
if (const OpaqueValueExpr *OVE =
dyn_cast
<OpaqueValueExpr>(E))
652
if (const ObjCIvarRefExpr *IvarRef =
dyn_cast
<ObjCIvarRefExpr>(E)) {
657
if (const ObjCPropertyRefExpr *PropRef =
dyn_cast
<ObjCPropertyRefExpr>(E)) {
662
if (const ObjCMessageExpr *MsgExpr =
dyn_cast
<ObjCMessageExpr>(E)) {
/external/clang/lib/StaticAnalyzer/Core/
BugReporter.cpp
128
dyn_cast
<PathDiagnosticEventPiece>(path.front().get())) {
221
PathDiagnosticCallPiece *Call =
dyn_cast
<PathDiagnosticCallPiece>(*I);
255
if (PathDiagnosticCallPiece *C =
dyn_cast
<PathDiagnosticCallPiece>(*I))
258
if (PathDiagnosticMacroPiece *M =
dyn_cast
<PathDiagnosticMacroPiece>(*I))
262
dyn_cast
<PathDiagnosticControlFlowPiece>(*I)) {
272
dyn_cast
<PathDiagnosticControlFlowPiece>(*Next)) {
290
if (PathDiagnosticCallPiece *C =
dyn_cast
<PathDiagnosticCallPiece>(*I))
293
if (PathDiagnosticMacroPiece *M =
dyn_cast
<PathDiagnosticMacroPiece>(*I))
536
dyn_cast
<PathDiagnosticEventPiece>(P)) {
676
if (const DeclRefExpr *DR =
dyn_cast
<DeclRefExpr>(LHS))
[
all
...]
ExprEngineCallAndReturn.cpp
181
removeDead(Pred, Dst,
dyn_cast
<ReturnStmt>(LastSt), LCtx,
257
if (const Expr *Ex =
dyn_cast
<Expr>(CE)) {
268
if (const CXXConstructExpr *CCE =
dyn_cast
<CXXConstructExpr>(CE)) {
339
if (const ObjCMethodCall *Msg =
dyn_cast
<ObjCMethodCall>(Call)) {
365
if (const StackFrameContext *SFC =
dyn_cast
<StackFrameContext>(LCtx)) {
531
if (const ObjCMethodCall *Msg =
dyn_cast
<ObjCMethodCall>(&Call)) {
542
} else if (const CXXConstructorCall *C =
dyn_cast
<CXXConstructorCall>(&Call)){
708
if (const CXXMethodDecl *MD =
dyn_cast
<CXXMethodDecl>(FD))
716
const CXXDestructorDecl *Dtor =
dyn_cast
<CXXDestructorDecl>(FD);
742
if (const FunctionDecl *FD =
dyn_cast
<FunctionDecl>(CalleeADC->getDecl()))
[
all
...]
ProgramState.cpp
242
if (const TypedValueRegion *TR =
dyn_cast
<TypedValueRegion>(R)) {
594
if (const SymbolicRegion *SR =
dyn_cast
<SymbolicRegion>(R))
599
if (const SubRegion *SR =
dyn_cast
<SubRegion>(R)) {
613
if (const BlockDataRegion *BDR =
dyn_cast
<BlockDataRegion>(R)) {
679
while (const SymbolCast *SC =
dyn_cast
<SymbolCast>(Sym))
710
if (const ElementRegion *ER =
dyn_cast
<ElementRegion>(Reg))
713
if (const SymbolicRegion *SR =
dyn_cast
<SymbolicRegion>(Reg))
716
if (const SubRegion *ER =
dyn_cast
<SubRegion>(Reg))
737
if (const SymbolDerived *SD =
dyn_cast
<SymbolDerived>(*SI))
741
if (const SymbolRegionValue *SRV =
dyn_cast
<SymbolRegionValue>(*SI)
[
all
...]
/external/llvm/lib/IR/
DebugInfoMetadata.cpp
120
if (auto *T =
dyn_cast
<DIType>(this))
123
if (auto *SP =
dyn_cast
<DISubprogram>(this))
126
if (auto *LB =
dyn_cast
<DILexicalBlockBase>(this))
129
if (auto *NS =
dyn_cast
<DINamespace>(this))
132
if (auto *M =
dyn_cast
<DIModule>(this))
141
if (auto *T =
dyn_cast
<DIType>(this))
143
if (auto *SP =
dyn_cast
<DISubprogram>(this))
145
if (auto *NS =
dyn_cast
<DINamespace>(this))
147
if (auto *M =
dyn_cast
<DIModule>(this))
399
if (auto *Block =
dyn_cast
<DILexicalBlockBase>(this)
[
all
...]
/external/llvm/lib/Analysis/
LoopInfo.cpp
56
if (const Instruction *I =
dyn_cast
<Instruction>(V))
67
if (Instruction *I =
dyn_cast
<Instruction>(V))
133
dyn_cast
<ConstantInt>(PN->getIncomingValueForBlock(Incoming)))
136
dyn_cast
<Instruction>(PN->getIncomingValueForBlock(Backedge)))
139
if (ConstantInt *CI =
dyn_cast
<ConstantInt>(Inc->getOperand(1)))
158
if (PHINode *P =
dyn_cast
<PHINode>(UI))
306
if (DILocation *L =
dyn_cast
<DILocation>(LoopID->getOperand(i)))
ObjCARCInstKind.cpp
101
if (PointerType *PTy =
dyn_cast
<PointerType>(A0->getType())) {
128
if (PointerType *Pte =
dyn_cast
<PointerType>(ETy))
140
if (PointerType *PTy =
dyn_cast
<PointerType>(A0->getType()))
141
if (PointerType *Pte =
dyn_cast
<PointerType>(PTy->getElementType()))
143
if (PointerType *PTy1 =
dyn_cast
<PointerType>(A1->getType())) {
153
if (PointerType *Pte1 =
dyn_cast
<PointerType>(ETy1))
233
if (const Instruction *I =
dyn_cast
<Instruction>(V)) {
/external/llvm/lib/Transforms/Scalar/
LoopRotation.cpp
85
for (I = OrigHeader->begin(); PHINode *PN =
dyn_cast
<PHINode>(I); ++I)
149
DbgInfoIntrinsic *UserInst =
dyn_cast
<DbgInfoIntrinsic>(U.getUser());
195
BranchInst *BI =
dyn_cast
<BranchInst>(OrigHeader->getTerminator());
278
for (; PHINode *PN =
dyn_cast
<PHINode>(I); ++I)
338
PHINode *PN =
dyn_cast
<PHINode>(BI); ++BI)
558
BranchInst *Jmp =
dyn_cast
<BranchInst>(Latch->getTerminator());
566
BranchInst *BI =
dyn_cast
<BranchInst>(LastExit->getTerminator());
/external/llvm/lib/Transforms/Utils/
LoopUnrollRuntime.cpp
77
PHINode *PN =
dyn_cast
<PHINode>(&BBI);
95
if (Instruction *I =
dyn_cast
<Instruction>(V)) {
176
PHINode *PN =
dyn_cast
<PHINode>(&BBI);
199
Instruction *I =
dyn_cast
<Instruction>(V);
227
PHINode *PN =
dyn_cast
<PHINode>(&BBI);
370
MDNode *MD =
dyn_cast
<MDNode>(LoopID->getOperand(i));
372
const MDString *S =
dyn_cast
<MDString>(MD->getOperand(0));
/external/swiftshader/third_party/LLVM/lib/Analysis/
AliasSetTracker.cpp
352
if (LoadInst *LI =
dyn_cast
<LoadInst>(I))
354
if (StoreInst *SI =
dyn_cast
<StoreInst>(I))
356
if (VAArgInst *VAAI =
dyn_cast
<VAArgInst>(I))
469
if (LoadInst *LI =
dyn_cast
<LoadInst>(I))
471
if (StoreInst *SI =
dyn_cast
<StoreInst>(I))
473
if (VAArgInst *VAAI =
dyn_cast
<VAArgInst>(I))
490
if (Instruction *Inst =
dyn_cast
<Instruction>(PtrVal)) {
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
LICM.cpp
364
if (LoadInst *LI =
dyn_cast
<LoadInst>(&I)) {
379
} else if (CallInst *CI =
dyn_cast
<CallInst>(&I)) {
423
if (PHINode *PN =
dyn_cast
<PHINode>(User)) {
632
if (LoadInst *LI =
dyn_cast
<LoadInst>(I))
719
Instruction *Use =
dyn_cast
<Instruction>(*UI);
725
if (LoadInst *load =
dyn_cast
<LoadInst>(Use)) {
729
} else if (StoreInst *store =
dyn_cast
<StoreInst>(Use)) {
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
LowerInvoke.cpp
175
if (InvokeInst *II =
dyn_cast
<InvokeInst>(BB->getTerminator())) {
196
} else if (UnwindInst *UI =
dyn_cast
<UnwindInst>(BB->getTerminator())) {
228
while (PHINode *PN =
dyn_cast
<PHINode>(II->getUnwindDest()->begin())) {
351
if (AllocaInst *AI =
dyn_cast
<AllocaInst>(Inst))
412
if (ReturnInst *RI =
dyn_cast
<ReturnInst>(BB->getTerminator())) {
416
} else if (InvokeInst *II =
dyn_cast
<InvokeInst>(BB->getTerminator())) {
418
} else if (UnwindInst *UI =
dyn_cast
<UnwindInst>(BB->getTerminator())) {
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
MemorySSAUpdater.cpp
171
if (MemoryPhi *UsePhi =
dyn_cast
<MemoryPhi>(&*U)) {
311
if (auto *MD =
dyn_cast
<MemoryDef>(FirstDef))
337
if (MemoryPhi *Phi =
dyn_cast
<MemoryPhi>(NewDef))
401
if (MemoryPhi *PhiUser =
dyn_cast
<MemoryPhi>(U))
411
if (auto *MD =
dyn_cast
<MemoryDef>(What))
535
if (MemoryPhi *MP =
dyn_cast
<MemoryPhi>(MA)) {
565
if (auto *MUD =
dyn_cast
<MemoryUseOrDef>(U.getUser()))
Completed in 1349 milliseconds
<<
31
32
33
34
35
36
37
38
39
40
>>