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

<<31323334353637383940>>

  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
AddDiscriminators.cpp 227 CallInst *Current = dyn_cast<CallInst>(&I);
LoopUnrollAndJam.cpp 98 if (Instruction *I = dyn_cast<Instruction>(V))
110 if (Instruction *II = dyn_cast<Instruction>(U))
248 BranchInst *BI = dyn_cast<BranchInst>(LatchBlock->getTerminator());
375 if (auto *II = dyn_cast<IntrinsicInst>(&I))
429 while (PHINode *Phi = dyn_cast<PHINode>(Src->begin()))
444 while (PHINode *Phi = dyn_cast<PHINode>(ForeBlocksFirst[0]->begin())) {
534 BranchInst *Term = dyn_cast<BranchInst>(BB->getTerminator());
582 if (auto *Ld = dyn_cast<LoadInst>(&I)) {
586 } else if (auto *St = dyn_cast<StoreInst>(&I)) {
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
LoopVectorize.cpp 276 if (auto *LI = dyn_cast<LoadInst>(I))
285 if (auto *LI = dyn_cast<LoadInst>(I))
295 if (auto *LI = dyn_cast<LoadInst>(I))
743 if (Instruction *OpInst = dyn_cast<Instruction>(*OI))
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
CodeGenInstruction.cpp 35 if (DefInit *Init = dyn_cast<DefInit>(OutDI->getOperator())) {
44 if (DefInit *Init = dyn_cast<DefInit>(InDI->getOperator())) {
65 DefInit *Arg = dyn_cast<DefInit>(ArgInit);
443 if (DefInit *Constraint = dyn_cast<DefInit>(ConstraintList->getArg(i))) {
465 DefInit *ADI = dyn_cast<DefInit>(Arg);
539 if (IntInit *II = dyn_cast<IntInit>(Arg)) {
551 if (BitsInit *BI = dyn_cast<BitsInit>(Arg)) {
605 DefInit *DI = dyn_cast<DefInit>(Result->getOperator());
616 DefInit *ADI = dyn_cast<DefInit>(Result->getArg(i));
DAGISelMatcherEmitter.cpp 416 if (const SwitchOpcodeMatcher *SOM = dyn_cast<SwitchOpcodeMatcher>(N)) {
433 if (const SwitchOpcodeMatcher *SOM = dyn_cast<SwitchOpcodeMatcher>(N)) {
472 if (const SwitchOpcodeMatcher *SOM = dyn_cast<SwitchOpcodeMatcher>(N))
657 if (const MorphNodeToMatcher *SNT = dyn_cast<MorphNodeToMatcher>(N)) {
708 if (const EmitNodeMatcher *E = dyn_cast<EmitNodeMatcher>(EN)) {
718 if (const MorphNodeToMatcher *SNT = dyn_cast<MorphNodeToMatcher>(N)) {
927 if (const ScopeMatcher *SM = dyn_cast<ScopeMatcher>(M)) {
931 dyn_cast<SwitchOpcodeMatcher>(M)) {
934 } else if (const SwitchTypeMatcher *STM = dyn_cast<SwitchTypeMatcher>(M)) {
    [all...]
SearchableTableEmitter.cpp 111 if (StringInit *SI = dyn_cast<StringInit>(I))
113 else if (BitsInit *BI = dyn_cast<BitsInit>(I))
115 else if (BitInit *BI = dyn_cast<BitInit>(I))
117 else if (CodeInit *CI = dyn_cast<CodeInit>(I))
130 if (DefInit *DI = dyn_cast<DefInit>(I))
155 } else if (BitsRecTy *BI = dyn_cast<BitsRecTy>(Field.RecType)) {
522 if (auto DI = dyn_cast<DefInit>(II)) {
594 auto TI = dyn_cast<TypedInit>(EntryRec->getValueInit(Field.Name));
619 if (auto RecordTy = dyn_cast<RecordRecTy>(Field.RecType)) {
  /external/swiftshader/third_party/subzero/src/
IceInstMIPS32.cpp 166 if (auto *CR = llvm::dyn_cast<ConstantRelocatable>(Src0)) {
293 auto *Dest64 = llvm::dyn_cast<Variable64On32>(Dest);
294 auto *Src64 = llvm::dyn_cast<Variable64On32>(Src);
347 if (auto *CR = llvm::dyn_cast<ConstantRelocatable>(Offset)) {
568 llvm::dyn_cast<ConstantRelocatable>(getCallTarget())) {
589 llvm::dyn_cast<ConstantRelocatable>(getCallTarget())) {
634 auto *SrcV = llvm::dyn_cast<Variable>(Src);
694 auto *SrcV = llvm::dyn_cast<Variable>(Src);
907 auto *Mem = llvm::dyn_cast<OperandMIPS32Mem>(getSrc(0));
913 auto *Mem = llvm::dyn_cast<OperandMIPS32Mem>(getSrc(0))
    [all...]
  /external/v8/tools/clang/blink_gc_plugin/
CheckFinalizerVisitor.cpp 102 FieldDecl* field = dyn_cast<FieldDecl>(member->getMemberDecl());
  /external/v8/tools/clang/pass_to_move/
PassToMove.cpp 45 clang::dyn_cast<clang::MemberExpr>(call_expr->getCallee());
  /external/v8/tools/clang/plugins/
FindBadConstructsConsumer.cpp 24 if (const ElaboratedType* elaborated = dyn_cast<ElaboratedType>(type))
26 if (const TypedefType* typedefed = dyn_cast<TypedefType>(type))
641 if (CompoundStmt* cs = dyn_cast<CompoundStmt>(method->getBody())) {
689 dyn_cast<TemplateSpecializationType>(type)->getTemplateName();
708 CountType(dyn_cast<ElaboratedType>(type)->getNamedType().getTypePtr(),
715 while (const TypedefType* TT = dyn_cast<TypedefType>(type)) {
772 dyn_cast<TemplateSpecializationType>(
811 dyn_cast<CXXRecordDecl>(base->getType()->getAs<RecordType>()->getDecl());
    [all...]
  /external/clang/lib/Serialization/
ASTReaderDecl.cpp 458 if (DeclaratorDecl *DD = dyn_cast<DeclaratorDecl>(D)) {
470 if (TypeDecl *TD = dyn_cast<TypeDecl>(D)) {
479 } else if (ObjCInterfaceDecl *ID = dyn_cast<ObjCInterfaceDecl>(D)) {
482 } else if (FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) {
488 if (auto *CD = dyn_cast<CXXConstructorDecl>(FD)) {
    [all...]
  /external/clang/lib/CodeGen/
CGExprCXX.cpp 209 if (const auto *Dtor = dyn_cast<CXXDestructorDecl>(CalleeDecl))
212 else if (const auto *Ctor = dyn_cast<CXXConstructorDecl>(CalleeDecl))
229 if (const CXXDestructorDecl *Dtor = dyn_cast<CXXDestructorDecl>(MD)) {
253 if (const CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(MD)) {
514 if (const ExprWithCleanups *E = dyn_cast<ExprWithCleanups>(Exp))
604 dyn_cast<llvm::ConstantInt>(numElements)) {
    [all...]
CGCall.cpp 268 if (auto *CD = dyn_cast<CXXConstructorDecl>(MD)) {
276 auto *DD = dyn_cast<CXXDestructorDecl>(MD);
381 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(FD))
460 if (const CXXConstructorDecl *CD = dyn_cast<CXXConstructorDecl>(FD))
463 if (const CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(FD))
523 if (const FunctionProtoType *proto = dyn_cast<FunctionProtoType>(fnType)) {
    [all...]
CGExpr.cpp 360 if (auto *Var = dyn_cast<llvm::GlobalVariable>(Object.getPointer())) {
406 if (const auto *opaque = dyn_cast<OpaqueValueExpr>(E)) {
415 if (auto *Var = dyn_cast<llvm::GlobalVariable>(Object.getPointer())) {
694 if (const auto *CAT = dyn_cast<ConstantArrayType>(AT)) {
703 if (const auto *ME = dyn_cast<MemberExpr>(E)) {
706 if (const auto *FD = dyn_cast<FieldDecl>(ME->getMemberDecl())) {
728 if (const auto *CE = dyn_cast<CastExpr>(Base)) {
733 if (const auto *CAT = dyn_cast<ConstantArrayType>(AT))
735 else if (const auto *VAT = dyn_cast<VariableArrayType>(AT))
    [all...]
CGClass.cpp 665 auto *CD = dyn_cast<CXXConstructorDecl>(D);
725 CXXConstructExpr *CE = dyn_cast<CXXConstructExpr>(MemberInit->getInit());
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Target/CppBackend/
CPPBackend.cpp 372 if (StructType *STy = dyn_cast<StructType>(Ty))
396 if (const GlobalVariable* GV = dyn_cast<GlobalVariable>(val)) {
401 } else if (const Constant* C = dyn_cast<Constant>(val)) {
403 } else if (const Argument* Arg = dyn_cast<Argument>(val)) {
686 if (const ConstantInt *CI = dyn_cast<ConstantInt>(CV)) {
698 } else if (const ConstantFP *CFP = dyn_cast<ConstantFP>(CV)) {
702 } else if (const ConstantArray *CA = dyn_cast<ConstantArray>(CV)) {
735 } else if (const ConstantStruct *CS = dyn_cast<ConstantStruct>(CV)) {
747 } else if (const ConstantVector *CP = dyn_cast<ConstantVector>(CV)) {
762 } else if (const ConstantExpr *CE = dyn_cast<ConstantExpr>(CV))
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
SelectionDAG.cpp 134 auto *BV = dyn_cast<BuildVectorSDNode>(N);
176 if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(NotZero)) {
179 } else if (ConstantFPSDNode *CFPN = dyn_cast<ConstantFPSDNode>(NotZero)) {
215 if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(Op)) {
218 } else if (ConstantFPSDNode *CFPN = dyn_cast<ConstantFPSDNode>(Op)) {
273 if (auto *Cst = dyn_cast<ConstantSDNode>(Op))
281 auto *Cst = dyn_cast<ConstantSDNode>(Op.getOperand(i));
294 if (auto *LHSCst = dyn_cast<ConstantSDNode>(LHS))
295 if (auto *RHSCst = dyn_cast<ConstantSDNode>(RHS))
304 auto *LHSCst = dyn_cast<ConstantSDNode>(LHS.getOperand(i))
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
Core.cpp 737 if (auto *PTy = dyn_cast<PointerType>(Ty))
859 if (MDNode *N = dyn_cast<MDNode>(MD))
926 if (auto *C = dyn_cast<ConstantAsMetadata>(Op))
933 if (auto *MD = dyn_cast<MetadataAsValue>(V)) {
934 if (auto *L = dyn_cast<ValueAsMetadata>(MD->getMetadata())) {
981 if (Constant *C = dyn_cast<Constant>(unwrap(Val)))
1016 else if (auto *C = dyn_cast<Constant>(V))
1018 else if (auto *MDV = dyn_cast<MetadataAsValue>(V)) {
1044 if (auto *C = dyn_cast<Constant>(V))
1046 if (auto *MAV = dyn_cast<MetadataAsValue>(V)
    [all...]
  /external/llvm/lib/Transforms/Instrumentation/
AddressSanitizer.cpp 466 ConstantInt *CI = dyn_cast<ConstantInt>(AI->getArraySize());
749 ConstantInt *Size = dyn_cast<ConstantInt>(II.getArgOperand(0));
769 if (CallInst *CI = dyn_cast<CallInst>(I)) {
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
HexagonISelDAGToDAG.cpp 589 if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(Mul_1)) {
605 if (ConstantSDNode *C1 = dyn_cast<ConstantSDNode>(Sub_0)) {
610 if (ConstantSDNode *C2 = dyn_cast<ConstantSDNode>(Shl2_1)) {
704 ConstantFPSDNode *CN = dyn_cast<ConstantFPSDNode>(N);
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
LowerTypeTests.cpp 632 if (auto GV = dyn_cast<GlobalObject>(V)) {
648 if (auto GEP = dyn_cast<GEPOperator>(V)) {
657 if (auto Op = dyn_cast<Operator>(V)) {
723 if (auto *Br = dyn_cast<BranchInst>(*CI->user_begin()))
    [all...]
  /external/llvm/lib/Target/X86/
X86FastISel.cpp 657 if (const ConstantInt *CI = dyn_cast<ConstantInt>(Val)) {
709 if (const GlobalValue *GV = dyn_cast<GlobalValue>(V)) {
820 if (const Instruction *I = dyn_cast<Instruction>(V)) {
829 } else if (const ConstantExpr *C = dyn_cast<ConstantExpr>(V)) {
834 if (PointerType *Ty = dyn_cast<PointerType>(V->getType()))
874 if (const ConstantInt *CI = dyn_cast<ConstantInt>(U->getOperand(1))) {
898 if (StructType *STy = dyn_cast<StructType>(*GTI)) {
908 if (const ConstantInt *CI = dyn_cast<ConstantInt>(Op)) {
947 dyn_cast<GetElementPtrInst>(U->getOperand(0))) {
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
ObjCARC.cpp 177 if (const Argument *Arg = dyn_cast<Argument>(Op))
183 PointerType *Ty = dyn_cast<PointerType>(Op->getType());
216 if (PointerType *PTy = dyn_cast<PointerType>(A0->getType())) {
237 if (PointerType *Pte = dyn_cast<PointerType>(ETy))
249 if (PointerType *PTy = dyn_cast<PointerType>(A0->getType()))
250 if (PointerType *Pte = dyn_cast<PointerType>(PTy->getElementType()))
252 if (PointerType *PTy1 = dyn_cast<PointerType>(A1->getType())) {
261 if (PointerType *Pte1 = dyn_cast<PointerType>(ETy1))
275 if (const Instruction *I = dyn_cast<Instruction>(V)) {
366 if (const CallInst *CI = dyn_cast<CallInst>(V))
    [all...]
  /external/clang/lib/AST/
StmtPrinter.cpp 188 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(If->getThen())) {
201 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(Else)) {
205 } else if (IfStmt *ElseIf = dyn_cast<IfStmt>(Else)) {
229 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(Node->getBody())) {
251 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(Node->getBody())) {
268 if (DeclStmt *DS = dyn_cast<DeclStmt>(Node->getInit()))
285 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(Node->getBody())) {
296 if (DeclStmt *DS = dyn_cast<DeclStmt>(Node->getElement()))
304 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(Node->getBody())) {
457 if (CompoundStmt *TS = dyn_cast<CompoundStmt>(Node->getTryBody()))
    [all...]
  /external/llvm/lib/CodeGen/AsmPrinter/
DwarfUnit.cpp 516 if (auto *CTy = dyn_cast<DICompositeType>(Ty)) {
527 if (auto *DTy = dyn_cast<DIDerivedType>(Ty)) {
654 if (auto *TTP = dyn_cast<DITemplateTypeParameter>(Element))
656 else if (auto *TVP = dyn_cast<DITemplateValueParameter>(Element))
664 if (auto *T = dyn_cast<DIType>(Context))
666 if (auto *NS = dyn_cast<DINamespace>(Context))
668 if (auto *SP = dyn_cast<DISubprogram>(Context))
670 if (auto *M = dyn_cast<DIModule>(Context))
716 if (auto *BT = dyn_cast<DIBasicType>(Ty))
718 else if (auto *STy = dyn_cast<DISubroutineType>(Ty)
    [all...]

Completed in 1263 milliseconds

<<31323334353637383940>>