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

<<31323334353637383940>>

  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
LoopUnroll.cpp 72 if (auto *V = dyn_cast<MetadataAsValue>(Op))
73 if (auto *Unwrapped = dyn_cast<ValueAsMetadata>(V->getMetadata())) {
88 if (PHINode *PN = dyn_cast<PHINode>(I)) {
173 if (auto Def = dyn_cast<Instruction>(U)) {
363 BranchInst *BI = dyn_cast<BranchInst>(LatchBlock->getTerminator());
625 if (Instruction *InValI = dyn_cast<Instruction>(InVal))
681 if (auto *II = dyn_cast<IntrinsicInst>(&I))
698 if (Instruction *InValI = dyn_cast<Instruction>(InVal)) {
    [all...]
SimplifyLibCalls.cpp 91 if (ICmpInst *IC = dyn_cast<ICmpInst>(U))
133 CallInst *FOpen = dyn_cast<CallInst>(File);
202 if (ConstantInt *LengthArg = dyn_cast<ConstantInt>(CI->getArgOperand(2)))
235 ConstantInt *CharC = dyn_cast<ConstantInt>(CI->getArgOperand(1));
270 ConstantInt *CharC = dyn_cast<ConstantInt>(CI->getArgOperand(1));
335 if (ConstantInt *LengthArg = dyn_cast<ConstantInt>(CI->getArgOperand(2)))
427 if (ConstantInt *LengthArg = dyn_cast<ConstantInt>(LenOp))
462 if (GEPOperator *GEP = dyn_cast<GEPOperator>(Src)) {
514 if (SelectInst *SI = dyn_cast<SelectInst>(Src)) {
689 ConstantInt *CharC = dyn_cast<ConstantInt>(CI->getArgOperand(1))
    [all...]
IntegerDivision.cpp 68 if (Instruction *URemInst = dyn_cast<Instruction>(URem))
93 if (Instruction *UDiv = dyn_cast<Instruction>(Quotient))
142 if (Instruction *UDiv = dyn_cast<Instruction>(Q_Mag))
405 BinaryOperator *BO = dyn_cast<BinaryOperator>(Builder.GetInsertPoint());
418 if (BinaryOperator *UDiv = dyn_cast<BinaryOperator>(Builder.GetInsertPoint())) {
464 BinaryOperator *BO = dyn_cast<BinaryOperator>(Builder.GetInsertPoint());
  /external/clang/lib/AST/
DeclTemplate.cpp 43 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(P))
47 if (TemplateTemplateParmDecl *TTP = dyn_cast<TemplateTemplateParmDecl>(P))
70 if (const auto *NTTP = dyn_cast<NonTypeTemplateParmDecl>(P))
79 if (const auto *TTP = dyn_cast<TemplateTypeParmDecl>(P)) {
82 } else if (const auto *NTTP = dyn_cast<NonTypeTemplateParmDecl>(P)) {
100 = dyn_cast<TemplateTypeParmDecl>(FirstParm))
103 = dyn_cast<NonTypeTemplateParmDecl>(FirstParm))
114 if (auto *TTP = dyn_cast<TemplateTemplateParmDecl>(P))
207 if (auto *TTP = dyn_cast<TemplateTypeParmDecl>(Param)) {
213 } else if (auto *NTTP = dyn_cast<NonTypeTemplateParmDecl>(Param))
    [all...]
ASTImporter.cpp     [all...]
  /external/clang/lib/Edit/
RewriteObjCFoundationAPI.cpp 44 if (const ObjCMessageExpr *Rec = dyn_cast<ObjCMessageExpr>(
119 InnerMsg = dyn_cast<ObjCMessageExpr>(Receiver->IgnoreParenCasts());
449 if (const ObjCMessageExpr *Msg = dyn_cast<ObjCMessageExpr>(E)) {
481 } else if (const ObjCArrayLiteral *ArrLit = dyn_cast<ObjCArrayLiteral>(E)) {
760 if (const CharacterLiteral *CharE = dyn_cast<CharacterLiteral>(Arg))
762 if (const ObjCBoolLiteralExpr *BE = dyn_cast<ObjCBoolLiteralExpr>(Arg))
764 if (const CXXBoolLiteralExpr *BE = dyn_cast<CXXBoolLiteralExpr>(Arg))
768 if (const UnaryOperator *UOE = dyn_cast<UnaryOperator>(literalE)) {
853 if (const IntegerLiteral *IntE = dyn_cast<IntegerLiteral>(literalE))
    [all...]
  /external/llvm/lib/Transforms/Utils/
ValueMapper.cpp 364 if (const InlineAsm *IA = dyn_cast<InlineAsm>(V)) {
378 if (const auto *MDV = dyn_cast<MetadataAsValue>(V)) {
381 if (auto *LAM = dyn_cast<LocalAsMetadata>(MD)) {
411 Constant *C = const_cast<Constant*>(dyn_cast<Constant>(V));
415 if (BlockAddress *BA = dyn_cast<BlockAddress>(C))
470 if (auto *GEPO = dyn_cast<GEPOperator>(C))
473 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(C))
522 if (auto *CMD = dyn_cast<ConstantAsMetadata>(Op))
566 if (auto *CMD = dyn_cast<ConstantAsMetadata>(Op))
790 if (auto *CMD = dyn_cast<ConstantAsMetadata>(MD))
    [all...]
IntegerDivision.cpp 68 if (Instruction *URemInst = dyn_cast<Instruction>(URem))
93 if (Instruction *UDiv = dyn_cast<Instruction>(Quotient))
142 if (Instruction *UDiv = dyn_cast<Instruction>(Q_Mag))
405 BinaryOperator *BO = dyn_cast<BinaryOperator>(Builder.GetInsertPoint());
418 if (BinaryOperator *UDiv = dyn_cast<BinaryOperator>(Builder.GetInsertPoint())) {
464 BinaryOperator *BO = dyn_cast<BinaryOperator>(Builder.GetInsertPoint());
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DebugInfoMetadata.cpp 151 if (auto *T = dyn_cast<DIType>(this))
154 if (auto *SP = dyn_cast<DISubprogram>(this))
157 if (auto *LB = dyn_cast<DILexicalBlockBase>(this))
160 if (auto *NS = dyn_cast<DINamespace>(this))
163 if (auto *M = dyn_cast<DIModule>(this))
172 if (auto *T = dyn_cast<DIType>(this))
174 if (auto *SP = dyn_cast<DISubprogram>(this))
176 if (auto *NS = dyn_cast<DINamespace>(this))
178 if (auto *M = dyn_cast<DIModule>(this))
488 if (auto *Block = dyn_cast<DILexicalBlockBase>(this)
    [all...]
Metadata.cpp 91 auto *N = dyn_cast<MDNode>(MD);
99 if (auto *C = dyn_cast<ConstantAsMetadata>(N->getOperand(0)))
162 if (auto *PH = dyn_cast<DistinctMDOperandPlaceholder>(&MD)) {
175 else if (auto *PH = dyn_cast<DistinctMDOperandPlaceholder>(&MD))
305 auto *OwnerMD = dyn_cast<MDNode>(Owner.get<Metadata *>());
315 if (auto *N = dyn_cast<MDNode>(&MD))
317 return dyn_cast<ValueAsMetadata>(&MD);
321 if (auto *N = dyn_cast<MDNode>(&MD))
323 return dyn_cast<ValueAsMetadata>(&MD);
327 if (auto *N = dyn_cast<MDNode>(&MD)
    [all...]
  /external/llvm/lib/Transforms/Vectorize/
LoopVectorize.cpp 640 if (Instruction *OpInst = dyn_cast<Instruction>(*OI))
691 if (Instruction *I = dyn_cast<Instruction>(V))
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Target/ARM/AsmParser/
ARMAsmParser.cpp 518 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
526 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
534 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
542 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
550 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
558 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
566 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
574 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
582 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
590 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm())
    [all...]
  /external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
FastISel.cpp 89 const Instruction *I = dyn_cast<Instruction>(V);
94 if (const CastInst *Cast = dyn_cast<CastInst>(I))
162 if (const ConstantInt *CI = dyn_cast<ConstantInt>(V)) {
172 } else if (const ConstantFP *CF = dyn_cast<ConstantFP>(V)) {
200 } else if (const Operator *Op = dyn_cast<Operator>(V)) {
344 if (ConstantInt *CI = dyn_cast<ConstantInt>(I->getOperand(0)))
369 if (ConstantInt *CI = dyn_cast<ConstantInt>(I->getOperand(1))) {
390 if (ConstantFP *CF = dyn_cast<ConstantFP>(I->getOperand(1))) {
435 if (StructType *StTy = dyn_cast<StructType>(Ty)) {
453 if (const ConstantInt *CI = dyn_cast<ConstantInt>(Idx))
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
SystemZISelDAGToDAG.cpp 718 auto *MaskNode = dyn_cast<ConstantSDNode>(Op.getOperand(1).getNode());
780 auto *MaskNode = dyn_cast<ConstantSDNode>(N.getOperand(1).getNode());
804 auto *MaskNode = dyn_cast<ConstantSDNode>(N.getOperand(1).getNode());
828 auto *CountNode = dyn_cast<ConstantSDNode>(N.getOperand(1).getNode());
873 auto *CountNode = dyn_cast<ConstantSDNode>(N.getOperand(1).getNode());
900 auto *CountNode = dyn_cast<ConstantSDNode>(N.getOperand(1).getNode());
    [all...]
  /external/clang/lib/CodeGen/
CGDebugInfo.cpp 142 if (auto *LBF = dyn_cast<llvm::DILexicalBlockFile>(Scope)) {
172 if (const NamespaceDecl *NSDecl = dyn_cast<NamespaceDecl>(Context))
175 if (const RecordDecl *RDecl = dyn_cast<RecordDecl>(Context))
226 dyn_cast<const ObjCImplementationDecl>(DC)) {
229 dyn_cast<const ObjCInterfaceDecl>(DC)) {
231 } else if (const ObjCCategoryDecl *OC = dyn_cast<ObjCCategoryDecl>(DC)) {
239 dyn_cast<const ObjCCategoryImplDecl>(DC)) {
    [all...]
  /external/llvm/lib/IR/
Instructions.cpp 69 if (VectorType *VT = dyn_cast<VectorType>(Op0->getType())) {
73 VectorType *ET = dyn_cast<VectorType>(Op1->getType());
437 const ConstantInt *CVal = dyn_cast<ConstantInt>(val);
468 } else if (Constant *CO = dyn_cast<Constant>(ArraySize)) {
513 if (Function *F = dyn_cast<Function>(MallocFunc)) {
599 if (Function *F = dyn_cast<Function>(FreeFunc))
    [all...]
  /external/clang/lib/Rewrite/
RewriteRope.cpp 616 if (RopePieceBTreeLeaf *Leaf = dyn_cast<RopePieceBTreeLeaf>(this))
630 if (RopePieceBTreeLeaf *Leaf = dyn_cast<RopePieceBTreeLeaf>(this))
644 if (RopePieceBTreeLeaf *Leaf = dyn_cast<RopePieceBTreeLeaf>(this))
653 if (RopePieceBTreeLeaf *Leaf = dyn_cast<RopePieceBTreeLeaf>(this))
672 while (const RopePieceBTreeInterior *IN = dyn_cast<RopePieceBTreeInterior>(N))
733 if (RopePieceBTreeLeaf *Leaf = dyn_cast<RopePieceBTreeLeaf>(getRoot(Root)))
  /external/spirv-llvm/lib/SPIRV/
OCLUtil.cpp 234 if (IntegerType* intTy = dyn_cast<IntegerType>(Ty)) {
248 if (VectorType* VecTy = dyn_cast<VectorType>(Ty)) {
556 auto SrcST = dyn_cast<StructType>(SrcTy);
557 auto DstST = dyn_cast<StructType>(DstTy);
566 BitCastInst *BIC = dyn_cast<BitCastInst>(Inst);
577 BitCastInst *BIC = dyn_cast<BitCastInst>(Inst);
  /external/swiftshader/third_party/LLVM/lib/CodeGen/
MachineFunction.cpp 662 if (const ConstantFP *AFP = dyn_cast<ConstantFP>(A))
663 if (const ConstantInt *BI = dyn_cast<ConstantInt>(B))
665 if (const ConstantFP *BFP = dyn_cast<ConstantFP>(B))
666 if (const ConstantInt *AI = dyn_cast<ConstantInt>(A))
671 if (const ConstantVector *AV = dyn_cast<ConstantVector>(A))
672 if (const ConstantVector *BV = dyn_cast<ConstantVector>(B)) {
MachineModuleInfo.cpp 136 else if (MCSymbol *Sym = Entry.Symbols.dyn_cast<MCSymbol*>())
173 if (MCSymbol *Sym = Entry.Symbols.dyn_cast<MCSymbol*>()) {
221 if (MCSymbol *PrevSym = NewEntry.Symbols.dyn_cast<MCSymbol*>()) {
231 if (MCSymbol *Sym = OldEntry.Symbols.dyn_cast<MCSymbol*>()) {
327 const ConstantArray *InitList = dyn_cast<ConstantArray>(GV->getInitializer());
332 dyn_cast<Function>(InitList->getOperand(i)->stripPointerCasts()))
  /external/swiftshader/third_party/LLVM/lib/Target/CBackend/
CBackend.cpp 223 if (const Argument *A = dyn_cast<Argument>(V))
265 const AllocaInst *AI = dyn_cast<AllocaInst>(V);
276 if (const CallInst *CI = dyn_cast<CallInst>(&I))
752 if (const ConstantExpr *CE = dyn_cast<ConstantExpr>(CPV)) {
921 if (ConstantInt *CI = dyn_cast<ConstantInt>(CPV)) {
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
FastISel.cpp 331 const Instruction *I = dyn_cast<Instruction>(V);
336 if (const auto *Cast = dyn_cast<CastInst>(I))
348 if (const auto *GEP = dyn_cast<GetElementPtrInst>(I))
404 if (const auto *CI = dyn_cast<ConstantInt>(V)) {
414 else if (const auto *CF = dyn_cast<ConstantFP>(V)) {
437 } else if (const auto *Op = dyn_cast<Operator>(V)) {
596 if (const auto *CI = dyn_cast<ConstantInt>(I->getOperand(0)))
620 if (const auto *CI = dyn_cast<ConstantInt>(I->getOperand(1))) {
697 if (const auto *CI = dyn_cast<ConstantInt>(Idx)) {
755 if (const auto *C = dyn_cast<ConstantInt>(Val))
    [all...]
FunctionLoweringInfo.cpp 70 if (const auto *CI = dyn_cast<CmpInst>(U)) {
134 if (const AllocaInst *AI = dyn_cast<AllocaInst>(&I)) {
203 if (const auto *II = dyn_cast<IntrinsicInst>(&I)) {
210 if (const auto *CI = dyn_cast<CallInst>(&I)) {
440 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) {
473 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) {
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
LoopPredication.cpp 370 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(LHSS);
409 NewLatchCheck.IV = dyn_cast<SCEVAddRecExpr>(
603 if (ICmpInst *ICI = dyn_cast<ICmpInst>(Condition)) {
704 auto *Limit = dyn_cast<SCEVConstant>(LatchCheck.Limit);
705 auto *Start = dyn_cast<SCEVConstant>(LatchCheck.IV->getStart());
815 if (auto *II = dyn_cast<IntrinsicInst>(&I))
  /external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/
Local.cpp 144 auto *F = dyn_cast<Function>(GV);
147 auto *AI = dyn_cast<AllocaInst>(Inst);
151 auto *DII = dyn_cast<DbgDeclareInst>(Inst);
204 BranchInst *Term = dyn_cast<BranchInst>(SinglePred->getTerminator());
371 F = dyn_cast<Function>(GV);
402 auto DI = dyn_cast<DbgValueInst>(&I);

Completed in 3464 milliseconds

<<31323334353637383940>>