HomeSort by relevance Sort by last modified time
    Searched refs:dyn_cast (Results 601 - 625 of 1820) sorted by null

<<21222324252627282930>>

  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
IndVarSimplify.cpp 186 if (auto *GEP = dyn_cast<GEPOperator>(FromVal)) {
189 if (auto *GEP = dyn_cast<GEPOperator>(ToVal)) {
227 PHINode *PHI = dyn_cast<PHINode>(User);
246 auto *DefI = dyn_cast<Instruction>(Def);
292 auto *InitValueVal = dyn_cast<ConstantFP>(PN->getIncomingValue(IncomingEdge));
300 auto *Incr = dyn_cast<BinaryOperator>(PN->getIncomingValue(BackEdge));
305 ConstantFP *IncValueVal = dyn_cast<ConstantFP>(Incr->getOperand(1));
321 FCmpInst *Compare = dyn_cast<FCmpInst>(U1);
323 Compare = dyn_cast<FCmpInst>(U2);
342 ConstantFP *ExitValueVal = dyn_cast<ConstantFP>(Compare->getOperand(1))
    [all...]
SpeculateAroundPHIs.cpp 92 auto *OpI = dyn_cast<Instruction>(*OpIt);
212 auto *IncomingC = dyn_cast<ConstantInt>(PN.getIncomingValue(i));
271 if (auto *UserII = dyn_cast<IntrinsicInst>(UserI))
354 auto *OpI = dyn_cast<Instruction>(*OpIt);
456 if (auto *OpI = dyn_cast<Instruction>(OpV)) {
529 auto *OpI = dyn_cast<Instruction>(OpV);
621 auto *OpPN = dyn_cast<PHINode>(OpV);
659 auto *OpI = dyn_cast<Instruction>(U.get());
    [all...]
  /external/llvm/lib/Analysis/
DependenceAnalysis.cpp 489 dyn_cast<SCEVConstant>(SE->getMinusSCEV(C1A2, C2A1));
491 dyn_cast<SCEVConstant>(SE->getMinusSCEV(C1B2, C2B1));
493 dyn_cast<SCEVConstant>(SE->getMinusSCEV(A1B2, A2B1));
495 dyn_cast<SCEVConstant>(SE->getMinusSCEV(A2B1, A1B2));
638 if (const LoadInst *LI = dyn_cast<LoadInst>(I))
640 else if (const StoreInst *SI = dyn_cast<StoreInst>(I))
648 if (LoadInst *LI = dyn_cast<LoadInst>(I))
650 if (StoreInst *SI = dyn_cast<StoreInst>(I))
787 IntegerType *SrcTy = dyn_cast<IntegerType>(Src->getType());
788 IntegerType *DstTy = dyn_cast<IntegerType>(Dst->getType())
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
InstCombineAndOrXor.cpp 235 ConstantInt *ACst = dyn_cast<ConstantInt>(A);
236 ConstantInt *BCst = dyn_cast<ConstantInt>(B);
237 ConstantInt *CCst = dyn_cast<ConstantInt>(C);
459 ConstantInt *BCst = dyn_cast<ConstantInt>(B);
462 ConstantInt *CCst = dyn_cast<ConstantInt>(C);
465 ConstantInt *DCst = dyn_cast<ConstantInt>(D);
468 ConstantInt *ECst = dyn_cast<ConstantInt>(E);
680 ConstantInt *BCst = dyn_cast<ConstantInt>(B);
683 ConstantInt *DCst = dyn_cast<ConstantInt>(D);
725 ConstantInt *CCst = dyn_cast<ConstantInt>(C)
    [all...]
InstCombineSelect.cpp 77 dyn_cast<BinaryOperator>(IsEq ? Sel.getTrueValue() : Sel.getFalseValue());
351 if (auto *BO = dyn_cast<BinaryOperator>(TI)) {
354 if (auto *TGEP = dyn_cast<GetElementPtrInst>(TI)) {
378 if (auto *TVI = dyn_cast<BinaryOperator>(TrueVal)) {
409 if (auto *FVI = dyn_cast<BinaryOperator>(FalseVal)) {
712 auto *SelEltTy = dyn_cast<IntegerType>(SelTy->getScalarType());
    [all...]
  /external/clang/lib/Frontend/Rewrite/
RewriteObjC.cpp 172 if (ObjCInterfaceDecl *Class = dyn_cast<ObjCInterfaceDecl>(*I)) {
179 if (ObjCProtocolDecl *Proto = dyn_cast<ObjCProtocolDecl>(*I)) {
548 = dyn_cast<FunctionProtoType>(funcType.IgnoreParens())) {
658 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) {
660 } else if (VarDecl *FVD = dyn_cast<VarDecl>(D)) {
666 } else if (ObjCInterfaceDecl *ID = dyn_cast<ObjCInterfaceDecl>(D)) {
669 } else if (ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(D)) {
671 } else if (ObjCProtocolDecl *PD = dyn_cast<ObjCProtocolDecl>(D)) {
674 } else if (LinkageSpecDecl *LSD = dyn_cast<LinkageSpecDecl>(D)) {
679 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>((*DI)))
    [all...]
  /external/llvm/lib/Target/AArch64/
AArch64FastISel.cpp 272 if (const auto *LI = dyn_cast<LoadInst>(I->getOperand(0)))
276 if (const auto *Arg = dyn_cast<Argument>(I->getOperand(0)))
465 if (const auto *CI = dyn_cast<ConstantInt>(C))
467 else if (const ConstantFP *CFP = dyn_cast<ConstantFP>(C))
469 else if (const GlobalValue *GV = dyn_cast<GlobalValue>(C))
493 if (const auto *MI = dyn_cast<MulOperator>(I)) {
494 if (const auto *C = dyn_cast<ConstantInt>(MI->getOperand(0)))
497 if (const auto *C = dyn_cast<ConstantInt>(MI->getOperand(1)))
509 if (const Instruction *I = dyn_cast<Instruction>(Obj)) {
517 } else if (const ConstantExpr *C = dyn_cast<ConstantExpr>(Obj))
    [all...]
  /external/clang/lib/Sema/
SemaPseudoObject.cpp 109 if (auto *PRE = dyn_cast<ObjCPropertyRefExpr>(e))
111 if (auto *SRE = dyn_cast<ObjCSubscriptRefExpr>(e))
113 if (auto *MSPRE = dyn_cast<MSPropertyRefExpr>(e))
115 if (auto *MSPSE = dyn_cast<MSPropertySubscriptExpr>(e))
121 if (ParenExpr *parens = dyn_cast<ParenExpr>(e)) {
128 if (UnaryOperator *uop = dyn_cast<UnaryOperator>(e)) {
138 if (GenericSelectionExpr *gse = dyn_cast<GenericSelectionExpr>(e)) {
164 if (ChooseExpr *ce = dyn_cast<ChooseExpr>(e)) {
653 dyn_cast<ObjCInterfaceDecl>(setter->getDeclContext())) {
708 refE = dyn_cast<ObjCPropertyRefExpr>(syntacticBase->IgnoreParens())
    [all...]
  /external/clang/lib/AST/
DeclPrinter.cpp 127 else if (const ArrayType* ATy = dyn_cast<ArrayType>(BaseType))
144 if (TypedefNameDecl* TDD = dyn_cast<TypedefNameDecl>(D))
146 if (ValueDecl* VD = dyn_cast<ValueDecl>(D))
160 TagDecl* TD = dyn_cast<TagDecl>(*Begin);
452 CXXConstructorDecl *CDecl = dyn_cast<CXXConstructorDecl>(D);
453 CXXConversionDecl *ConversionDecl = dyn_cast<CXXConversionDecl>(D);
478 while (const ParenType *PT = dyn_cast<ParenType>(Ty)) {
486 FT = dyn_cast<FunctionProtoType>(AFT);
582 if (ExprWithCleanups *Tmp = dyn_cast<ExprWithCleanups>(Init))
590 if (ParenListExpr *ParenList = dyn_cast<ParenListExpr>(Init))
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DependenceAnalysis.cpp 490 dyn_cast<SCEVConstant>(SE->getMinusSCEV(C1A2, C2A1));
492 dyn_cast<SCEVConstant>(SE->getMinusSCEV(C1B2, C2B1));
494 dyn_cast<SCEVConstant>(SE->getMinusSCEV(A1B2, A2B1));
496 dyn_cast<SCEVConstant>(SE->getMinusSCEV(A2B1, A1B2));
664 if (const LoadInst *LI = dyn_cast<LoadInst>(I))
666 else if (const StoreInst *SI = dyn_cast<StoreInst>(I))
802 IntegerType *SrcTy = dyn_cast<IntegerType>(Src->getType());
803 IntegerType *DstTy = dyn_cast<IntegerType>(Dst->getType());
827 IntegerType *SrcTy = dyn_cast<IntegerType>(Src->getType());
828 IntegerType *DstTy = dyn_cast<IntegerType>(Dst->getType())
    [all...]
LoopInfo.cpp 58 if (const Instruction *I = dyn_cast<Instruction>(V))
69 if (Instruction *I = dyn_cast<Instruction>(V))
136 dyn_cast<ConstantInt>(PN->getIncomingValueForBlock(Incoming)))
139 dyn_cast<Instruction>(PN->getIncomingValueForBlock(Backedge)))
141 if (ConstantInt *CI = dyn_cast<ConstantInt>(Inc->getOperand(1)))
161 if (const PHINode *P = dyn_cast<PHINode>(UI))
282 MDNode *MD = dyn_cast<MDNode>(LoopID->getOperand(i));
284 const MDString *S = dyn_cast<MDString>(MD->getOperand(0));
356 if (DILocation *L = dyn_cast<DILocation>(LoopID->getOperand(i))) {
  /external/llvm/lib/Target/NVPTX/
NVPTXAsmPrinter.cpp 71 if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(V))
74 if (const User *U = dyn_cast<User>(V)) {
358 if (auto *ITy = dyn_cast<IntegerType>(Ty)) {
638 if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(C)) {
643 if (const Constant *C = dyn_cast<Constant>(U))
651 if (const GlobalVariable *othergv = dyn_cast<GlobalVariable>(U)) {
656 if (const Instruction *instr = dyn_cast<Instruction>(U)) {
702 if (const Constant *cu = dyn_cast<Constant>(U)) {
705 } else if (const Instruction *I = dyn_cast<Instruction>(U)) {
733 if (const Constant *C = dyn_cast<Constant>(U))
    [all...]
  /external/clang/lib/CodeGen/
CodeGenTypes.cpp 133 if (const CXXRecordDecl *CRD = dyn_cast<CXXRecordDecl>(RD)) {
206 const RecordType *RT = dyn_cast<RecordType>(TT);
229 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT))
243 if (const EnumDecl *ED = dyn_cast<EnumDecl>(TD)) {
323 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT))
345 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT)) {
385 if (const RecordType *RT = dyn_cast<RecordType>(Ty))
690 if (const CXXRecordDecl *CRD = dyn_cast<CXXRecordDecl>(RD)) {
747 if (const auto *CAT = dyn_cast<ConstantArrayType>(AT))
  /external/llvm/lib/Transforms/Utils/
LoopUnroll.cpp 64 if (PHINode *PN = dyn_cast<PHINode>(I)) {
161 if (auto Def = dyn_cast<Instruction>(U)) {
227 BranchInst *BI = dyn_cast<BranchInst>(LatchBlock->getTerminator());
429 if (Instruction *InValI = dyn_cast<Instruction>(InVal))
447 PHINode *phi = dyn_cast<PHINode>(BBI); ++BBI) {
498 if (Instruction *InValI = dyn_cast<Instruction>(InVal)) {
548 PHINode *Phi = dyn_cast<PHINode>(BBI); ++BBI) {
696 MDNode *MD = dyn_cast<MDNode>(LoopID->getOperand(i));
700 MDString *S = dyn_cast<MDString>(MD->getOperand(0));
SimplifyIndVar.cpp 239 if (auto *I = dyn_cast<Instruction>(Incoming))
400 if (auto *EVI = dyn_cast<ExtractValueInst>(U)) {
425 if (ICmpInst *ICmp = dyn_cast<ICmpInst>(UseInst)) {
429 if (BinaryOperator *Rem = dyn_cast<BinaryOperator>(UseInst)) {
437 if (auto *CI = dyn_cast<CallInst>(UseInst))
584 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S);
633 IVOperand = dyn_cast<Instruction>(NewOper);
643 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(UseOper.first)) {
652 CastInst *Cast = dyn_cast<CastInst>(UseOper.first);
  /external/swiftshader/third_party/LLVM/lib/Analysis/
InlineCost.cpp 97 if (const AllocaInst *AI = dyn_cast<AllocaInst>(II)) {
105 if (const CastInst *CI = dyn_cast<CastInst>(II)) {
120 } else if (const GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(II)){
208 else if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(I)) {
212 } else if (BitCastInst *BCI = dyn_cast<BitCastInst>(I)) {
315 Function *F = dyn_cast<Function>(C);
328 if (CallInst *CI = dyn_cast<CallInst>(U)) {
332 } else if (InvokeInst *II = dyn_cast<InvokeInst>(U)) {
444 if (InvokeInst *II = dyn_cast<InvokeInst>(TheCall)) {
  /external/swiftshader/third_party/LLVM/tools/lto/
LTOModule.cpp 192 if (ConstantExpr *ce = dyn_cast<ConstantExpr>(c)) {
194 if (GlobalVariable *gvn = dyn_cast<GlobalVariable>(op)) {
196 if (ConstantArray *ca = dyn_cast<ConstantArray>(cn)) {
209 if (ConstantStruct *c = dyn_cast<ConstantStruct>(clgv->getInitializer())) {
243 if (ConstantStruct *c = dyn_cast<ConstantStruct>(clgv->getInitializer())) {
309 if (GlobalVariable *gv = dyn_cast<GlobalVariable>(v)) {
316 if (GlobalVariable *gv = dyn_cast<GlobalVariable>(v)) {
323 if (GlobalVariable *gv = dyn_cast<GlobalVariable>(v)) {
349 GlobalVariable *gv = dyn_cast<GlobalVariable>(def);
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
Function.cpp 565 if (PointerType* PTyp = dyn_cast<PointerType>(Ty)) {
568 } else if (ArrayType* ATyp = dyn_cast<ArrayType>(Ty)) {
571 } else if (StructType *STyp = dyn_cast<StructType>(Ty)) {
582 } else if (FunctionType *FT = dyn_cast<FunctionType>(Ty)) {
919 if (VectorType *VTy = dyn_cast<VectorType>(Ty))
926 if (VectorType *VTy = dyn_cast<VectorType>(Ty))
939 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) {
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
AMDGPUISelDAGToDAG.cpp 295 if (const ConstantSDNode *C = dyn_cast<ConstantSDNode>(N))
298 if (const ConstantFPSDNode *C = dyn_cast<ConstantFPSDNode>(N))
393 if (const ConstantSDNode *C = dyn_cast<ConstantSDNode>(N)) {
398 if (const ConstantFPSDNode *C = dyn_cast<ConstantFPSDNode>(N)) {
552 if (ConstantFPSDNode *FP = dyn_cast<ConstantFPSDNode>(N))
593 ConstantSDNode *Offset = dyn_cast<ConstantSDNode>(N->getOperand(1));
597 ConstantSDNode *Width = dyn_cast<ConstantSDNode>(N->getOperand(2));
674 if ((C = dyn_cast<ConstantSDNode>(Addr))) {
678 (C = dyn_cast<ConstantSDNode>(Addr.getOperand(0)))) {
682 (C = dyn_cast<ConstantSDNode>(Addr.getOperand(1))))
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
NVPTXAsmPrinter.cpp 100 if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(V))
103 if (const User *U = dyn_cast<User>(V)) {
345 if (auto *ITy = dyn_cast<IntegerType>(Ty)) {
644 if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(C)) {
649 if (const Constant *C = dyn_cast<Constant>(U))
657 if (const GlobalVariable *othergv = dyn_cast<GlobalVariable>(U)) {
662 if (const Instruction *instr = dyn_cast<Instruction>(U)) {
708 if (const Constant *cu = dyn_cast<Constant>(U)) {
711 } else if (const Instruction *I = dyn_cast<Instruction>(U)) {
739 if (const Constant *C = dyn_cast<Constant>(U))
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
PPCCTRLoops.cpp 220 if (IntegerType *ITy = dyn_cast<IntegerType>(Ty))
229 const auto *GV = dyn_cast<GlobalValue>(MemAddr);
232 if (const auto *CV = dyn_cast<Constant>(MemAddr))
263 if (CallInst *CI = dyn_cast<CallInst>(J)) {
265 if (InlineAsm *IA = dyn_cast<InlineAsm>(CI->getCalledValue())) {
456 } else if (SwitchInst *SI = dyn_cast<SwitchInst>(J)) {
549 if (BranchInst *BI = dyn_cast<BranchInst>(TI)) {
574 if (const SCEVConstant *ConstEC = dyn_cast<SCEVConstant>(EC)) {
616 if (BranchInst *BI = dyn_cast<BranchInst>(TI)) {
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/AsmParser/
X86Operand.h 106 if (auto *SRE = dyn_cast<MCSymbolRefExpr>(Val)) {
213 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
227 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
241 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
255 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
268 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
457 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Expr))
498 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getMemDisp()))
518 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getMemDisp()))
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
LoopRotationUtils.cpp 85 for (I = OrigHeader->begin(); PHINode *PN = dyn_cast<PHINode>(I); ++I)
208 BranchInst *BI = dyn_cast<BranchInst>(OrigHeader->getTerminator());
296 for (; PHINode *PN = dyn_cast<PHINode>(I); ++I)
312 if (auto *DII = dyn_cast<DbgInfoIntrinsic>(&*I))
342 if (auto *DII = dyn_cast<DbgInfoIntrinsic>(C))
368 if (auto *II = dyn_cast<IntrinsicInst>(C))
380 PHINode *PN = dyn_cast<PHINode>(BI); ++BI)
569 BranchInst *Jmp = dyn_cast<BranchInst>(Latch->getTerminator());
577 BranchInst *BI = dyn_cast<BranchInst>(LastExit->getTerminator());
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
VPlan.cpp 51 if (const VPInstruction *Instr = dyn_cast<VPInstruction>(&V))
61 while (const VPRegionBlock *Region = dyn_cast<VPRegionBlock>(Block))
68 while (VPRegionBlock *Region = dyn_cast<VPRegionBlock>(Block))
76 while (const VPRegionBlock *Region = dyn_cast<VPRegionBlock>(Block))
83 while (VPRegionBlock *Region = dyn_cast<VPRegionBlock>(Block))
415 if (const VPBasicBlock *BasicBlock = dyn_cast<VPBasicBlock>(Block))
417 else if (const VPRegionBlock *Region = dyn_cast<VPRegionBlock>(Block))
466 if (const VPInstruction *CBI = dyn_cast<VPInstruction>(CBV)) {
497 if (auto *Inst = dyn_cast<Instruction>(V)) {
  /external/v8/tools/clang/blink_gc_plugin/
RecordInfo.cpp 43 dyn_cast<ClassTemplateSpecializationDecl>(record_);
90 dyn_cast<ClassTemplateSpecializationDecl>(record_);
210 if (TypedefDecl* typedef_decl = dyn_cast<TypedefDecl>(decl)) {
473 CXXMethodDecl* method = dyn_cast<CXXMethodDecl>(decl);
476 dyn_cast<FunctionTemplateDecl>(decl))
477 method = dyn_cast<CXXMethodDecl>(func_template->getTemplatedDecl());
600 ns = dyn_cast<NamespaceDecl>(ns->getParent());
664 dyn_cast<NamespaceDecl>(info->record()->getDeclContext());
690 dyn_cast<NamespaceDecl>(info->record()->getDeclContext());

Completed in 966 milliseconds

<<21222324252627282930>>