OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:dyn_cast
(Results
101 - 125
of
758
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/clang/lib/AST/
DeclPrinter.cpp
114
else if (const ArrayType* ATy =
dyn_cast
<ArrayType>(BaseType))
129
if (TypedefNameDecl* TDD =
dyn_cast
<TypedefNameDecl>(D))
131
if (ValueDecl* VD =
dyn_cast
<ValueDecl>(D))
145
TagDecl* TD =
dyn_cast
<TagDecl>(*Begin);
387
CXXConstructorDecl *CDecl =
dyn_cast
<CXXConstructorDecl>(D);
388
CXXConversionDecl *ConversionDecl =
dyn_cast
<CXXConversionDecl>(D);
413
while (const ParenType *PT =
dyn_cast
<ParenType>(Ty)) {
421
FT =
dyn_cast
<FunctionProtoType>(AFT);
517
if (ExprWithCleanups *Tmp =
dyn_cast
<ExprWithCleanups>(Init))
525
if (ParenListExpr *ParenList =
dyn_cast
<ParenListExpr>(Init))
[
all
...]
DeclBase.cpp
144
if (const TemplateTypeParmDecl *TTP =
dyn_cast
<TemplateTypeParmDecl>(this))
147
=
dyn_cast
<NonTypeTemplateParmDecl>(this))
150
=
dyn_cast
<TemplateTemplateParmDecl>(this))
156
if (const ParmVarDecl *Parm =
dyn_cast
<ParmVarDecl>(this))
163
if (FunctionDecl *FD =
dyn_cast
<FunctionDecl>(this))
165
if (const FunctionTemplateDecl *FTD =
dyn_cast
<FunctionTemplateDecl>(this))
246
if (const NamespaceDecl *ND =
dyn_cast
<NamespaceDecl>(DC))
259
if (TranslationUnitDecl *TUD =
dyn_cast
<TranslationUnitDecl>(this))
416
if (const auto *Deprecated =
dyn_cast
<DeprecatedAttr>(A)) {
427
if (const auto *Unavailable =
dyn_cast
<UnavailableAttr>(A))
[
all
...]
Type.cpp
200
if (const ArrayType *ATy =
dyn_cast
<ArrayType>(this))
317
if (const T *Sugar =
dyn_cast
<T>(Cur))
399
if (const ComplexType *CT =
dyn_cast
<ComplexType>(CanonicalType))
434
if (const RecordType *RT =
dyn_cast
<RecordType>(this)) {
440
if (const RecordType *RT =
dyn_cast
<RecordType>(CanonicalType)) {
453
if (const RecordType *RT =
dyn_cast
<RecordType>(this)) {
459
if (const RecordType *RT =
dyn_cast
<RecordType>(CanonicalType)) {
537
return
dyn_cast
<CXXRecordDecl>(RT->getDecl());
544
return
dyn_cast
<CXXRecordDecl>(RT->getDecl());
611
if (const VectorType *VT =
dyn_cast
<VectorType>(CanonicalType)
[
all
...]
/external/llvm/lib/Analysis/
MemoryBuiltins.cpp
206
return isMallocLikeFn(I, TLI) ?
dyn_cast
<CallInst>(I) : nullptr;
221
if (StructType *ST =
dyn_cast
<StructType>(T))
267
if (const BitCastInst *BCI =
dyn_cast
<BitCastInst>(*UI++)) {
318
const CallInst *CI =
dyn_cast
<CallInst>(I);
412
if (Instruction *I =
dyn_cast
<Instruction>(V)) {
418
if (GEPOperator *GEP =
dyn_cast
<GEPOperator>(V))
422
if (Argument *A =
dyn_cast
<Argument>(V))
424
if (ConstantPointerNull *P =
dyn_cast
<ConstantPointerNull>(V))
426
if (GlobalAlias *GA =
dyn_cast
<GlobalAlias>(V))
428
if (GlobalVariable *GV =
dyn_cast
<GlobalVariable>(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))
196
BinaryOperator *Op0 =
dyn_cast
<BinaryOperator>(LHS);
197
BinaryOperator *Op1 =
dyn_cast
<BinaryOperator>(RHS);
333
Instruction *Simplified =
dyn_cast
<Instruction>(FV ? FV : TV);
522
if (Constant *CLHS =
dyn_cast
<Constant>(Op0)) {
523
if (Constant *CRHS =
dyn_cast
<Constant>(Op1)) {
611
if (GEPOperator *GEP =
dyn_cast
<GEPOperator>(V))
[
all
...]
/external/llvm/lib/Target/AArch64/AsmParser/
AArch64AsmParser.cpp
411
const MCConstantExpr *MCE =
dyn_cast
<MCConstantExpr>(getImm());
420
const MCConstantExpr *MCE =
dyn_cast
<MCConstantExpr>(getImm());
429
const MCConstantExpr *MCE =
dyn_cast
<MCConstantExpr>(getImm());
438
const MCConstantExpr *MCE =
dyn_cast
<MCConstantExpr>(getImm());
482
const MCConstantExpr *MCE =
dyn_cast
<MCConstantExpr>(getImm());
493
const MCConstantExpr *MCE =
dyn_cast
<MCConstantExpr>(getImm());
502
const MCConstantExpr *MCE =
dyn_cast
<MCConstantExpr>(getImm());
511
const MCConstantExpr *MCE =
dyn_cast
<MCConstantExpr>(getImm());
520
const MCConstantExpr *MCE =
dyn_cast
<MCConstantExpr>(getImm());
529
const MCConstantExpr *MCE =
dyn_cast
<MCConstantExpr>(getImm())
[
all
...]
/external/lldb/source/Expression/
ClangASTSource.cpp
202
if (const NamespaceDecl *namespace_context =
dyn_cast
<NamespaceDecl>(decl_ctx))
356
const ObjCInterfaceType *complete_interface_type =
dyn_cast
<ObjCInterfaceType>(complete_clang_type);
375
const Decl *context_decl =
dyn_cast
<Decl>(decl_context);
385
if (const NamedDecl *context_named_decl =
dyn_cast
<NamedDecl>(context_decl))
419
if (ObjCInterfaceDecl *original_iface_decl =
dyn_cast
<ObjCInterfaceDecl>(original_decl))
432
if (TagDecl *original_tag_decl =
dyn_cast
<TagDecl>(original_decl))
440
const DeclContext *original_decl_context =
dyn_cast
<DeclContext>(original_decl);
456
if (const NamedDecl *context_named_decl =
dyn_cast
<NamedDecl>(context_decl))
467
if (FieldDecl *copied_field =
dyn_cast
<FieldDecl>(copied_decl))
511
else if (const NamedDecl *context_named_decl =
dyn_cast
<NamedDecl>(context.m_decl_context)
[
all
...]
/external/clang/utils/TableGen/
ClangSACheckersEmitter.cpp
32
if (DefInit *DI =
dyn_cast
<DefInit>(R.getValueInit("ParentPackage")))
46
if (DefInit *DI =
dyn_cast
<DefInit>(R->getValueInit("ParentPackage")))
67
if (StringInit *SI =
dyn_cast
<StringInit>(R.getValueInit(field)))
134
DI =
dyn_cast
<DefInit>(R->getValueInit("ParentPackage")))
155
=
dyn_cast
<DefInit>(currR->getValueInit("ParentPackage"))) {
161
if (DefInit *DI =
dyn_cast
<DefInit>(R->getValueInit("Group")))
168
if (DefInit *DI =
dyn_cast
<DefInit>(packages[i]->getValueInit("Group")))
209
if (DefInit *DI =
dyn_cast
<DefInit>(R.getValueInit("Group")))
237
if (DefInit *DI =
dyn_cast
<DefInit>(R.getValueInit("Group")))
/external/llvm/lib/Transforms/Utils/
Local.cpp
67
if (BranchInst *BI =
dyn_cast
<BranchInst>(T)) {
72
if (ConstantInt *Cond =
dyn_cast
<ConstantInt>(BI->getCondition())) {
112
if (SwitchInst *SI =
dyn_cast
<SwitchInst>(T)) {
115
ConstantInt *CI =
dyn_cast
<ConstantInt>(SI->getCondition());
140
ConstantInt* CI =
dyn_cast
<ConstantInt>(MD->getOperand(MD_i));
211
ConstantInt *SICase =
dyn_cast
<ConstantInt>(MD->getOperand(2));
212
ConstantInt *SIDef =
dyn_cast
<ConstantInt>(MD->getOperand(1));
228
if (IndirectBrInst *IBI =
dyn_cast
<IndirectBrInst>(T)) {
231
dyn_cast
<BlockAddress>(IBI->getAddress()->stripPointerCasts())) {
280
if (DbgDeclareInst *DDI =
dyn_cast
<DbgDeclareInst>(I))
[
all
...]
CloneFunction.cpp
57
if (const AllocaInst *AI =
dyn_cast
<AllocaInst>(II)) {
101
if (Argument *NewArg =
dyn_cast
<Argument>(VMap[&OldArg])) {
142
if (ReturnInst *RI =
dyn_cast
<ReturnInst>(CBB->getTerminator()))
346
if (const AllocaInst *AI =
dyn_cast
<AllocaInst>(II)) {
357
if (const BranchInst *BI =
dyn_cast
<BranchInst>(OldTI)) {
360
ConstantInt *Cond =
dyn_cast
<ConstantInt>(BI->getCondition());
375
} else if (const SwitchInst *SI =
dyn_cast
<SwitchInst>(OldTI)) {
377
ConstantInt *Cond =
dyn_cast
<ConstantInt>(SI->getCondition());
465
if (const PHINode *PN =
dyn_cast
<PHINode>(I))
529
for (; (PN =
dyn_cast
<PHINode>(I)); ++I)
[
all
...]
ValueMapper.cpp
46
if (const InlineAsm *IA =
dyn_cast
<InlineAsm>(V)) {
61
if (const MDNode *MD =
dyn_cast
<MDNode>(V)) {
114
Constant *C = const_cast<Constant*>(
dyn_cast
<Constant>(V));
118
if (BlockAddress *BA =
dyn_cast
<BlockAddress>(C)) {
163
if (ConstantExpr *CE =
dyn_cast
<ConstantExpr>(C))
198
if (PHINode *PN =
dyn_cast
<PHINode>(I)) {
/external/llvm/lib/IR/
Instruction.cpp
272
if (const LoadInst *LI =
dyn_cast
<LoadInst>(I1))
278
if (const StoreInst *SI =
dyn_cast
<StoreInst>(I1))
284
if (const CmpInst *CI =
dyn_cast
<CmpInst>(I1))
286
if (const CallInst *CI =
dyn_cast
<CallInst>(I1))
290
if (const InvokeInst *CI =
dyn_cast
<InvokeInst>(I1))
294
if (const InsertValueInst *IVI =
dyn_cast
<InsertValueInst>(I1))
296
if (const ExtractValueInst *EVI =
dyn_cast
<ExtractValueInst>(I1))
298
if (const FenceInst *FI =
dyn_cast
<FenceInst>(I1))
301
if (const AtomicCmpXchgInst *CXI =
dyn_cast
<AtomicCmpXchgInst>(I1))
309
if (const AtomicRMWInst *RMWI =
dyn_cast
<AtomicRMWInst>(I1)
[
all
...]
Verifier.cpp
387
const GlobalVariable *GVar =
dyn_cast
<GlobalVariable>(&GV);
419
if (ArrayType *ATy =
dyn_cast
<ArrayType>(GV.getType()->getElementType())) {
420
StructType *STy =
dyn_cast
<StructType>(ATy->getElementType());
443
if (ArrayType *ATy =
dyn_cast
<ArrayType>(GVType)) {
444
PointerType *PTy =
dyn_cast
<PointerType>(ATy->getElementType());
448
const ConstantArray *InitArray =
dyn_cast
<ConstantArray>(Init);
482
if (const User *U =
dyn_cast
<User>(V)) {
487
if (const ConstantExpr *CE =
dyn_cast
<ConstantExpr>(V)) {
505
if (const auto *GV =
dyn_cast
<GlobalValue>(&C)) {
508
if (const auto *GA2 =
dyn_cast
<GlobalAlias>(GV))
[
all
...]
Constants.cpp
47
if (const ConstantFP *CFP =
dyn_cast
<ConstantFP>(this))
51
if (const ConstantDataVector *CV =
dyn_cast
<ConstantDataVector>(this))
68
if (const ConstantFP *CFP =
dyn_cast
<ConstantFP>(this))
77
if (const ConstantInt *CI =
dyn_cast
<ConstantInt>(this))
81
if (const ConstantFP *CFP =
dyn_cast
<ConstantFP>(this))
90
if (const ConstantInt *CI =
dyn_cast
<ConstantInt>(this))
94
if (const ConstantFP *CFP =
dyn_cast
<ConstantFP>(this))
98
if (const ConstantVector *CV =
dyn_cast
<ConstantVector>(this))
103
if (const ConstantDataVector *CV =
dyn_cast
<ConstantDataVector>(this))
112
if (const ConstantInt *CI =
dyn_cast
<ConstantInt>(this)
[
all
...]
/external/llvm/lib/Transforms/Instrumentation/
ThreadSanitizer.cpp
128
if (Function *F =
dyn_cast
<Function>(FuncOrBitcast))
241
if (GetElementPtrInst *GEP =
dyn_cast
<GetElementPtrInst>(Addr))
244
if (GlobalVariable *GV =
dyn_cast
<GlobalVariable>(Addr)) {
250
} else if (LoadInst *L =
dyn_cast
<LoadInst>(Addr)) {
279
if (StoreInst *Store =
dyn_cast
<StoreInst>(I)) {
300
if (LoadInst *LI =
dyn_cast
<LoadInst>(I))
302
if (StoreInst *SI =
dyn_cast
<StoreInst>(I))
447
if (MemSetInst *M =
dyn_cast
<MemSetInst>(I)) {
453
} else if (MemTransferInst *M =
dyn_cast
<MemTransferInst>(I)) {
473
if (LoadInst *LI =
dyn_cast
<LoadInst>(I))
[
all
...]
/external/llvm/utils/TableGen/
DAGISelMatcherOpt.cpp
33
if (ScopeMatcher *Scope =
dyn_cast
<ScopeMatcher>(N)) {
44
if (MoveChildMatcher *MC =
dyn_cast
<MoveChildMatcher>(N)) {
46
if (RecordMatcher *RM =
dyn_cast
<RecordMatcher>(MC->getNext()))
51
if (CheckTypeMatcher *CT =
dyn_cast
<CheckTypeMatcher>(MC->getNext()))
56
if (CheckSameMatcher *CS =
dyn_cast
<CheckSameMatcher>(MC->getNext()))
60
if (CheckIntegerMatcher *CS =
dyn_cast
<CheckIntegerMatcher>(MC->getNext()))
75
if (MoveChildMatcher *MC =
dyn_cast
<MoveChildMatcher>(N))
77
dyn_cast
<MoveParentMatcher>(MC->getNext())) {
101
if (EmitNodeMatcher *EN =
dyn_cast
<EmitNodeMatcher>(N))
103
dyn_cast
<CompleteMatchMatcher>(EN->getNext()))
[
all
...]
/external/llvm/lib/Transforms/InstCombine/
InstructionCombining.cpp
135
OverflowingBinaryOperator *OBO =
dyn_cast
<OverflowingBinaryOperator>(&I);
147
ConstantInt *CB =
dyn_cast
<ConstantInt>(B);
148
ConstantInt *CC =
dyn_cast
<ConstantInt>(C);
171
FPMathOperator *FPMO =
dyn_cast
<FPMathOperator>(&I);
215
BinaryOperator *Op0 =
dyn_cast
<BinaryOperator>(I.getOperand(0));
216
BinaryOperator *Op1 =
dyn_cast
<BinaryOperator>(I.getOperand(1));
421
if (Constant *CST =
dyn_cast
<Constant>(Op->getOperand(1))) {
500
if (BinaryOperator *BO =
dyn_cast
<BinaryOperator>(SimplifiedInst)) {
506
if (BinaryOperator *Op0 =
dyn_cast
<BinaryOperator>(LHS))
510
if (BinaryOperator *Op1 =
dyn_cast
<BinaryOperator>(RHS)
[
all
...]
InstCombinePHI.cpp
38
dyn_cast
<OverflowingBinaryOperator>(FirstInst)) {
42
dyn_cast
<PossiblyExactOperator>(FirstInst))
47
Instruction *I =
dyn_cast
<Instruction>(PN.getIncomingValue(i));
56
if (CmpInst *CI =
dyn_cast
<CmpInst>(I))
115
if (CmpInst *CIOp =
dyn_cast
<CmpInst>(FirstInst)) {
150
GetElementPtrInst *GEP=
dyn_cast
<GetElementPtrInst>(PN.getIncomingValue(i));
258
if (AllocaInst *AI =
dyn_cast
<AllocaInst>(L->getOperand(0))) {
262
if (StoreInst *SI =
dyn_cast
<StoreInst>(U)) {
279
if (GetElementPtrInst *GEP =
dyn_cast
<GetElementPtrInst>(L->getOperand(0)))
280
if (AllocaInst *AI =
dyn_cast
<AllocaInst>(GEP->getOperand(0))
[
all
...]
/external/clang/lib/StaticAnalyzer/Checkers/
MallocOverflowSecurityChecker.cpp
73
const BinaryOperator * binop =
dyn_cast
<BinaryOperator>(e);
135
if (const DeclRefExpr *DR =
dyn_cast
<DeclRefExpr>(E)) {
139
if (const DeclRefExpr *DR_i =
dyn_cast
<DeclRefExpr>(i->variable)) {
147
const Decl * EmeMD =
dyn_cast
<MemberExpr>(E)->getMemberDecl();
151
if (
dyn_cast
<MemberExpr>(i->variable)->getMemberDecl() == EmeMD)
241
if (const CallExpr *TheCall =
dyn_cast
<CallExpr>(CS->getStmt())) {
/external/llvm/lib/CodeGen/
JumpInstrTables.cpp
72
if (const ConstantExpr *CE =
dyn_cast
<ConstantExpr>(V)) {
85
if (Instruction *I =
dyn_cast
<Instruction>(Us)) {
95
} else if (Constant *C =
dyn_cast
<Constant>(Us)) {
98
if (ConstantExpr *CE =
dyn_cast
<ConstantExpr>(Us)) {
103
if (CallInst *CI =
dyn_cast
<CallInst>(ParentUs)) {
285
if (Function *F =
dyn_cast
<Function>(Aliasee)) {
/external/llvm/lib/Target/Mips/
Mips16ISelDAGToDAG.cpp
133
LoadSDNode *SD =
dyn_cast
<LoadSDNode>(Parent);
144
StoreSDNode *SD =
dyn_cast
<StoreSDNode>(Parent);
169
if (FrameIndexSDNode *FIN =
dyn_cast
<FrameIndexSDNode>(Addr)) {
188
ConstantSDNode *CN =
dyn_cast
<ConstantSDNode>(Addr.getOperand(1));
192
if (FrameIndexSDNode *FIN =
dyn_cast
<FrameIndexSDNode>
226
const LSBaseSDNode *LS =
dyn_cast
<LSBaseSDNode>(Parent);
/external/llvm/lib/Transforms/IPO/
GlobalDCE.cpp
209
if (GlobalVariable *GV =
dyn_cast
<GlobalVariable>(G)) {
214
} else if (GlobalAlias *GA =
dyn_cast
<GlobalAlias>(G)) {
230
if (GlobalValue *GV =
dyn_cast
<GlobalValue>(*U))
232
else if (Constant *C =
dyn_cast
<Constant>(*U))
238
if (GlobalValue *GV =
dyn_cast
<GlobalValue>(C))
245
Constant *Op =
dyn_cast
<Constant>(*I);
IPConstantPropagation.cpp
115
Constant *C =
dyn_cast
<Constant>(*AI);
171
StructType *STy =
dyn_cast
<StructType>(F.getReturnType());
180
if (ReturnInst *RI =
dyn_cast
<ReturnInst>(BB->getTerminator())) {
241
if (Argument *A =
dyn_cast
<Argument>(New))
257
if (ExtractValueInst *EV =
dyn_cast
<ExtractValueInst>(Ins))
266
if (Argument *A =
dyn_cast
<Argument>(New))
/external/llvm/lib/Transforms/Scalar/
LoopIdiomRecognize.cpp
80
return
dyn_cast
<BranchInst>(BB->getTerminator());
256
if (Instruction *OpI =
dyn_cast
<Instruction>(Op))
270
if (Instruction *I =
dyn_cast
<Instruction>(V))
350
ICmpInst *Cond =
dyn_cast
<ICmpInst>(Br->getCondition());
354
ConstantInt *CmpZero =
dyn_cast
<ConstantInt>(Cond->getOperand(1));
402
DefX2 =
dyn_cast
<Instruction>(T);
414
if ((SubOneOp =
dyn_cast
<BinaryOperator>(DefX2->getOperand(0))))
418
SubOneOp =
dyn_cast
<BinaryOperator>(DefX2->getOperand(1));
424
ConstantInt *Dec =
dyn_cast
<ConstantInt>(SubInst->getOperand(1));
434
PhiX =
dyn_cast
<PHINode>(VarX1)
[
all
...]
/external/clang/lib/ARCMigrate/
ObjCMT.cpp
164
if (const ObjCCategoryImplDecl *CatImpl =
dyn_cast
<ObjCCategoryImplDecl>(D))
166
if (const ObjCImplementationDecl *Impl =
dyn_cast
<ObjCImplementationDecl>(D))
168
if (const ObjCMethodDecl *MD =
dyn_cast
<ObjCMethodDecl>(D))
462
if (ObjCCategoryDecl *CatDecl =
dyn_cast
<ObjCCategoryDecl>(D)) {
519
else if (ObjCPropertyDecl *ClassProperty =
dyn_cast
<ObjCPropertyDecl>(R[0])) {
547
if (ObjCMethodDecl *ImpMD =
dyn_cast
<ObjCMethodDecl>(R[0]))
670
if (const BinaryOperator *BO =
dyn_cast
<BinaryOperator>(InitExpr))
[
all
...]
Completed in 608 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>