OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:dyn_cast
(Results
126 - 150
of
594
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/llvm/lib/Transforms/InstCombine/
InstCombineAndOrXor.cpp
45
if (CmpInst *CI =
dyn_cast
<CmpInst>(V))
61
if (ConstantInt *C =
dyn_cast
<ConstantInt>(V))
158
ConstantInt *TogetherCI =
dyn_cast
<ConstantInt>(Together);
347
Instruction *LHSI =
dyn_cast
<Instruction>(LHS);
431
ConstantInt *ACst =
dyn_cast
<ConstantInt>(A);
432
ConstantInt *BCst =
dyn_cast
<ConstantInt>(B);
433
ConstantInt *CCst =
dyn_cast
<ConstantInt>(C);
502
if (ConstantInt *C =
dyn_cast
<ConstantInt>(I->getOperand(1)))
514
if (ConstantInt *C =
dyn_cast
<ConstantInt>(I->getOperand(1)))
672
ConstantInt *BCst =
dyn_cast
<ConstantInt>(B)
[
all
...]
InstCombineAddSub.cpp
316
if (Val == 0 || !(I =
dyn_cast
<Instruction>(Val)))
325
if ((C0 =
dyn_cast
<ConstantFP>(Opnd0)) && C0->isZero())
328
if ((C1 =
dyn_cast
<ConstantFP>(Opnd1)) && C1->isZero())
359
if (ConstantFP *C =
dyn_cast
<ConstantFP>(V0)) {
364
if (ConstantFP *C =
dyn_cast
<ConstantFP>(V1)) {
406
Instruction *I0 =
dyn_cast
<Instruction>(I->getOperand(0));
407
Instruction *I1 =
dyn_cast
<Instruction>(I->getOperand(1));
454
if (ConstantFP *CFP =
dyn_cast
<ConstantFP>(NewAddSub)) {
706
if (Instruction *I =
dyn_cast
<Instruction>(V))
719
if (Instruction *I =
dyn_cast
<Instruction>(V)
[
all
...]
InstCombineCompares.cpp
61
if (VectorType *VTy =
dyn_cast
<VectorType>(In1->getType())) {
96
if (VectorType *VTy =
dyn_cast
<VectorType>(In1->getType())) {
231
ConstantInt *Idx =
dyn_cast
<ConstantInt>(GEP->getOperand(i));
237
if (StructType *STy =
dyn_cast
<StructType>(EltTy))
239
else if (ArrayType *ATy =
dyn_cast
<ArrayType>(EltTy)) {
488
if (ConstantInt *CI =
dyn_cast
<ConstantInt>(GEP->getOperand(i))) {
493
if (StructType *STy =
dyn_cast
<StructType>(*GTI)) {
516
ConstantInt *CI =
dyn_cast
<ConstantInt>(GEP->getOperand(i));
523
if (StructType *STy =
dyn_cast
<StructType>(*GTI)) {
584
if (BitCastInst *BCI =
dyn_cast
<BitCastInst>(RHS)
[
all
...]
/external/llvm/utils/yaml2obj/
yaml2obj.cpp
125
yaml::MappingNode *MN =
dyn_cast
<yaml::MappingNode>(HeaderN);
132
yaml::ScalarNode *Key =
dyn_cast
<yaml::ScalarNode>(i->getKey());
143
yaml::ScalarNode *Value =
dyn_cast
<yaml::ScalarNode>(i->getValue());
239
yaml::ScalarNode *Value =
dyn_cast
<yaml::ScalarNode>(Characteristics);
241
=
dyn_cast
<yaml::SequenceNode>(Characteristics);
256
yaml::ScalarNode *CharValue =
dyn_cast
<yaml::ScalarNode>(&*ci);
305
yaml::SequenceNode *SN =
dyn_cast
<yaml::SequenceNode>(SectionsN);
314
yaml::MappingNode *SecMap =
dyn_cast
<yaml::MappingNode>(&*i);
321
yaml::ScalarNode *Key =
dyn_cast
<yaml::ScalarNode>(si->getKey());
329
yaml::ScalarNode *Value =
dyn_cast
<yaml::ScalarNode>(si->getValue())
[
all
...]
/external/clang/include/clang/AST/
ASTTypeTraits.h
101
return
dyn_cast
<T>(*reinterpret_cast<Decl*const*>(Storage));
115
return
dyn_cast
<T>(*reinterpret_cast<Stmt*const*>(Storage));
129
return
dyn_cast
<T>(*reinterpret_cast<Type*const*>(Storage));
/external/clang/lib/AST/
Mangle.cpp
114
if (const ObjCMethodDecl *Method =
dyn_cast
<ObjCMethodDecl>(DC)) {
139
dyn_cast
<ObjCContainerDecl>(MD->getDeclContext());
142
if (const ObjCCategoryImplDecl *CID =
dyn_cast
<ObjCCategoryImplDecl>(CD))
TemplateName.cpp
72
if (TemplateDecl *Template = Storage.
dyn_cast
<TemplateDecl *>())
114
=
dyn_cast
<TemplateTemplateParmDecl>(Template))
130
if (TemplateDecl *Template = Storage.
dyn_cast
<TemplateDecl *>())
/external/clang/lib/StaticAnalyzer/Checkers/
IdempotentOperationChecker.cpp
474
const DeclRefExpr *LHS_DR =
dyn_cast
<DeclRefExpr>(LHS);
478
const VarDecl *VD =
dyn_cast
<VarDecl>(LHS_DR->getDecl());
482
const DeclRefExpr *RHS_DR =
dyn_cast
<DeclRefExpr>(RHS);
499
const DeclRefExpr *DR =
dyn_cast
<DeclRefExpr>(E->IgnoreParenCasts());
503
const VarDecl *VD =
dyn_cast
<VarDecl>(DR->getDecl());
518
const DeclRefExpr *LHS_DR =
dyn_cast
<DeclRefExpr>(LHS->IgnoreParenCasts());
522
const VarDecl *VD =
dyn_cast
<VarDecl>(LHS_DR->getDecl());
526
const DeclRefExpr *RHS_DR =
dyn_cast
<DeclRefExpr>(RHS->IgnoreParenCasts());
533
return
dyn_cast
<DeclRefExpr>(RHS->IgnoreParenLValueCasts()) == NULL;
712
const VarDecl *VD =
dyn_cast
<VarDecl>(DR->getDecl())
[
all
...]
NonNullParamChecker.cpp
104
if (const CompoundLiteralExpr *CE =
dyn_cast
<CompoundLiteralExpr>(ArgE))
106
dyn_cast
<InitListExpr>(CE->getInitializer()))
107
ArgE =
dyn_cast
<Expr>(*(IE->begin()));
/external/llvm/lib/Analysis/
ScalarEvolutionAliasAnalysis.cpp
91
if (const SCEVAddRecExpr *AR =
dyn_cast
<SCEVAddRecExpr>(S)) {
95
} else if (const SCEVAddExpr *A =
dyn_cast
<SCEVAddExpr>(S)) {
100
} else if (const SCEVUnknown *U =
dyn_cast
<SCEVUnknown>(S)) {
Lint.cpp
204
if (Function *F =
dyn_cast
<Function>(findValue(Callee, /*OffsetOk=*/false))) {
268
if (IntrinsicInst *II =
dyn_cast
<IntrinsicInst>(&I))
289
dyn_cast
<ConstantInt>(findValue(MCI->getLength(),
391
if (const GlobalVariable *GV =
dyn_cast
<GlobalVariable>(UnderlyingObject))
425
if (AllocaInst *AI =
dyn_cast
<AllocaInst>(Base)) {
432
} else if (GlobalVariable *GV =
dyn_cast
<GlobalVariable>(Base)) {
488
dyn_cast
<ConstantInt>(findValue(I.getOperand(1), /*OffsetOk=*/false)))
495
dyn_cast
<ConstantInt>(findValue(I.getOperand(1), /*OffsetOk=*/false)))
502
dyn_cast
<ConstantInt>(findValue(I.getOperand(1), /*OffsetOk=*/false)))
561
dyn_cast
<ConstantInt>(findValue(I.getIndexOperand()
[
all
...]
MemoryBuiltins.cpp
194
return isMallocLikeFn(I, TLI) ?
dyn_cast
<CallInst>(I) : 0;
209
if (StructType *ST =
dyn_cast
<StructType>(T))
255
if (const BitCastInst *BCI =
dyn_cast
<BitCastInst>(*UI++)) {
306
const CallInst *CI =
dyn_cast
<CallInst>(I);
422
if (GEPOperator *GEP =
dyn_cast
<GEPOperator>(V))
429
if (Argument *A =
dyn_cast
<Argument>(V))
431
if (ConstantPointerNull *P =
dyn_cast
<ConstantPointerNull>(V))
433
if (GlobalAlias *GA =
dyn_cast
<GlobalAlias>(V))
435
if (GlobalVariable *GV =
dyn_cast
<GlobalVariable>(V))
437
if (UndefValue *UV =
dyn_cast
<UndefValue>(V)
[
all
...]
InstructionSimplify.cpp
81
CmpInst *Cmp =
dyn_cast
<CmpInst>(V);
94
Instruction *I =
dyn_cast
<Instruction>(V);
137
if (BinaryOperator *Op0 =
dyn_cast
<BinaryOperator>(LHS))
160
if (BinaryOperator *Op1 =
dyn_cast
<BinaryOperator>(RHS))
197
BinaryOperator *Op0 =
dyn_cast
<BinaryOperator>(LHS);
198
BinaryOperator *Op1 =
dyn_cast
<BinaryOperator>(RHS);
268
BinaryOperator *Op0 =
dyn_cast
<BinaryOperator>(LHS);
269
BinaryOperator *Op1 =
dyn_cast
<BinaryOperator>(RHS);
405
Instruction *Simplified =
dyn_cast
<Instruction>(FV ? FV : TV);
594
if (Constant *CLHS =
dyn_cast
<Constant>(Op0))
[
all
...]
/external/llvm/tools/llvm-dis/
llvm-dis.cpp
80
if (const Instruction *I =
dyn_cast
<Instruction>(&V)) {
92
if (const DbgDeclareInst *DDI =
dyn_cast
<DbgDeclareInst>(I)) {
100
else if (const DbgValueInst *DVI =
dyn_cast
<DbgValueInst>(I)) {
/external/llvm/unittests/Support/
YAMLParserTest.cpp
151
=
dyn_cast
<yaml::SequenceNode>(Stream.begin()->getRoot());
153
=
dyn_cast
<yaml::ScalarNode>(
188
=
dyn_cast
<yaml::SequenceNode>(Stream.begin()->getRoot());
/external/llvm/lib/Transforms/Scalar/
IndVarSimplify.cpp
151
if (GEPOperator *GEP =
dyn_cast
<GEPOperator>(FromVal)) {
154
if (GEPOperator *GEP =
dyn_cast
<GEPOperator>(ToVal)) {
192
PHINode *PHI =
dyn_cast
<PHINode>(User);
247
dyn_cast
<ConstantFP>(PN->getIncomingValue(IncomingEdge));
256
dyn_cast
<BinaryOperator>(PN->getIncomingValue(BackEdge));
261
ConstantFP *IncValueVal =
dyn_cast
<ConstantFP>(Incr->getOperand(1));
277
FCmpInst *Compare =
dyn_cast
<FCmpInst>(U1);
279
Compare =
dyn_cast
<FCmpInst>(U2);
299
ConstantFP *ExitValueVal =
dyn_cast
<ConstantFP>(Compare->getOperand(1));
448
PHINode *PN =
dyn_cast
<PHINode>(I); ++I
[
all
...]
/external/llvm/include/llvm/IR/
Operator.h
52
if (const Instruction *I =
dyn_cast
<Instruction>(this))
61
if (const Instruction *I =
dyn_cast
<Instruction>(V))
63
if (const ConstantExpr *CE =
dyn_cast
<ConstantExpr>(V))
417
if (ConstantInt *C =
dyn_cast
<ConstantInt>(I))
451
ConstantInt *OpC =
dyn_cast
<ConstantInt>(GTI.getOperand());
458
if (StructType *STy =
dyn_cast
<StructType>(*GTI)) {
/external/llvm/lib/Target/ARM/
ARMConstantPoolValue.cpp
173
ARMConstantPoolConstant *APC =
dyn_cast
<ARMConstantPoolConstant>(CPV);
184
const ARMConstantPoolConstant *ACPC =
dyn_cast
<ARMConstantPoolConstant>(ACPV);
226
ARMConstantPoolSymbol *APS =
dyn_cast
<ARMConstantPoolSymbol>(CPV);
238
const ARMConstantPoolSymbol *ACPS =
dyn_cast
<ARMConstantPoolSymbol>(ACPV);
281
ARMConstantPoolMBB *APMBB =
dyn_cast
<ARMConstantPoolMBB>(CPV);
293
const ARMConstantPoolMBB *ACPMBB =
dyn_cast
<ARMConstantPoolMBB>(ACPV);
/external/llvm/lib/Target/Mips/
Mips16ISelDAGToDAG.cpp
124
LoadSDNode *SD =
dyn_cast
<LoadSDNode>(Parent);
135
StoreSDNode *SD =
dyn_cast
<StoreSDNode>(Parent);
160
if (FrameIndexSDNode *FIN =
dyn_cast
<FrameIndexSDNode>(Addr)) {
179
ConstantSDNode *CN =
dyn_cast
<ConstantSDNode>(Addr.getOperand(1));
183
if (FrameIndexSDNode *FIN =
dyn_cast
<FrameIndexSDNode>
217
const LSBaseSDNode *LS =
dyn_cast
<LSBaseSDNode>(Parent);
/external/clang/lib/Analysis/
ThreadSafety.cpp
282
if (const DeclRefExpr *DRE =
dyn_cast
<DeclRefExpr>(Exp)) {
315
} else if (const MemberExpr *ME =
dyn_cast
<MemberExpr>(Exp)) {
323
} else if (const CXXMemberCallExpr *CMCE =
dyn_cast
<CXXMemberCallExpr>(Exp)) {
332
dyn_cast
<MemberExpr>(CMCE->getCallee())->isArrow();
342
if (NDeref &&
dyn_cast
<MemberExpr>(CMCE->getCallee())->isArrow())
355
} else if (const CallExpr *CE =
dyn_cast
<CallExpr>(Exp)) {
367
if (const CXXOperatorCallExpr *OE =
dyn_cast
<CXXOperatorCallExpr>(CE)) {
386
} else if (const BinaryOperator *BOE =
dyn_cast
<BinaryOperator>(Exp)) {
392
} else if (const UnaryOperator *UOE =
dyn_cast
<UnaryOperator>(Exp)) {
401
if (DeclRefExpr* DRE =
dyn_cast
<DeclRefExpr>(UOE->getSubExpr()))
[
all
...]
/external/clang/lib/ARCMigrate/
TransGCAttrs.cpp
52
if (ObjCPropertyDecl *PropD =
dyn_cast
<ObjCPropertyDecl>(D)) {
55
} else if (DeclaratorDecl *DD =
dyn_cast
<DeclaratorDecl>(D)) {
130
if (FunctionDecl *FD =
dyn_cast
<FunctionDecl>(D))
133
if (ObjCContainerDecl *ContD =
dyn_cast
<ObjCContainerDecl>(D))
136
if (CXXRecordDecl *RD =
dyn_cast
<CXXRecordDecl>(D)) {
151
if (ObjCContainerDecl *ContD =
dyn_cast
<ObjCContainerDecl>(D)) {
152
if (ObjCInterfaceDecl *ID =
dyn_cast
<ObjCInterfaceDecl>(ContD))
154
if (ObjCCategoryDecl *CD =
dyn_cast
<ObjCCategoryDecl>(ContD))
TransUnbridgedCasts.cpp
127
if (CallExpr *callE =
dyn_cast
<CallExpr>(inner)) {
153
if (const ImplicitCastExpr *ICE =
dyn_cast
<ImplicitCastExpr>(Arg)) {
223
if (CStyleCastExpr *CCE =
dyn_cast
<CStyleCastExpr>(E)) {
383
if (PseudoObjectExpr *pseudo =
dyn_cast
<PseudoObjectExpr>(subExpr)) {
388
if (ImplicitCastExpr *implCE =
dyn_cast
<ImplicitCastExpr>(subExpr)) {
403
if (ObjCMessageExpr *ME =
dyn_cast
<ObjCMessageExpr>(E))
447
if (DeclRefExpr *DRE =
dyn_cast
<DeclRefExpr>(E))
448
if (ImplicitParamDecl *IPD =
dyn_cast
<ImplicitParamDecl>(DRE->getDecl()))
/external/clang/lib/Sema/
JumpDiagnostics.cpp
125
if (const VarDecl *VD =
dyn_cast
<VarDecl>(D)) {
171
const ExprWithCleanups *EWC =
dyn_cast
<ExprWithCleanups>(Init);
199
if (const CXXConstructExpr *cce =
dyn_cast
<CXXConstructExpr>(Init)) {
216
if (const TypedefDecl *TD =
dyn_cast
<TypedefDecl>(D)) {
221
if (const TypeAliasDecl *TD =
dyn_cast
<TypeAliasDecl>(D)) {
241
if (VarDecl *VD =
dyn_cast
<VarDecl>(D))
376
if (CaseStmt *CS =
dyn_cast
<CaseStmt>(SubStmt))
378
else if (DefaultStmt *DS =
dyn_cast
<DefaultStmt>(SubStmt))
380
else if (LabelStmt *LS =
dyn_cast
<LabelStmt>(SubStmt))
391
if (DeclStmt *DS =
dyn_cast
<DeclStmt>(SubStmt))
[
all
...]
/external/llvm/include/llvm/Analysis/
CFGPrinter.h
86
if (const BranchInst *BI =
dyn_cast
<BranchInst>(Node->getTerminator()))
91
if (const SwitchInst *SI =
dyn_cast
<SwitchInst>(Node->getTerminator())) {
/external/llvm/lib/Transforms/Utils/
PromoteMemoryToRegister.cpp
90
if (const LoadInst *LI =
dyn_cast
<LoadInst>(U)) {
95
} else if (const StoreInst *SI =
dyn_cast
<StoreInst>(U)) {
102
} else if (const IntrinsicInst *II =
dyn_cast
<IntrinsicInst>(U)) {
106
} else if (const BitCastInst *BCI =
dyn_cast
<BitCastInst>(U)) {
111
} else if (const GetElementPtrInst *GEPI =
dyn_cast
<GetElementPtrInst>(U)) {
331
if (StoreInst *SI =
dyn_cast
<StoreInst>(User)) {
666
while ((SomePHI =
dyn_cast
<PHINode>(BBI++)) &&
703
if (StoreInst *SI =
dyn_cast
<StoreInst>(I)) {
714
if (LoadInst *LI =
dyn_cast
<LoadInst>(I)) {
[
all
...]
Completed in 1192 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>