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

<<11121314151617181920>>

  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
AMDGPUTargetTransformInfo.cpp 75 const Instruction *I = dyn_cast<Instruction>(Cond);
82 if (const PHINode *PHI = dyn_cast<PHINode>(V)) {
120 if (const BranchInst *Br = dyn_cast<BranchInst>(&I)) {
137 const GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(&I);
156 dyn_cast<AllocaInst>(GetUnderlyingObject(Ptr, DL));
178 const Instruction *Inst = dyn_cast<Instruction>(Op);
316 auto *Ordering = dyn_cast<ConstantInt>(Inst->getArgOperand(2));
317 auto *Volatile = dyn_cast<ConstantInt>(Inst->getArgOperand(4));
545 if (const Argument *A = dyn_cast<Argument>(V))
554 if (const LoadInst *Load = dyn_cast<LoadInst>(V)
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
NVPTXImageOptimizer.cpp 65 if (CallInst *CI = dyn_cast<CallInst>(I)) {
153 if (BranchInst *BI = dyn_cast<BranchInst>(*UI)) {
171 if (ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(V)) {
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DemoteRegToStack.cpp 47 if (InvokeInst *II = dyn_cast<InvokeInst>(&I)) {
60 if (PHINode *PN = dyn_cast<PHINode>(U)) {
131 if (InvokeInst *II = dyn_cast<InvokeInst>(P->getIncomingValue(i))) {
FunctionImportUtils.cpp 134 if (doImportAsDefinition(SGV) && !dyn_cast<GlobalAlias>(SGV))
161 if (doImportAsDefinition(SGV) && !dyn_cast<GlobalAlias>(SGV))
179 if (doImportAsDefinition(SGV) && !dyn_cast<GlobalAlias>(SGV))
LoopUtils.cpp 47 if (!Set.count(dyn_cast<Instruction>(*Use)))
173 if (auto *Cast = dyn_cast<CastInst>(Val))
185 if (auto *I = dyn_cast<Instruction>(O))
290 !VisitedInsts.count(dyn_cast<Instruction>(Cur->getOperand(0))))
455 if ((Cmp = dyn_cast<ICmpInst>(I)) || (Cmp = dyn_cast<FCmpInst>(I))) {
456 if (!Cmp->hasOneUse() || !(Select = dyn_cast<SelectInst>(*I->user_begin())))
462 if (!(Select = dyn_cast<SelectInst>(I)))
464 if (!(Cmp = dyn_cast<ICmpInst>(I->getOperand(0))) &&
465 !(Cmp = dyn_cast<FCmpInst>(I->getOperand(0)))
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-dis/
llvm-dis.cpp 95 if (const Instruction *I = dyn_cast<Instruction>(&V)) {
106 if (const DbgDeclareInst *DDI = dyn_cast<DbgDeclareInst>(I)) {
113 else if (const DbgValueInst *DVI = dyn_cast<DbgValueInst>(I)) {
  /external/v8/tools/clang/base_bind_rewriters/
BaseBindRewriters.cpp 81 auto* callee_decl = clang::dyn_cast<DeclRefExpr>(callee)->getDecl();
82 auto* passed_decl = clang::dyn_cast<FunctionDecl>(callee_decl);
110 if (auto* unary = clang::dyn_cast<clang::UnaryOperator>(passed_arg)) {
209 clang::dyn_cast<clang::LValueReferenceType>(qual_type.getTypePtr());
341 if (auto* op = clang::dyn_cast<UnaryOperator>(stmt)) {
343 auto* ref = clang::dyn_cast<DeclRefExpr>(op->getSubExpr());
363 if (auto* l = clang::dyn_cast<LambdaExpr>(stmt)) {
388 if (auto* ref = clang::dyn_cast<DeclRefExpr>(s)) {
405 auto* decl = clang::dyn_cast<clang::VarDecl>(target->getDecl());
445 if (auto* p = clang::dyn_cast<CallExpr>(parent))
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
SCCP.cpp 137 return dyn_cast<ConstantInt>(getConstant());
244 if (StructType *STy = dyn_cast<StructType>(F->getReturnType())) {
305 if (StructType *STy = dyn_cast<StructType>(V->getType()))
350 if (Function *F = dyn_cast<Function>(V))
388 if (Constant *C = dyn_cast<Constant>(V)) {
414 if (Constant *C = dyn_cast<Constant>(V)) {
417 else if (ConstantStruct *CS = dyn_cast<ConstantStruct>(C))
446 (PN = dyn_cast<PHINode>(I)); ++I)
557 if (BranchInst *BI = dyn_cast<BranchInst>(&TI)) {
584 if (SwitchInst *SI = dyn_cast<SwitchInst>(&TI))
    [all...]
  /external/llvm/lib/IR/
Constants.cpp 46 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this))
50 if (const ConstantDataVector *CV = dyn_cast<ConstantDataVector>(this))
55 if (const ConstantVector *CV = dyn_cast<ConstantVector>(this))
72 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this))
76 if (const ConstantDataVector *CV = dyn_cast<ConstantDataVector>(this))
81 if (const ConstantVector *CV = dyn_cast<ConstantVector>(this))
92 if (const ConstantInt *CI = dyn_cast<ConstantInt>(this))
96 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this))
107 if (const ConstantInt *CI = dyn_cast<ConstantInt>(this))
111 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this)
    [all...]
AsmWriter.cpp 78 if (const Constant *C = dyn_cast<Constant>(V))
153 if (auto *BA = dyn_cast<BlockAddress>(V))
213 if (const Constant *C = dyn_cast<Constant>(V))
274 if (const Argument *MA = dyn_cast<Argument>(V))
277 if (const BasicBlock *BB = dyn_cast<BasicBlock>(V))
280 if (const Instruction *I = dyn_cast<Instruction>(V)) {
285 if (const GlobalValue *GV = dyn_cast<GlobalValue>(V))
288 if (const auto *MAV = dyn_cast<MetadataAsValue>(V)) {
740 if (const Argument *FA = dyn_cast<Argument>(V))
743 if (const Instruction *I = dyn_cast<Instruction>(V)
    [all...]
  /external/clang/lib/StaticAnalyzer/Checkers/
TestAfterDivZeroChecker.cpp 217 if (const BinaryOperator *B = dyn_cast<BinaryOperator>(Condition)) {
219 const IntegerLiteral *IntLiteral = dyn_cast<IntegerLiteral>(B->getRHS());
222 IntLiteral = dyn_cast<IntegerLiteral>(B->getLHS());
233 } else if (const UnaryOperator *U = dyn_cast<UnaryOperator>(Condition)) {
237 dyn_cast<ImplicitCastExpr>(U->getSubExpr()))
249 dyn_cast<ImplicitCastExpr>(Condition)) {
CastSizeChecker.cpp 92 const PointerType *ToPTy = dyn_cast<PointerType>(ToTy.getTypePtr());
108 const SymbolicRegion *SR = dyn_cast<SymbolicRegion>(R);
  /external/clang/lib/Tooling/
JSONCompilationDatabase.cpp 250 llvm::yaml::SequenceNode *Array = dyn_cast<llvm::yaml::SequenceNode>(Root);
256 llvm::yaml::MappingNode *Object = dyn_cast<llvm::yaml::MappingNode>(&NextObject);
266 dyn_cast<llvm::yaml::ScalarNode>(NextKeyValue.getKey());
279 dyn_cast<llvm::yaml::ScalarNode>(Value);
281 dyn_cast<llvm::yaml::SequenceNode>(Value);
294 auto Scalar = dyn_cast<llvm::yaml::ScalarNode>(&Argument);
  /external/swiftshader/third_party/LLVM/lib/Target/ARM/
ARMConstantPoolValue.cpp 174 ARMConstantPoolConstant *APC = dyn_cast<ARMConstantPoolConstant>(CPV);
185 const ARMConstantPoolConstant *ACPC = dyn_cast<ARMConstantPoolConstant>(ACPV);
239 ARMConstantPoolSymbol *APS = dyn_cast<ARMConstantPoolSymbol>(CPV);
251 const ARMConstantPoolSymbol *ACPS = dyn_cast<ARMConstantPoolSymbol>(ACPV);
295 ARMConstantPoolMBB *APMBB = dyn_cast<ARMConstantPoolMBB>(CPV);
307 const ARMConstantPoolMBB *ACPMBB = dyn_cast<ARMConstantPoolMBB>(ACPV);
  /external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
FunctionAttrs.cpp 165 } else if (LoadInst *LI = dyn_cast<LoadInst>(I)) {
172 } else if (StoreInst *SI = dyn_cast<StoreInst>(I)) {
179 } else if (VAArgInst *VI = dyn_cast<VAArgInst>(I)) {
264 if (ReturnInst *Ret = dyn_cast<ReturnInst>(I->getTerminator()))
270 if (Constant *C = dyn_cast<Constant>(RetVal)) {
280 if (Instruction *RVI = dyn_cast<Instruction>(RetVal))
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/
LanaiISelDAGToDAG.cpp 105 if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(Addr)) {
127 if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(Addr)) {
154 if (FrameIndexSDNode *FIN = dyn_cast<FrameIndexSDNode>(Addr)) {
173 if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(Addr.getOperand(1)))
178 dyn_cast<FrameIndexSDNode>(Addr.getOperand(0))) {
228 if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(Addr.getOperand(1)))
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
LoopDataPrefetch.cpp 147 const auto *ConstStride = dyn_cast<SCEVConstant>(AR->getStepRecurrence(*SE));
229 if (CallInst *CI = dyn_cast<CallInst>(&I))
257 if (LoadInst *LMemI = dyn_cast<LoadInst>(&I)) {
260 } else if (StoreInst *SMemI = dyn_cast<StoreInst>(&I)) {
274 const SCEVAddRecExpr *LSCEVAddRec = dyn_cast<SCEVAddRecExpr>(LSCEV);
290 dyn_cast<SCEVConstant>(PtrDiff)) {
  /external/llvm/lib/Transforms/InstCombine/
InstructionCombining.cpp 128 OverflowingBinaryOperator *OBO = dyn_cast<OverflowingBinaryOperator>(&I);
154 FPMathOperator *FPMO = dyn_cast<FPMathOperator>(&I);
197 BinaryOperator *Op0 = dyn_cast<BinaryOperator>(I.getOperand(0));
198 BinaryOperator *Op1 = dyn_cast<BinaryOperator>(I.getOperand(1));
436 if (Constant *CST = dyn_cast<Constant>(Op->getOperand(1))) {
513 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(SimplifiedInst)) {
519 if (BinaryOperator *Op0 = dyn_cast<BinaryOperator>(LHS))
523 if (BinaryOperator *Op1 = dyn_cast<BinaryOperator>(RHS))
552 BinaryOperator *Op0 = dyn_cast<BinaryOperator>(LHS);
553 BinaryOperator *Op1 = dyn_cast<BinaryOperator>(RHS)
    [all...]
  /external/clang/lib/ARCMigrate/
TransGCAttrs.cpp 52 if (ObjCPropertyDecl *PropD = dyn_cast<ObjCPropertyDecl>(D)) {
55 } else if (DeclaratorDecl *DD = dyn_cast<DeclaratorDecl>(D)) {
130 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(D))
133 if (ObjCContainerDecl *ContD = dyn_cast<ObjCContainerDecl>(D))
136 if (CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(D)) {
150 if (ObjCContainerDecl *ContD = dyn_cast<ObjCContainerDecl>(D)) {
151 if (ObjCInterfaceDecl *ID = dyn_cast<ObjCInterfaceDecl>(ContD))
153 if (ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(ContD))
TransUnbridgedCasts.cpp 135 if (CallExpr *callE = dyn_cast<CallExpr>(inner)) {
161 if (const ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(Arg)) {
231 if (CStyleCastExpr *CCE = dyn_cast<CStyleCastExpr>(E)) {
391 if (PseudoObjectExpr *pseudo = dyn_cast<PseudoObjectExpr>(subExpr)) {
396 if (ImplicitCastExpr *implCE = dyn_cast<ImplicitCastExpr>(subExpr)) {
411 if (ObjCMessageExpr *ME = dyn_cast<ObjCMessageExpr>(E))
455 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E))
456 if (ImplicitParamDecl *IPD = dyn_cast<ImplicitParamDecl>(DRE->getDecl()))
  /external/clang/lib/StaticAnalyzer/Core/
Store.cpp 94 if (const TypedValueRegion *TR = dyn_cast<TypedValueRegion>(R)) {
166 if (const TypedValueRegion *TR = dyn_cast<TypedValueRegion>(baseR)) {
220 const TypedValueRegion *TVR = dyn_cast<TypedValueRegion>(MR);
288 if (const TypedValueRegion *TVR = dyn_cast<TypedValueRegion>(MR))
290 if (const SymbolicRegion *SR = dyn_cast<SymbolicRegion>(MR))
329 if (const CXXBaseObjectRegion *BaseR = dyn_cast<CXXBaseObjectRegion>(MR)) {
417 if (const ObjCIvarDecl *ID = dyn_cast<ObjCIvarDecl>(D))
440 const ElementRegion *ElemR = dyn_cast<ElementRegion>(BaseRegion);
  /external/llvm/include/llvm/Analysis/
CFGPrinter.h 102 if (const BranchInst *BI = dyn_cast<BranchInst>(Node->getTerminator()))
107 if (const SwitchInst *SI = dyn_cast<SwitchInst>(Node->getTerminator())) {
  /external/llvm/include/llvm/IR/
PatternMatch.h 129 if (const auto *C = dyn_cast<Constant>(V))
141 if (const auto *C = dyn_cast<Constant>(V))
164 if (auto *CI = dyn_cast<ConstantInt>(V)) {
169 if (const auto *C = dyn_cast<Constant>(V))
184 if (const auto *CI = dyn_cast<ConstantInt>(V)) {
206 if (const auto *CI = dyn_cast<ConstantInt>(V))
209 if (const auto *C = dyn_cast<Constant>(V))
222 if (const auto *CI = dyn_cast<ConstantInt>(V))
228 if (const auto *C = dyn_cast<Constant>(V))
287 if (auto *CV = dyn_cast<Class>(V))
    [all...]
  /external/llvm/lib/Analysis/
EHPersonalities.cpp 24 Pers ? dyn_cast<Function>(Pers->stripPointerCasts()) : nullptr;
97 if (auto *CatchRet = dyn_cast<CatchReturnInst>(Terminator)) {
ModuleDebugInfoPrinter.cpp 106 if (auto *BT = dyn_cast<DIBasicType>(T)) {
120 if (auto *CT = dyn_cast<DICompositeType>(T)) {

Completed in 1377 milliseconds

<<11121314151617181920>>