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

<<11121314151617181920>>

  /external/llvm/lib/Analysis/
MemoryDependenceAnalysis.cpp 91 if (const LoadInst *LI = dyn_cast<LoadInst>(Inst)) {
104 if (const StoreInst *SI = dyn_cast<StoreInst>(Inst)) {
117 if (const VAArgInst *V = dyn_cast<VAArgInst>(Inst)) {
128 if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(Inst)) {
319 if (LoadInst *LI = dyn_cast<LoadInst>(Inst))
321 else if (StoreInst *SI = dyn_cast<StoreInst>(Inst))
323 else if (AtomicCmpXchgInst *AI = dyn_cast<AtomicCmpXchgInst>(Inst))
333 if (auto *LI = dyn_cast<LoadInst>(QueryInst)) {
367 if (auto *BCI = dyn_cast<BitCastInst>(Ptr)) {
374 auto *U = dyn_cast<Instruction>(Us.getUser())
    [all...]
AliasSetTracker.cpp 357 if (ConstantInt *C = dyn_cast<ConstantInt>(MSI->getLength()))
388 if (LoadInst *LI = dyn_cast<LoadInst>(I))
390 if (StoreInst *SI = dyn_cast<StoreInst>(I))
392 if (VAArgInst *VAAI = dyn_cast<VAArgInst>(I))
394 if (MemSetInst *MSI = dyn_cast<MemSetInst>(I))
512 if (ConstantInt *C = dyn_cast<ConstantInt>(MSI->getLength()))
536 if (LoadInst *LI = dyn_cast<LoadInst>(I))
538 if (StoreInst *SI = dyn_cast<StoreInst>(I))
540 if (VAArgInst *VAAI = dyn_cast<VAArgInst>(I))
542 if (MemSetInst *MSI = dyn_cast<MemSetInst>(I)
    [all...]
  /external/llvm/lib/IR/
Function.cpp 438 const Function *SrcF = dyn_cast<Function>(Src);
507 if (PointerType* PTyp = dyn_cast<PointerType>(Ty)) {
510 } else if (ArrayType* ATyp = dyn_cast<ArrayType>(Ty)) {
513 } else if (StructType* STyp = dyn_cast<StructType>(Ty)) {
516 } else if (FunctionType* FT = dyn_cast<FunctionType>(Ty)) {
817 if (VectorType *VTy = dyn_cast<VectorType>(Ty))
824 if (VectorType *VTy = dyn_cast<VectorType>(Ty))
837 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) {
848 VectorType *VTy = dyn_cast<VectorType>(Ty);
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
Verifier.cpp 563 const GlobalVariable *GVar = dyn_cast<GlobalVariable>(&GV);
590 if (const Instruction *I = dyn_cast<Instruction>(V)) {
599 } else if (const Function *F = dyn_cast<Function>(V)) {
632 if (ArrayType *ATy = dyn_cast<ArrayType>(GV.getValueType())) {
633 StructType *STy = dyn_cast<StructType>(ATy->getElementType());
656 if (ArrayType *ATy = dyn_cast<ArrayType>(GVType)) {
657 PointerType *PTy = dyn_cast<PointerType>(ATy->getElementType());
661 const ConstantArray *InitArray = dyn_cast<ConstantArray>(Init);
679 if (auto *GVE = dyn_cast<DIGlobalVariableExpression>(MD))
705 if (const auto *GV = dyn_cast<GlobalValue>(&C))
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
LoopInterchange.cpp 98 if (auto *Ld = dyn_cast<LoadInst>(&I)) {
102 } else if (auto *St = dyn_cast<StoreInst>(&I)) {
310 dyn_cast<SCEVAddRecExpr>(SE->getSCEV(PhiVar));
616 auto *UserIns = dyn_cast<PHINode>(U);
627 if (LoadInst *L = dyn_cast<LoadInst>(&I)) {
641 if (StoreInst *L = dyn_cast<StoreInst>(&I)) {
661 dyn_cast<BranchInst>(OuterLoopHeader->getTerminator());
689 Instruction *I = dyn_cast<Instruction>(Val);
731 Instruction *Ins = dyn_cast<Instruction>(PHI.getIncomingValue(0));
885 dyn_cast<Instruction>(InnerInductionVar->getIncomingValue(1))
    [all...]
LoopStrengthReduce.cpp 387 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) {
394 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S))
406 if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(S))
462 const SCEVAddRecExpr *SAR = dyn_cast<const SCEVAddRecExpr>(ScaledReg);
500 const SCEVAddRecExpr *SAR = dyn_cast<const SCEVAddRecExpr>(ScaledReg);
653 const SCEVConstant *RC = dyn_cast<SCEVConstant>(RHS);
666 if (const SCEVConstant *C = dyn_cast<SCEVConstant>(LHS)) {
677 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(LHS)) {
694 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(LHS)) {
708 if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(LHS))
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
CodeExtractor.cpp 108 if (auto *UU = dyn_cast<User>(U))
122 if (const auto *II = dyn_cast<InvokeInst>(I)) {
133 if (const auto *CSI = dyn_cast<CatchSwitchInst>(I)) {
145 if (const auto *CPI = dyn_cast<CatchPadInst>(I)) {
147 if (const auto *CRI = dyn_cast<CatchReturnInst>(U))
156 if (const auto *CPI = dyn_cast<CleanupPadInst>(I)) {
158 if (const auto *CRI = dyn_cast<CleanupReturnInst>(U))
163 if (const auto *CRI = dyn_cast<CleanupReturnInst>(I)) {
170 if (const CallInst *CI = dyn_cast<CallInst>(I))
248 if (Instruction *I = dyn_cast<Instruction>(V)
    [all...]
InlineFunction.cpp 223 if (auto *FPI = dyn_cast<FuncletPadInst>(EHPad))
244 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(CurrentPad)) {
294 if (auto *CleanupRet = dyn_cast<CleanupReturnInst>(U)) {
302 if (auto *Invoke = dyn_cast<InvokeInst>(U)) {
341 if (auto *UnwindPad = dyn_cast<Instruction>(UnwindDestToken))
348 ExitedPad = dyn_cast<Instruction>(getParentPad(ExitedPad))) {
388 if (auto *CPI = dyn_cast<CatchPadInst>(EHPad))
415 auto *AncestorPad = dyn_cast<Instruction>(AncestorToken);
489 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(UselessPad)) {
535 CallInst *CI = dyn_cast<CallInst>(I)
    [all...]
SymbolRewriter.cpp 137 if (GlobalObject *GO = dyn_cast<GlobalObject>(S))
191 if (GlobalObject *GO = dyn_cast<GlobalObject>(&C))
278 DescriptorList = dyn_cast<yaml::MappingNode>(Document.getRoot());
299 Key = dyn_cast<yaml::ScalarNode>(Entry.getKey());
305 Value = dyn_cast<yaml::MappingNode>(Entry.getValue());
339 Key = dyn_cast<yaml::ScalarNode>(Field.getKey());
345 Value = dyn_cast<yaml::ScalarNode>(Field.getValue());
408 Key = dyn_cast<yaml::ScalarNode>(Field.getKey());
414 Value = dyn_cast<yaml::ScalarNode>(Field.getValue());
471 Key = dyn_cast<yaml::ScalarNode>(Field.getKey())
    [all...]
PromoteMemoryToRegister.cpp 72 if (const LoadInst *LI = dyn_cast<LoadInst>(U)) {
77 } else if (const StoreInst *SI = dyn_cast<StoreInst>(U)) {
84 } else if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(U)) {
88 } else if (const BitCastInst *BCI = dyn_cast<BitCastInst>(U)) {
93 } else if (const GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(U)) {
142 if (StoreInst *SI = dyn_cast<StoreInst>(User)) {
475 if (StoreInst *SI = dyn_cast<StoreInst>(U))
485 LoadInst *LI = dyn_cast<LoadInst>(*UI++);
776 while ((SomePHI = dyn_cast<PHINode>(BBI++)) &&
813 if (StoreInst *SI = dyn_cast<StoreInst>(I))
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
BasicAliasAnalysis.cpp 124 if (const Argument *A = dyn_cast<Argument>(V))
243 if (const ConstantInt *Const = dyn_cast<ConstantInt>(V)) {
254 if (const BinaryOperator *BOp = dyn_cast<BinaryOperator>(V)) {
255 if (ConstantInt *RHSC = dyn_cast<ConstantInt>(BOp->getOperand(1))) {
418 const Operator *Op = dyn_cast<Operator>(V);
421 if (const GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) {
437 const GEPOperator *GEPOp = dyn_cast<GEPOperator>(Op);
457 if (const Instruction *I = dyn_cast<Instruction>(V))
500 if (const ConstantInt *CIdx = dyn_cast<ConstantInt>(Index)) {
602 if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(V))
    [all...]
  /external/llvm/lib/CodeGen/
CodeGenPrepare.cpp 348 BranchInst *Term = dyn_cast<BranchInst>(SinglePred->getTerminator());
387 BranchInst *BI = dyn_cast<BranchInst>(BB->getTerminator());
436 while (const PHINode *PN = dyn_cast<PHINode>(BBI++)) {
445 if (const PHINode *UPN = dyn_cast<PHINode>(UI))
447 Instruction *Insn = dyn_cast<Instruction>(UPN->getIncomingValue(I));
459 const PHINode *DestBBPN = dyn_cast<PHINode>(DestBB->begin());
464 if (const PHINode *BBPN = dyn_cast<PHINode>(BB->begin())) {
477 while (const PHINode *PN = dyn_cast<PHINode>(BBI++)) {
482 if (const PHINode *V2PN = dyn_cast<PHINode>(V2))
525 (PN = dyn_cast<PHINode>(BBI)); ++BBI)
    [all...]
  /external/clang/lib/Analysis/
ReachableCode.cpp 35 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Ex);
53 if (const DoStmt *DS = dyn_cast<DoStmt>(Term)) {
71 if (const ReturnStmt *RS = dyn_cast<ReturnStmt>(CS->getStmt())) {
167 if (const Expr *Ex = dyn_cast<Expr>(S))
171 if (const ParenExpr *PE = dyn_cast<ParenExpr>(S))
176 if (const Expr *Ex = dyn_cast<Expr>(S))
231 if (const EnumConstantDecl *ED = dyn_cast<EnumConstantDecl>(D))
233 if (const VarDecl *VD = dyn_cast<VarDecl>(D)) {
409 if (const BinaryOperator *BO = dyn_cast<BinaryOperator>(S))
509 if (const Expr *Ex = dyn_cast<Expr>(S)
    [all...]
  /external/llvm/lib/Transforms/Scalar/
MergedLoadStoreMotion.cpp 148 if (auto *LI = dyn_cast<LoadInst>(Inst))
171 auto *BI = dyn_cast<BranchInst>(BB->getTerminator());
230 auto *Load1 = dyn_cast<LoadInst>(Inst);
288 if (auto *Instr = dyn_cast<Instruction>(&U))
300 auto *A0 = dyn_cast<Instruction>(L0->getPointerOperand());
301 auto *A1 = dyn_cast<Instruction>(L1->getPointerOperand());
337 auto *L0 = dyn_cast<LoadInst>(I);
383 auto *Store1 = dyn_cast<StoreInst>(&Inst);
426 auto *A0 = dyn_cast<Instruction>(S0->getPointerOperand());
427 auto *A1 = dyn_cast<Instruction>(S1->getPointerOperand())
    [all...]
SROA.cpp 587 if (ConstantInt *CI = dyn_cast<ConstantInt>(SI.getCondition()))
597 if (PHINode *PN = dyn_cast<PHINode>(&I)) {
691 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand());
696 if (StructType *STy = dyn_cast<StructType>(*GTI)) {
775 ConstantInt *Length = dyn_cast<ConstantInt>(II.getLength());
790 ConstantInt *Length = dyn_cast<ConstantInt>(II.getLength());
    [all...]
Scalarizer.cpp 188 PtrTy = dyn_cast<PointerType>(Ty);
222 InsertElementInst *Insert = dyn_cast<InsertElementInst>(V);
225 ConstantInt *Idx = dyn_cast<ConstantInt>(Insert->getOperand(2));
273 if (Argument *VArg = dyn_cast<Argument>(V)) {
280 if (Instruction *VOp = dyn_cast<Instruction>(V)) {
341 if (Instruction *New = dyn_cast<Instruction>(CV[I])) {
356 Layout.VecTy = dyn_cast<VectorType>(Ty);
378 VectorType *VT = dyn_cast<VectorType>(I.getType());
398 VectorType *VT = dyn_cast<VectorType>(SI.getType());
440 VectorType *VT = dyn_cast<VectorType>(GEPI.getType())
    [all...]
SCCP.cpp 139 return dyn_cast<ConstantInt>(getConstant());
245 if (StructType *STy = dyn_cast<StructType>(F->getReturnType())) {
275 StructType *STy = dyn_cast<StructType>(V->getType());
311 if (StructType *STy = dyn_cast<StructType>(V->getType()))
357 if (Function *F = dyn_cast<Function>(V))
395 if (Constant *C = dyn_cast<Constant>(V)) {
421 if (Constant *C = dyn_cast<Constant>(V)) {
452 (PN = dyn_cast<PHINode>(I)); ++I)
544 if (BranchInst *BI = dyn_cast<BranchInst>(&TI)) {
571 if (SwitchInst *SI = dyn_cast<SwitchInst>(&TI))
    [all...]
  /external/llvm/lib/Transforms/Utils/
SymbolRewriter.cpp 118 if (GlobalObject *GO = dyn_cast<GlobalObject>(S))
168 if (GlobalObject *GO = dyn_cast<GlobalObject>(&C))
258 DescriptorList = dyn_cast<yaml::MappingNode>(Document.getRoot());
279 Key = dyn_cast<yaml::ScalarNode>(Entry.getKey());
285 Value = dyn_cast<yaml::MappingNode>(Entry.getValue());
319 Key = dyn_cast<yaml::ScalarNode>(Field.getKey());
325 Value = dyn_cast<yaml::ScalarNode>(Field.getValue());
386 Key = dyn_cast<yaml::ScalarNode>(Field.getKey());
392 Value = dyn_cast<yaml::ScalarNode>(Field.getValue());
448 Key = dyn_cast<yaml::ScalarNode>(Field.getKey())
    [all...]
PromoteMemoryToRegister.cpp 58 if (const LoadInst *LI = dyn_cast<LoadInst>(U)) {
63 } else if (const StoreInst *SI = dyn_cast<StoreInst>(U)) {
70 } else if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(U)) {
74 } else if (const BitCastInst *BCI = dyn_cast<BitCastInst>(U)) {
79 } else if (const GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(U)) {
128 if (StoreInst *SI = dyn_cast<StoreInst>(User)) {
449 if (StoreInst *SI = dyn_cast<StoreInst>(U))
459 LoadInst *LI = dyn_cast<LoadInst>(*UI++);
759 while ((SomePHI = dyn_cast<PHINode>(BBI++)) &&
797 if (StoreInst *SI = dyn_cast<StoreInst>(I))
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/
TGParser.cpp 77 if (auto VBI = dyn_cast<VarBitInit>(Bit)) {
78 if (auto VI = dyn_cast<VarInit>(VBI->getBitVar())) {
126 if (BinOpInit *BinOp = dyn_cast<BinOpInit>(NewName))
175 if (VarInit *VI = dyn_cast<VarInit>(V))
184 BitsInit *CurVal = dyn_cast<BitsInit>(RV->getValue());
214 if (BitsInit *BI = dyn_cast<BitsInit>(V))
217 else if (TypedInit *TI = dyn_cast<TypedInit>(V))
379 auto LI = dyn_cast<ListInit>(List);
857 VarInit *IterVar = dyn_cast<VarInit>(L->IterVar);
940 ListInit *LHSl = dyn_cast<ListInit>(LHS)
    [all...]
  /external/clang/lib/StaticAnalyzer/Checkers/
NullabilityChecker.cpp 301 return dyn_cast<SymbolicRegion>(FieldReg->getSuperRegion());
303 return dyn_cast<SymbolicRegion>(ElementReg->getSuperRegion());
306 return dyn_cast<SymbolicRegion>(Region);
401 auto *MD = dyn_cast<ObjCMethodDecl>(LocCtxt->getDecl());
412 dyn_cast<ObjCObjectPointerType>(SelfDecl->getType());
440 if (const auto *BD = dyn_cast<BlockDecl>(D))
442 else if (const auto *FD = dyn_cast<FunctionDecl>(D))
444 else if (const auto *MD = dyn_cast<ObjCMethodDecl>(D))
541 while (auto *ICE = dyn_cast<ImplicitCastExpr>(E)) {
574 if (auto *MD = dyn_cast<ObjCMethodDecl>(D))
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
InstCombineSimplifyDemanded.cpp 33 ConstantInt *OpC = dyn_cast<ConstantInt>(I->getOperand(OpNo));
116 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) {
143 Instruction *I = dyn_cast<Instruction>(V);
342 if (Instruction *LHSInst = dyn_cast<Instruction>(I->getOperand(0)))
404 if (VectorType *DstVTy = dyn_cast<VectorType>(I->getType())) {
406 dyn_cast<VectorType>(I->getOperand(0)->getType())) {
486 if (ConstantInt *RHS = dyn_cast<ConstantInt>(I->getOperand(1))) {
575 if (ConstantInt *SA = dyn_cast<ConstantInt>(I->getOperand(1))) {
599 if (ConstantInt *SA = dyn_cast<ConstantInt>(I->getOperand(1))) {
640 if (ConstantInt *SA = dyn_cast<ConstantInt>(I->getOperand(1)))
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
Reassociate.cpp 118 Instruction *Op = dyn_cast<Instruction>(V);
171 Instruction *I = dyn_cast<Instruction>(V);
403 if (Constant *C = dyn_cast<Constant>(V))
415 if (Instruction *I = dyn_cast<Instruction>(V))
448 if (Instruction *InstInput = dyn_cast<Instruction>(V)) {
449 if (InvokeInst *II = dyn_cast<InvokeInst>(InstInput)) {
591 if (ConstantInt *FC1 = dyn_cast<ConstantInt>(Factor))
592 if (ConstantInt *FC2 = dyn_cast<ConstantInt>(Factors[i].Op))
635 !(BO = dyn_cast<BinaryOperator>(V)) ||
793 BinaryOperator *BOp = dyn_cast<BinaryOperator>(Ops[i].Op)
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
ArgumentPromotion.cpp 168 if (LoadInst *L = dyn_cast<LoadInst>(UI))
185 if (LoadInst *L = dyn_cast<LoadInst>(UI))
289 if (auto *ElPTy = dyn_cast<PointerType>(ElTy))
323 if (InvokeInst *II = dyn_cast<InvokeInst>(Call)) {
406 CallInst *Call = dyn_cast<CallInst>(U);
423 if (LoadInst *LI = dyn_cast<LoadInst>(I->user_back())) {
606 if (LoadInst *LI = dyn_cast<LoadInst>(&I)) {
608 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(V)) {
615 if (ConstantInt *CI = dyn_cast<ConstantInt>(*II))
639 if (LoadInst *LI = dyn_cast<LoadInst>(UR))
    [all...]
  /external/clang/lib/AST/
DeclObjC.cpp 60 if (ObjCIvarDecl *ivar = dyn_cast<ObjCIvarDecl>(*Ivar))
72 if (const ObjCProtocolDecl *Proto = dyn_cast<ObjCProtocolDecl>(this)) {
89 ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(*Meth);
107 ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(*Meth);
112 if (const ObjCInterfaceDecl *ID = dyn_cast<ObjCInterfaceDecl>(this)) {
146 if (const ObjCProtocolDecl *PD = dyn_cast<ObjCProtocolDecl>(this))
159 if (const ObjCProtocolDecl *Proto = dyn_cast<ObjCProtocolDecl>(DC)) {
167 if (auto *IDecl = dyn_cast<ObjCInterfaceDecl>(DC)) {
179 if (ObjCPropertyDecl *PD = dyn_cast<ObjCPropertyDecl>(*I)) {
217 if (const ObjCProtocolDecl *Proto = dyn_cast<ObjCProtocolDecl>(this))
    [all...]

Completed in 1285 milliseconds

<<11121314151617181920>>