OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:dyn_cast
(Results
851 - 875
of
1820
) sorted by null
<<
31
32
33
34
35
36
37
38
39
40
>>
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
ObjCARCInstKind.cpp
101
PointerType *PTy =
dyn_cast
<PointerType>(A0->getType());
129
if (PointerType *Pte =
dyn_cast
<PointerType>(ETy))
144
if (PointerType *PTy =
dyn_cast
<PointerType>(A0->getType()))
145
if (PointerType *Pte =
dyn_cast
<PointerType>(PTy->getElementType()))
147
if (PointerType *PTy1 =
dyn_cast
<PointerType>(A1->getType())) {
157
if (PointerType *Pte1 =
dyn_cast
<PointerType>(ETy1))
239
if (const Instruction *I =
dyn_cast
<Instruction>(V)) {
InlineCost.cpp
382
ConstantInt *OpC =
dyn_cast
<ConstantInt>(GTI.getOperand());
385
OpC =
dyn_cast
<ConstantInt>(SimpleOp);
485
Constant *C =
dyn_cast
<Constant>(V);
603
Constant *COp =
dyn_cast
<Constant>(Op);
753
if (Argument *A =
dyn_cast
<Argument>(V))
786
if (InvokeInst *II =
dyn_cast
<InvokeInst>(Instr)) {
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
GVN.cpp
283
if (CmpInst *C =
dyn_cast
<CmpInst>(I)) {
292
} else if (InsertValueInst *E =
dyn_cast
<InsertValueInst>(I)) {
327
IntrinsicInst *I =
dyn_cast
<IntrinsicInst>(EI->getAggregateOperand());
385
if (PHINode *PN =
dyn_cast
<PHINode>(V))
457
CallInst *NonLocalDepCall =
dyn_cast
<CallInst>(I->getResult().getInst());
835
if (const IntrinsicInst* II =
dyn_cast
<IntrinsicInst>(Inst))
885
if (StoreInst *DepSI =
dyn_cast
<StoreInst>(DepInfo.getInst())) {
901
if (LoadInst *DepLI =
dyn_cast
<LoadInst>(DepInfo.getInst())) {
918
if (MemIntrinsic *DepMI =
dyn_cast
<MemIntrinsic>(DepInfo.getInst())) {
[
all
...]
MergeICmps.cpp
78
if (auto *const LoadI =
dyn_cast
<LoadInst>(Val)) {
89
if (auto *const GEP =
dyn_cast
<GetElementPtrInst>(Addr)) {
276
auto *const BranchI =
dyn_cast
<BranchInst>(Block->getTerminator());
284
auto *const CmpI =
dyn_cast
<ICmpInst>(Val);
294
const auto *const Const =
dyn_cast
<ConstantInt>(Val);
298
auto *const CmpI =
dyn_cast
<ICmpInst>(BranchI->getCondition());
779
if (auto *const Phi =
dyn_cast
<PHINode>(&*BBIt->begin()))
LICM.cpp
544
auto *BC =
dyn_cast
<BitCastInst>(Addr);
558
IntrinsicInst *II =
dyn_cast
<IntrinsicInst>(U);
586
if (LoadInst *LI =
dyn_cast
<LoadInst>(&I)) {
625
} else if (CallInst *CI =
dyn_cast
<CallInst>(&I)) {
705
if (const GetElementPtrInst *GEP =
dyn_cast
<GetElementPtrInst>(&I)) {
737
if (const PHINode *PN =
dyn_cast
<PHINode>(UI)) {
767
if (auto *CI =
dyn_cast
<CallInst>(&I)) {
[
all
...]
ConstantHoisting.cpp
163
if (auto CastInst =
dyn_cast
<Instruction>(Opnd))
350
if (auto IntrInst =
dyn_cast
<IntrinsicInst>(Inst))
383
if (auto ConstInt =
dyn_cast
<ConstantInt>(Opnd)) {
389
if (auto CastInst =
dyn_cast
<Instruction>(Opnd)) {
395
if (auto *ConstInt =
dyn_cast
<ConstantInt>(CastInst->getOperand(0))) {
404
if (auto ConstExpr =
dyn_cast
<ConstantExpr>(Opnd)) {
409
if (auto ConstInt =
dyn_cast
<ConstantInt>(ConstExpr->getOperand(0))) {
611
if (auto PHI =
dyn_cast
<PHINode>(Inst)) {
662
if (auto CastInst =
dyn_cast
<Instruction>(Opnd)) {
684
if (auto ConstExpr =
dyn_cast
<ConstantExpr>(Opnd))
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-readobj/
llvm-readobj.cpp
529
if (ObjectFile *Obj =
dyn_cast
<ObjectFile>(&*ChildOrErr.get()))
531
else if (COFFImportFile *Imp =
dyn_cast
<COFFImportFile>(&*ChildOrErr.get()))
574
if (Archive *Arc =
dyn_cast
<Archive>(&Binary))
577
dyn_cast
<MachOUniversalBinary>(&Binary))
579
else if (ObjectFile *Obj =
dyn_cast
<ObjectFile>(&Binary))
581
else if (COFFImportFile *Import =
dyn_cast
<COFFImportFile>(&Binary))
583
else if (WindowsResource *WinRes =
dyn_cast
<WindowsResource>(&Binary))
/external/swiftshader/third_party/subzero/src/
IceTargetLoweringX86BaseImpl.h
175
if (auto *Arith = llvm::
dyn_cast
<InstArithmetic>(Instr)) {
188
if (auto *Cast = llvm::
dyn_cast
<InstCast>(Instr)) {
208
if (auto *Cast = llvm::
dyn_cast
<InstCast>(Instr)) {
323
auto *Var = llvm::
dyn_cast
<const Variable>(Opnd);
423
if (auto *ConstFloat = llvm::
dyn_cast
<ConstantFloat>(C)) {
426
if (auto *ConstDouble = llvm::
dyn_cast
<ConstantDouble>(C)) {
683
llvm::
dyn_cast
<typename TargetX86Base<TraitsType>::X86OperandMem>(
686
llvm::
dyn_cast
<typename TargetX86Base<TraitsType>::X86OperandMem>(
720
auto *Load = llvm::
dyn_cast
<InstLoad>(I1);
721
auto *Arith = llvm::
dyn_cast
<InstArithmetic>(I2)
[
all
...]
IceCfg.cpp
253
if (auto *Var64On32 = llvm::
dyn_cast
<Variable64On32>(Var)) {
255
} else if (auto *VarVecOn32 = llvm::
dyn_cast
<VariableVecOn32>(Var)) {
582
if (auto *A = llvm::
dyn_cast
<InstArithmetic>(InstrA)) {
585
// So,
dyn_cast
is not needed
641
if (auto *Var = llvm::
dyn_cast
<Variable>(Opnd)) {
660
if (auto *Var = llvm::
dyn_cast
<Variable>(Opnd)) {
732
if (auto *Var = llvm::
dyn_cast
<Variable>(Inst.getSrc(i))) {
858
if (auto *Const = llvm::
dyn_cast
<Constant>(Current->getSrc(i))) {
893
if (auto *Const = llvm::
dyn_cast
<Constant>(InstUse->getSrc(i))) {
[
all
...]
/external/clang/lib/Sema/
SemaDeclObjC.cpp
125
=
dyn_cast
<ObjCInterfaceDecl>(NewMethod->getDeclContext());
128
if (ObjCCategoryDecl *Cat =
dyn_cast
<ObjCCategoryDecl>(DC))
130
else if (ObjCImplDecl *Impl =
dyn_cast
<ObjCImplDecl>(DC))
133
=
dyn_cast
<ObjCCategoryImplDecl>(DC))
371
dyn_cast
<ObjCImplDecl>(MDecl->getDeclContext());
373
dyn_cast
<ObjCContainerDecl>(IMD->getDeclContext());
375
if (ObjCInterfaceDecl *OID =
dyn_cast
<ObjCInterfaceDecl>(ContDeclOfMethodDecl))
377
else if (ObjCCategoryDecl *CD =
dyn_cast
<ObjCCategoryDecl>(ContDeclOfMethodDecl)) {
388
dyn_cast
<NamedDecl>(IMD),
515
SuperClassDecl =
dyn_cast
<ObjCInterfaceDecl>(IDecl)
[
all
...]
SemaObjCProperty.cpp
120
if (ObjCPropertyDecl *ProtoProp =
dyn_cast
<ObjCPropertyDecl>(R[I])) {
200
if (ObjCCategoryDecl *CDecl =
dyn_cast
<ObjCCategoryDecl>(ClassDecl)) {
232
if (ObjCInterfaceDecl *IFace =
dyn_cast
<ObjCInterfaceDecl>(ClassDecl)) {
239
if (ObjCPropertyDecl *SuperProp =
dyn_cast
<ObjCPropertyDecl>(R[I])) {
262
} else if (ObjCCategoryDecl *Cat =
dyn_cast
<ObjCCategoryDecl>(ClassDecl)) {
399
if (auto Category =
dyn_cast
<ObjCCategoryDecl>(OldDC))
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
ValueMapper.cpp
365
if (const InlineAsm *IA =
dyn_cast
<InlineAsm>(V)) {
379
if (const auto *MDV =
dyn_cast
<MetadataAsValue>(V)) {
382
if (auto *LAM =
dyn_cast
<LocalAsMetadata>(MD)) {
412
Constant *C = const_cast<Constant*>(
dyn_cast
<Constant>(V));
416
if (BlockAddress *BA =
dyn_cast
<BlockAddress>(C))
471
if (auto *GEPO =
dyn_cast
<GEPOperator>(C))
474
if (ConstantExpr *CE =
dyn_cast
<ConstantExpr>(C))
523
if (auto *CMD =
dyn_cast
<ConstantAsMetadata>(Op))
541
auto *CT =
dyn_cast
<DICompositeType>(&N);
577
if (auto *CMD =
dyn_cast
<ConstantAsMetadata>(Op)
[
all
...]
/external/llvm/lib/ExecutionEngine/
ExecutionEngine.cpp
380
ConstantArray *InitList =
dyn_cast
<ConstantArray>(GV->getInitializer());
384
ConstantStruct *CS =
dyn_cast
<ConstantStruct>(InitList->getOperand(i));
392
if (ConstantExpr *CE =
dyn_cast
<ConstantExpr>(FP))
397
if (Function *F =
dyn_cast
<Function>(FP))
573
if (Function *F = const_cast<Function*>(
dyn_cast
<Function>(GV)))
582
const_cast<GlobalVariable *>(
dyn_cast
<GlobalVariable>(GV)))
609
if(StructType *STy =
dyn_cast
<StructType>(C->getType())) {
627
auto* VTy =
dyn_cast
<VectorType>(C->getType());
641
if (const ConstantExpr *CE =
dyn_cast
<ConstantExpr>(C)) {
905
else if (const Function *F =
dyn_cast
<Function>(C)
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
AArch64FastISel.cpp
318
if (const auto *LI =
dyn_cast
<LoadInst>(I->getOperand(0)))
322
if (const auto *Arg =
dyn_cast
<Argument>(I->getOperand(0)))
512
if (const auto *CI =
dyn_cast
<ConstantInt>(C))
514
else if (const ConstantFP *CFP =
dyn_cast
<ConstantFP>(C))
516
else if (const GlobalValue *GV =
dyn_cast
<GlobalValue>(C))
540
if (const auto *MI =
dyn_cast
<MulOperator>(I)) {
541
if (const auto *C =
dyn_cast
<ConstantInt>(MI->getOperand(0)))
544
if (const auto *C =
dyn_cast
<ConstantInt>(MI->getOperand(1)))
556
if (const Instruction *I =
dyn_cast
<Instruction>(Obj)) {
564
} else if (const ConstantExpr *C =
dyn_cast
<ConstantExpr>(Obj))
[
all
...]
/external/clang/lib/AST/
DeclCXX.cpp
448
FunctionTemplateDecl *FunTmpl =
dyn_cast
<FunctionTemplateDecl>(D);
454
if (auto *ND =
dyn_cast
<NamedDecl>(DUnderlying)) {
457
dyn_cast
<FunctionTemplateDecl>(DUnderlying))
461
if (CXXMethodDecl *Method =
dyn_cast
<CXXMethodDecl>(D)) {
503
if (CXXConstructorDecl *Constructor =
dyn_cast
<CXXConstructorDecl>(D)) {
540
dyn_cast
<CXXConstructorDecl>(DUnderlying)) {
566
if (CXXDestructorDecl *DD =
dyn_cast
<CXXDestructorDecl>(D)) {
582
if (CXXMethodDecl *Method =
dyn_cast
<CXXMethodDecl>(D)) {
596
if (CXXConversionDecl *Conversion =
dyn_cast
<CXXConversionDecl>(D)) {
661
if (FieldDecl *Field =
dyn_cast
<FieldDecl>(D))
[
all
...]
MicrosoftMangle.cpp
78
if (const CXXRecordDecl *RD =
dyn_cast
<CXXRecordDecl>(D)) {
86
if (const BlockDecl *BD =
dyn_cast
<BlockDecl>(D)) {
105
if (const auto *FTD =
dyn_cast
<FunctionTemplateDecl>(ND))
116
const CXXRecordDecl *Record =
dyn_cast
<CXXRecordDecl>(ND);
215
if (const TagDecl *Tag =
dyn_cast
<TagDecl>(ND)) {
365
if (const FunctionDecl *FD =
dyn_cast
<FunctionDecl>(D)) {
397
if (const VarDecl *VD =
dyn_cast
<VarDecl>(D)) {
433
if (const FunctionDecl *FD =
dyn_cast
<FunctionDecl>(D))
435
else if (const VarDecl *VD =
dyn_cast
<VarDecl>(D))
699
if (const FunctionDecl *FD =
dyn_cast
<FunctionDecl>(ND))
[
all
...]
/external/llvm/lib/CodeGen/SelectionDAG/
FastISel.cpp
139
const Instruction *I =
dyn_cast
<Instruction>(V);
144
if (const auto *Cast =
dyn_cast
<CastInst>(I))
157
if (const auto *GEP =
dyn_cast
<GetElementPtrInst>(I))
213
if (const auto *CI =
dyn_cast
<ConstantInt>(V)) {
223
else if (const auto *CF =
dyn_cast
<ConstantFP>(V)) {
250
} else if (const auto *Op =
dyn_cast
<Operator>(V)) {
407
if (const auto *CI =
dyn_cast
<ConstantInt>(I->getOperand(0)))
431
if (const auto *CI =
dyn_cast
<ConstantInt>(I->getOperand(1))) {
459
if (const auto *CF =
dyn_cast
<ConstantFP>(I->getOperand(1))) {
502
if (auto *StTy =
dyn_cast
<StructType>(*GTI))
[
all
...]
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
GVN.cpp
157
if (CmpInst *C =
dyn_cast
<CmpInst>(I)) {
159
} else if (InsertValueInst *E =
dyn_cast
<InsertValueInst>(I)) {
174
IntrinsicInst *I =
dyn_cast
<IntrinsicInst>(EI->getAggregateOperand());
299
CallInst *NonLocalDepCall =
dyn_cast
<CallInst>(I->getResult().getInst());
897
ConstantInt *SizeCst =
dyn_cast
<ConstantInt>(MI->getLength());
912
Constant *Src =
dyn_cast
<Constant>(MTI->getSource());
915
GlobalVariable *GV =
dyn_cast
<GlobalVariable>(GetUnderlyingObject(Src, &TD));
[
all
...]
/external/llvm/lib/Transforms/Vectorize/
BBVectorize.cpp
477
if (VectorType *VTy =
dyn_cast
<VectorType>(ElemTy)) {
483
if (VectorType *VTy =
dyn_cast
<VectorType>(Elem2Ty)) {
494
if (StoreInst *SI =
dyn_cast
<StoreInst>(I)) {
504
if (CastInst *CI =
dyn_cast
<CastInst>(I))
509
if (SelectInst *SI =
dyn_cast
<SelectInst>(I)) {
511
} else if (ShuffleVectorInst *SI =
dyn_cast
<ShuffleVectorInst>(I)) {
513
} else if (CmpInst *CI =
dyn_cast
<CmpInst>(I)) {
617
if (LoadInst *LI =
dyn_cast
<LoadInst>(I)) {
646
dyn_cast
<SCEVConstant>(OffsetSCEV)) {
719
dyn_cast
<InsertElementInst>(IENext->getOperand(0))))
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AVR/
AVRISelLowering.cpp
452
if (const ConstantSDNode *C =
dyn_cast
<ConstantSDNode>(RHS)) {
485
if (const ConstantSDNode *C =
dyn_cast
<ConstantSDNode>(RHS)) {
515
if (const ConstantSDNode *C =
dyn_cast
<ConstantSDNode>(RHS)) {
715
if (const ConstantSDNode *C =
dyn_cast
<ConstantSDNode>(N->getOperand(1))) {
772
if (const LoadSDNode *LD =
dyn_cast
<LoadSDNode>(N)) {
780
} else if (const StoreSDNode *ST =
dyn_cast
<StoreSDNode>(N)) {
798
if (const ConstantSDNode *RHS =
dyn_cast
<ConstantSDNode>(Op->getOperand(1))) {
828
if (const LoadSDNode *LD =
dyn_cast
<LoadSDNode>(N)) {
832
} else if (const StoreSDNode *ST =
dyn_cast
<StoreSDNode>(N)) {
849
if (const ConstantSDNode *RHS =
dyn_cast
<ConstantSDNode>(Op->getOperand(1)))
[
all
...]
/external/clang/lib/CodeGen/
CGExprConstant.cpp
227
if (llvm::ConstantInt *Val =
dyn_cast
<llvm::ConstantInt>(LastElt))
375
if (auto *CXXRD =
dyn_cast
<CXXRecordDecl>(RD))
406
if (auto *CI =
dyn_cast
<llvm::ConstantInt>(EltInit)) {
439
if (const CXXRecordDecl *CD =
dyn_cast
<CXXRecordDecl>(RD)) {
547
if (llvm::StructType *ValSTy =
dyn_cast
<llvm::StructType>(ValTy)) {
590
const CXXRecordDecl *CD =
dyn_cast
<CXXRecordDecl>(RD);
645
if (const auto *ECE =
dyn_cast
<ExplicitCastExpr>(E))
869
dyn_cast
<llvm::ConstantDataArray>(Base))
873
dyn_cast
<llvm::ConstantArray>(Base))
894
else if (InitListExpr *ChildILE =
dyn_cast
<InitListExpr>(Init)
[
all
...]
/external/clang/lib/Index/
USRGeneration.cpp
182
if (const NamedDecl *D =
dyn_cast
<NamedDecl>(DC))
252
if (const CXXMethodDecl *MD =
dyn_cast
<CXXMethodDecl>(D)) {
337
if (const ObjCProtocolDecl *pd =
dyn_cast
<ObjCProtocolDecl>(container)) {
437
if (const CXXRecordDecl *CXXRecord =
dyn_cast
<CXXRecordDecl>(D)) {
450
=
dyn_cast
<ClassTemplatePartialSpecializationDecl>(CXXRecord)) {
488
if (auto *ED =
dyn_cast
<EnumDecl>(D)) {
501
=
dyn_cast
<ClassTemplateSpecializationDecl>(D)) {
515
if (const NamedDecl *DCN =
dyn_cast
<NamedDecl>(DC))
772
if (NonTypeTemplateParmDecl *NTTP =
dyn_cast
<NonTypeTemplateParmDecl>(*P)) {
791
=
dyn_cast
<TemplateTemplateParmDecl>(Template))
[
all
...]
/external/clang/tools/libclang/
Indexing.cpp
620
if (InclusionDirective *ID =
dyn_cast
<InclusionDirective>(PPE)) {
703
ContInfo =
dyn_cast
<ObjCContainerDeclInfo>(DI))
716
InterInfo =
dyn_cast
<ObjCInterfaceDeclInfo>(DI))
729
CatInfo =
dyn_cast
<ObjCCategoryDeclInfo>(DI))
743
InterInfo =
dyn_cast
<ObjCInterfaceDeclInfo>(DI))
747
ProtInfo =
dyn_cast
<ObjCProtocolDeclInfo>(DI))
750
if (const ObjCCategoryDeclInfo *CatInfo =
dyn_cast
<ObjCCategoryDeclInfo>(DI))
762
if (const ObjCPropertyDeclInfo *PropInfo =
dyn_cast
<ObjCPropertyDeclInfo>(DI))
775
IBInfo =
dyn_cast
<IBOutletCollectionInfo>(DI))
787
if (const CXXClassDeclInfo *ClassInfo =
dyn_cast
<CXXClassDeclInfo>(DI)
[
all
...]
/external/llvm/lib/Transforms/Scalar/
LICM.cpp
444
if (LoadInst *LI =
dyn_cast
<LoadInst>(&I)) {
464
} else if (CallInst *CI =
dyn_cast
<CallInst>(&I)) {
544
if (const PHINode *PN =
dyn_cast
<PHINode>(UI)) {
589
if (auto *CI =
dyn_cast
<CallInst>(&I)) {
632
if (Instruction *OInst =
dyn_cast
<Instruction>(*OI))
775
if (Instruction *I =
dyn_cast
<Instruction>(V))
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
HWAddressSanitizer.cpp
328
if (LoadInst *LI =
dyn_cast
<LoadInst>(I)) {
334
} else if (StoreInst *SI =
dyn_cast
<StoreInst>(I)) {
340
} else if (AtomicRMWInst *RMW =
dyn_cast
<AtomicRMWInst>(I)) {
346
} else if (AtomicCmpXchgInst *XCHG =
dyn_cast
<AtomicCmpXchgInst>(I)) {
373
if (LoadInst *LI =
dyn_cast
<LoadInst>(I))
375
if (StoreInst *SI =
dyn_cast
<StoreInst>(I))
377
if (AtomicRMWInst *RMW =
dyn_cast
<AtomicRMWInst>(I))
379
if (AtomicCmpXchgInst *XCHG =
dyn_cast
<AtomicCmpXchgInst>(I))
507
const ConstantInt *CI =
dyn_cast
<ConstantInt>(AI.getArraySize());
711
if (AllocaInst *AI =
dyn_cast
<AllocaInst>(&Inst))
[
all
...]
Completed in 819 milliseconds
<<
31
32
33
34
35
36
37
38
39
40
>>