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

<<11121314151617181920>>

  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
AMDGPULibCalls.cpp 223 if (Function* F = dyn_cast<Function>(Callee))
232 if (Function* F = dyn_cast<Function>(Callee))
489 if (auto Op = dyn_cast<FPMathOperator>(CI))
659 if (const FPMathOperator *FPOp = dyn_cast<const FPMathOperator>(CI))
736 if (ConstantDataVector *CV = dyn_cast<ConstantDataVector>(opr0)) {
739 ConstantFP *eltval = dyn_cast<ConstantFP>(
774 if (ConstantFP *CF = dyn_cast<ConstantFP>(opr0)) {
814 if (ConstantFP *CF = dyn_cast<ConstantFP>(opr0)) {
833 ConstantFP *CF0 = dyn_cast<ConstantFP>(opr0);
834 ConstantFP *CF1 = dyn_cast<ConstantFP>(opr1)
    [all...]
  /external/clang/lib/AST/
Stmt.cpp 99 if (auto *ewc = dyn_cast<ExprWithCleanups>(s))
102 if (auto *mte = dyn_cast<MaterializeTemporaryExpr>(s))
105 if (auto *bte = dyn_cast<CXXBindTemporaryExpr>(s))
108 while (auto *ice = dyn_cast<ImplicitCastExpr>(s))
141 if (const LabelStmt *LS = dyn_cast<LabelStmt>(S))
143 else if (const SwitchCase *SC = dyn_cast<SwitchCase>(S))
145 else if (const AttributedStmt *AS = dyn_cast<AttributedStmt>(S))
331 if (const GCCAsmStmt *gccAsmStmt = dyn_cast<GCCAsmStmt>(this))
333 if (const MSAsmStmt *msAsmStmt = dyn_cast<MSAsmStmt>(this))
339 if (const GCCAsmStmt *gccAsmStmt = dyn_cast<GCCAsmStmt>(this)
    [all...]
  /external/llvm/lib/Transforms/Vectorize/
SLPVectorizer.cpp 116 Instruction *I0 = dyn_cast<Instruction>(VL[0]);
121 Instruction *I = dyn_cast<Instruction>(VL[i]);
176 Instruction *I0 = dyn_cast<Instruction>(VL[0]);
180 Instruction *I = dyn_cast<Instruction>(VL[i]);
190 Instruction *I0 = dyn_cast<Instruction>(VL[0]);
195 Instruction *I = dyn_cast<Instruction>(VL[i]);
209 if (auto *VecOp = dyn_cast<BinaryOperator>(I)) {
210 if (auto *Intersection = dyn_cast<BinaryOperator>(VL[0])) {
214 if (auto *Scalar = dyn_cast<BinaryOperator>(VL[i]))
238 ConstantInt *CI = dyn_cast<ConstantInt>(E->getOperand(1))
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
MemoryDependenceAnalysis.cpp 120 if (const LoadInst *LI = dyn_cast<LoadInst>(Inst)) {
133 if (const StoreInst *SI = dyn_cast<StoreInst>(Inst)) {
146 if (const VAArgInst *V = dyn_cast<VAArgInst>(Inst)) {
157 if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(Inst)) {
320 if (auto *LI = dyn_cast<LoadInst>(Inst))
322 if (auto *SI = dyn_cast<StoreInst>(Inst))
324 if (auto *AI = dyn_cast<AtomicCmpXchgInst>(Inst))
334 if (auto *LI = dyn_cast<LoadInst>(QueryInst)) {
396 auto *U = dyn_cast<Instruction>(Us.getUser());
411 if (auto *GEP = dyn_cast<GetElementPtrInst>(U)
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
RewriteStatepointsForGC.cpp 314 if (auto *PT = dyn_cast<PointerType>(T))
332 if (auto VT = dyn_cast<VectorType>(T))
344 if (VectorType *VT = dyn_cast<VectorType>(Ty))
346 if (ArrayType *AT = dyn_cast<ArrayType>(Ty))
348 if (StructType *ST = dyn_cast<StructType>(Ty))
471 if (auto *GEP = dyn_cast<GetElementPtrInst>(I))
476 if (auto *BC = dyn_cast<BitCastInst>(I))
523 if (CastInst *CI = dyn_cast<CastInst>(I)) {
541 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(I))
545 if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I))
    [all...]
SROA.cpp 634 if (ConstantInt *CI = dyn_cast<ConstantInt>(SI.getCondition()))
644 if (PHINode *PN = dyn_cast<PHINode>(&I)) {
741 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand());
825 ConstantInt *Length = dyn_cast<ConstantInt>(II.getLength());
840 ConstantInt *Length = dyn_cast<ConstantInt>(II.getLength());
    [all...]
LoopIdiomRecognize.cpp 307 if (const SCEVConstant *BECst = dyn_cast<SCEVConstant>(BECount))
353 Constant *C = dyn_cast<Constant>(V);
414 dyn_cast<SCEVAddRecExpr>(SE->getSCEV(StorePtr));
460 LoadInst *LI = dyn_cast<LoadInst>(SI->getValueOperand());
473 dyn_cast<SCEVAddRecExpr>(SE->getSCEV(LI->getPointerOperand()));
495 StoreInst *SI = dyn_cast<StoreInst>(&I);
558 if (MemSetInst *MSI = dyn_cast<MemSetInst>(Inst)) {
731 const SCEVAddRecExpr *Ev = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(Pointer));
742 const SCEVConstant *ConstStride = dyn_cast<SCEVConstant>(Ev->getOperand(1));
779 if (const SCEVConstant *BECst = dyn_cast<SCEVConstant>(BECount)
    [all...]
SCCP.cpp 159 return dyn_cast<ConstantInt>(getConstant());
167 return dyn_cast<BlockAddress>(getConstant());
283 if (auto *STy = dyn_cast<StructType>(F->getReturnType())) {
334 auto *STy = dyn_cast<StructType>(V->getType());
379 if (auto *STy = dyn_cast<StructType>(V->getType()))
438 if (auto *F = dyn_cast<Function>(V)) dbgs()
477 if (auto *C = dyn_cast<Constant>(V)) {
515 if (auto *C = dyn_cast<Constant>(V)) {
621 if (auto *BI = dyn_cast<BranchInst>(&TI)) {
648 if (auto *SI = dyn_cast<SwitchInst>(&TI))
    [all...]
  /external/swiftshader/third_party/subzero/src/
IceInstX86BaseImpl.h 217 Func, InstX86Base::Cmpxchg, 3, llvm::dyn_cast<Variable>(DestOrAddr),
373 Func, InstX86Base::Xadd, 2, llvm::dyn_cast<Variable>(Dest), Locked) {
381 : InstX86Base(Func, InstX86Base::Xchg, 2, llvm::dyn_cast<Variable>(Dest)) {
571 if (const auto *CR = llvm::dyn_cast<ConstantRelocatable>(Src)) {
590 if (const auto *Var = llvm::dyn_cast<Variable>(Target)) {
600 } else if (const auto *Mem = llvm::dyn_cast<X86OperandMem>(Target)) {
604 } else if (const auto *CR = llvm::dyn_cast<ConstantRelocatable>(Target)) {
606 } else if (const auto *Imm = llvm::dyn_cast<ConstantInteger32>(Target)) {
635 if (const auto *CI = llvm::dyn_cast<ConstantInteger32>(CallTarget)) {
639 llvm::dyn_cast<ConstantRelocatable>(CallTarget))
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
LoopStrengthReduce.cpp 263 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) {
271 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S))
283 if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(S))
451 const SCEVConstant *RC = dyn_cast<SCEVConstant>(RHS);
464 if (const SCEVConstant *C = dyn_cast<SCEVConstant>(LHS)) {
475 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(LHS)) {
492 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(LHS)) {
508 if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(LHS)) {
536 if (const SCEVConstant *C = dyn_cast<SCEVConstant>(S)) {
541 } else if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S))
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
IRBuilder.h     [all...]
  /external/bcc/src/cc/frontends/clang/
b_frontend_action.cc 131 if (VarDecl *V = dyn_cast<VarDecl>(E->getCalleeDecl()))
237 if (MemberExpr *Memb = dyn_cast<MemberExpr>(Call->getCallee()->IgnoreImplicit())) {
239 if (DeclRefExpr *Ref = dyn_cast<DeclRefExpr>(Memb->getBase())) {
285 CallExpr *Call = dyn_cast<CallExpr>(E->IgnoreParenCasts());
286 if (MemberExpr *Memb = dyn_cast<MemberExpr>(Call->getCallee()->IgnoreImplicit())) {
288 if (DeclRefExpr *Ref = dyn_cast<DeclRefExpr>(Memb->getBase())) {
336 if (VarDecl *V = dyn_cast<VarDecl>(Call->getCalleeDecl())) {
344 if (FunctionDecl *F = dyn_cast<FunctionDecl>(Call->getCalleeDecl())) {
441 for (MemberExpr *M = E; M; M = dyn_cast<MemberExpr>(M->getBase())) {
472 CallExpr *Call = dyn_cast<CallExpr>(base->IgnoreParenCasts())
    [all...]
  /external/llvm/lib/Analysis/
LazyValueInfo.cpp 153 if (ConstantInt *CI = dyn_cast<ConstantInt>(V))
169 if (ConstantInt *CI = dyn_cast<ConstantInt>(V))
231 dyn_cast<ConstantInt>(ConstantFoldCompareInstOperands(
250 dyn_cast<ConstantInt>(ConstantFoldCompareInstOperands(
600 if (Constant *VC = dyn_cast<Constant>(Val))
642 Instruction *BBI = dyn_cast<Instruction>(Val);
650 if (PHINode *PN = dyn_cast<PHINode>(BBI)) {
657 if (auto *SI = dyn_cast<SelectInst>(BBI)) {
673 PointerType *PT = dyn_cast<PointerType>(BBI->getType());
686 BinaryOperator *BO = dyn_cast<BinaryOperator>(BBI)
    [all...]
  /external/llvm/lib/Transforms/IPO/
MergeFunctions.cpp 636 if (auto *VecTyL = dyn_cast<VectorType>(TyL))
638 if (auto *VecTyR = dyn_cast<VectorType>(TyR))
646 PointerType *PTyL = dyn_cast<PointerType>(TyL);
647 PointerType *PTyR = dyn_cast<PointerType>(TyR);
674 auto GlobalValueL = const_cast<GlobalValue*>(dyn_cast<GlobalValue>(L));
675 auto GlobalValueR = const_cast<GlobalValue*>(dyn_cast<GlobalValue>(R));
683 if (const auto *SeqL = dyn_cast<ConstantDataSequential>(L)) {
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DebugInfo.cpp 90 if (auto *T = dyn_cast<DIType>(RT))
96 if (auto *T = dyn_cast<DIType>(Entity))
98 else if (auto *SP = dyn_cast<DISubprogram>(Entity))
100 else if (auto *NS = dyn_cast<DINamespace>(Entity))
102 else if (auto *M = dyn_cast<DIModule>(Entity))
109 if (auto *DDI = dyn_cast<DbgDeclareInst>(&I))
111 else if (auto *DVI = dyn_cast<DbgValueInst>(&I))
129 if (auto *ST = dyn_cast<DISubroutineType>(DT)) {
134 if (auto *DCT = dyn_cast<DICompositeType>(DT)) {
137 if (auto *T = dyn_cast<DIType>(D)
    [all...]
  /external/clang/lib/Analysis/
ThreadSafetyCommon.cpp 63 if (const auto *Ph = dyn_cast<til::Phi>(E))
83 const MemberExpr *ME = dyn_cast<MemberExpr>(E->IgnoreParenCasts());
106 if (const MemberExpr *ME = dyn_cast<MemberExpr>(DeclExp)) {
110 dyn_cast<CXXMemberCallExpr>(DeclExp)) {
115 } else if (const CallExpr *CE = dyn_cast<CallExpr>(DeclExp)) {
119 dyn_cast<CXXConstructExpr>(DeclExp)) {
156 if (auto* SLit = dyn_cast<StringLiteral>(AttrExp)) {
167 if (auto *OE = dyn_cast<CXXOperatorCallExpr>(AttrExp)) {
173 else if (auto *UO = dyn_cast<UnaryOperator>(AttrExp)) {
260 if (const CastExpr *CE = dyn_cast<CastExpr>(S)
    [all...]
CallGraph.cpp 47 if (BlockExpr *Block = dyn_cast<BlockExpr>(CEE)) {
95 if (BlockDecl *BD = dyn_cast<BlockDecl>(D))
99 if (auto *DC = dyn_cast<DeclContext>(I))
116 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) {
UninitializedValues.cpp 280 if (const CastExpr *CE = dyn_cast<CastExpr>(Ex)) {
295 dyn_cast<DeclRefExpr>(stripCasts(DC->getParentASTContext(), E)))
296 if (const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl()))
341 const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl());
354 = dyn_cast<DeclRefExpr>(stripCasts(VD->getASTContext(), Init));
364 if (const ConditionalOperator *CO = dyn_cast<ConditionalOperator>(E)) {
371 dyn_cast<BinaryConditionalOperator>(E)) {
376 if (const OpaqueValueExpr *OVE = dyn_cast<OpaqueValueExpr>(E)) {
381 if (const MemberExpr *ME = dyn_cast<MemberExpr>(E)) {
382 if (VarDecl *VD = dyn_cast<VarDecl>(ME->getMemberDecl()))
    [all...]
  /external/llvm/lib/Linker/
IRMover.cpp 99 if (auto *STy = dyn_cast<StructType>(Ty))
129 if (StructType *SSTy = dyn_cast<StructType>(SrcTy)) {
160 if (PointerType *PT = dyn_cast<PointerType>(DstTy)) {
164 } else if (FunctionType *FT = dyn_cast<FunctionType>(DstTy)) {
167 } else if (StructType *DSTy = dyn_cast<StructType>(DstTy)) {
172 } else if (ArrayType *DATy = dyn_cast<ArrayType>(DstTy)) {
175 } else if (VectorType *DVTy = dyn_cast<VectorType>(DstTy)) {
274 if (auto *DTy = dyn_cast<StructType>(*Entry)) {
534 auto *SGV = dyn_cast<GlobalValue>(V);
546 GlobalValue *New = dyn_cast<GlobalValue>(*NewProto)
    [all...]
  /external/llvm/lib/Transforms/Scalar/
LoopStrengthReduce.cpp 318 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) {
325 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S))
337 if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(S))
545 const SCEVConstant *RC = dyn_cast<SCEVConstant>(RHS);
558 if (const SCEVConstant *C = dyn_cast<SCEVConstant>(LHS)) {
569 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(LHS)) {
586 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(LHS)) {
600 if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(LHS)) {
625 if (const SCEVConstant *C = dyn_cast<SCEVConstant>(S)) {
630 } else if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S))
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
InstrEmitter.cpp 74 if (RegisterSDNode *RN = dyn_cast<RegisterSDNode>(Node->getOperand(I - 1)))
392 } else if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(Op)) {
394 } else if (ConstantFPSDNode *F = dyn_cast<ConstantFPSDNode>(Op)) {
396 } else if (RegisterSDNode *R = dyn_cast<RegisterSDNode>(Op)) {
417 } else if (RegisterMaskSDNode *RM = dyn_cast<RegisterMaskSDNode>(Op)) {
419 } else if (GlobalAddressSDNode *TGA = dyn_cast<GlobalAddressSDNode>(Op)) {
422 } else if (BasicBlockSDNode *BBNode = dyn_cast<BasicBlockSDNode>(Op)) {
424 } else if (FrameIndexSDNode *FI = dyn_cast<FrameIndexSDNode>(Op)) {
426 } else if (JumpTableSDNode *JT = dyn_cast<JumpTableSDNode>(Op)) {
428 } else if (ConstantPoolSDNode *CP = dyn_cast<ConstantPoolSDNode>(Op))
    [all...]
  /external/clang/examples/AnnotateFunctions/
AnnotateFunctions.cpp 34 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(D))
  /external/clang/include/clang/StaticAnalyzer/Checkers/
SValExplainer.h 38 if (auto S = dyn_cast<SymbolRegionValue>(R->getSymbol()))
58 if (auto SR = dyn_cast<SymbolicRegion>(R)) {
94 if (auto V = dyn_cast<VarRegion>(R))
95 if (auto D = dyn_cast<ParmVarDecl>(V->getDecl()))
  /external/clang/lib/ARCMigrate/
TransARCAssign.cpp 49 DeclRefExpr *declRef = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts());
TransGCCalls.cpp 47 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CEE)) {

Completed in 1070 milliseconds

<<11121314151617181920>>