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

<<11121314151617181920>>

  /external/llvm/lib/CodeGen/AsmPrinter/
DwarfCFIException.cpp 116 Per = dyn_cast<Function>(F->getPersonalityFn()->stripPointerCasts());
152 auto *P = dyn_cast<Function>(F->getPersonalityFn()->stripPointerCasts());
  /external/llvm/lib/Target/AMDGPU/
AMDGPUPromoteAlloca.cpp 137 PointerType *PtrTy = dyn_cast<PointerType>(ParamTy);
159 const Instruction *Use = dyn_cast<Instruction>(U);
220 AllocaInst *AI = dyn_cast<AllocaInst>(I);
365 ConstantInt *I0 = dyn_cast<ConstantInt>(GEP->getOperand(1));
393 ArrayType *AllocaTy = dyn_cast<ArrayType>(Alloca->getAllocatedType());
409 GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(AllocaUser);
485 IntrinsicInst *II = dyn_cast<IntrinsicInst>(CI);
545 if (CallInst *CI = dyn_cast<CallInst>(User)) {
564 if (StoreInst *SI = dyn_cast<StoreInst>(UseInst)) {
582 if (ICmpInst *ICmp = dyn_cast<ICmpInst>(UseInst))
    [all...]
  /external/llvm/unittests/Transforms/Utils/
IntegerDivision.cpp 49 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
79 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
109 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
139 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
170 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
200 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
230 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
260 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
  /external/spirv-llvm/lib/SPIRV/
SPIRVLowerConstExpr.cpp 132 if (auto CE = dyn_cast<ConstantExpr>(Op)) {
143 if (auto InstUser = dyn_cast<Instruction>(U)) {
SPIRVMDWalker.h 114 else if (auto Str = dyn_cast<MDString>(Op))
145 dyn_cast<MDNode>(M->getOperand(I++)) : nullptr, *this, W);
  /external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
InstCombineCompares.cpp 60 if (VectorType *VTy = dyn_cast<VectorType>(In1->getType())) {
95 if (VectorType *VTy = dyn_cast<VectorType>(In1->getType())) {
206 ConstantArray *Init = dyn_cast<ConstantArray>(GV->getInitializer());
226 ConstantInt *Idx = dyn_cast<ConstantInt>(GEP->getOperand(i));
232 if (StructType *STy = dyn_cast<StructType>(EltTy))
234 else if (ArrayType *ATy = dyn_cast<ArrayType>(EltTy)) {
482 if (ConstantInt *CI = dyn_cast<ConstantInt>(GEP->getOperand(i))) {
487 if (StructType *STy = dyn_cast<StructType>(*GTI)) {
510 ConstantInt *CI = dyn_cast<ConstantInt>(GEP->getOperand(i));
517 if (StructType *STy = dyn_cast<StructType>(*GTI))
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
EarlyCSE.cpp 60 if (CallInst *CI = dyn_cast<CallInst>(Inst))
97 if (CastInst *CI = dyn_cast<CastInst>(Inst))
99 else if (CmpInst *CI = dyn_cast<CmpInst>(Inst))
101 else if (const ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(Inst)) {
105 } else if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(Inst)) {
156 CallInst *CI = dyn_cast<CallInst>(Inst);
358 if (LoadInst *LI = dyn_cast<LoadInst>(Inst)) {
417 if (StoreInst *SI = dyn_cast<StoreInst>(Inst)) {
  /external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DemoteRegToStack.cpp 54 if (PHINode *PN = dyn_cast<PHINode>(U)) {
130 if (InvokeInst *II = dyn_cast<InvokeInst>(P->getIncomingValue(i))) {
PromoteMemoryToRegister.cpp 88 if (const LoadInst *LI = dyn_cast<LoadInst>(U)) {
93 } else if (const StoreInst *SI = dyn_cast<StoreInst>(U)) {
100 } else if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(U)) {
104 } else if (const BitCastInst *BCI = dyn_cast<BitCastInst>(U)) {
109 } else if (const GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(U)) {
325 if (StoreInst *SI = dyn_cast<StoreInst>(User)) {
655 while ((SomePHI = dyn_cast<PHINode>(BBI++)) &&
692 if (StoreInst *SI = dyn_cast<StoreInst>(I)) {
703 if (LoadInst *LI = dyn_cast<LoadInst>(I)) {
    [all...]
SimplifyIndVar.cpp 234 if (Instruction *I = dyn_cast<Instruction>(Rem->getOperand(0)))
248 if (ICmpInst *ICmp = dyn_cast<ICmpInst>(UseInst)) {
252 if (BinaryOperator *Rem = dyn_cast<BinaryOperator>(UseInst)) {
309 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S);
356 IVOperand = dyn_cast<Instruction>(NewOper);
365 CastInst *Cast = dyn_cast<CastInst>(UseOper.first);
417 if (ICmpInst *ICmp = dyn_cast<ICmpInst>(UseInst)) {
421 if (BinaryOperator *Rem = dyn_cast<BinaryOperator>(UseInst)) {
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
EHPersonalities.cpp 24 Pers ? dyn_cast<Function>(Pers->stripPointerCasts()) : nullptr;
124 if (auto *CatchRet = dyn_cast<CatchReturnInst>(Terminator)) {
ModuleDebugInfoPrinter.cpp 107 if (auto *BT = dyn_cast<DIBasicType>(T)) {
122 if (auto *CT = dyn_cast<DICompositeType>(T)) {
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DwarfCFIException.cpp 104 Per = dyn_cast<Function>(F.getPersonalityFn()->stripPointerCasts());
147 auto *P = dyn_cast<Function>(F.getPersonalityFn()->stripPointerCasts());
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
AMDGPUAlwaysInlinePass.cpp 72 if (Instruction *I = dyn_cast<Instruction>(U)) {
97 if (Function* F = dyn_cast<Function>(A.getAliasee())) {
AMDGPULowerIntrinsics.cpp 60 ConstantInt *CI = dyn_cast<ConstantInt>(Size);
123 auto *CI = dyn_cast<CallInst>(U);
AMDGPUOpenCLEnqueuedBlockLowering.cpp 83 if (auto *CI = dyn_cast<CallInst>(&*U)) {
94 if (auto *I = dyn_cast<Instruction>(U)) {
AMDGPURewriteOutArguments.cpp 141 StoreInst *SI = dyn_cast<StoreInst>(U.getUser());
146 auto *BCI = dyn_cast<BitCastInst>(U.getUser());
191 PointerType *ArgTy = dyn_cast<PointerType>(Arg.getType());
211 VectorType *VT0 = dyn_cast<VectorType>(Ty0);
212 VectorType *VT1 = dyn_cast<VectorType>(Ty1);
267 if (ReturnInst *RI = dyn_cast<ReturnInst>(&BB.back()))
310 SI = dyn_cast<StoreInst>(Q.getInst());
403 if (StructType *CT = dyn_cast<StructType>(EltTy)) {
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
WebAssemblyAddMissingPrototypes.cpp 93 if (BitCastOperator *BC = dyn_cast<BitCastOperator>(U.getUser())) {
114 if (BitCastOperator *BC = dyn_cast<BitCastOperator>(U.getUser())) {
WebAssemblyLowerEmscriptenEHSjLj.cpp 322 if (const auto *F = dyn_cast<const Function>(V)) {
401 if (auto *F = dyn_cast<Function>(CI->getCalledValue()))
457 if (auto *F = dyn_cast<Function>(Callee))
461 CalleeFTy = dyn_cast<FunctionType>(CalleeTy);
483 if (auto *CalleeF = dyn_cast<Function>(Callee))
669 if (PHINode *UserPN = dyn_cast<PHINode>(User))
803 auto *II = dyn_cast<InvokeInst>(BB.getTerminator());
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
InstructionCombining.cpp 195 OverflowingBinaryOperator *OBO = dyn_cast<OverflowingBinaryOperator>(&I);
221 FPMathOperator *FPMO = dyn_cast<FPMathOperator>(&I);
237 auto *Cast = dyn_cast<CastInst>(BinOp1->getOperand(0));
251 auto *BinOp2 = dyn_cast<BinaryOperator>(Cast->getOperand(0));
306 BinaryOperator *Op0 = dyn_cast<BinaryOperator>(I.getOperand(0));
307 BinaryOperator *Op1 = dyn_cast<BinaryOperator>(I.getOperand(1));
568 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(SimplifiedInst)) {
574 if (auto *LOBO = dyn_cast<OverflowingBinaryOperator>(LHS))
577 if (auto *ROBO = dyn_cast<OverflowingBinaryOperator>(RHS))
605 BinaryOperator *Op0 = dyn_cast<BinaryOperator>(LHS)
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
BDCE.cpp 48 auto *J = dyn_cast<Instruction>(JU);
80 auto *K = dyn_cast<Instruction>(KU);
Scalarizer.cpp 222 PtrTy = dyn_cast<PointerType>(Ty);
256 InsertElementInst *Insert = dyn_cast<InsertElementInst>(V);
259 ConstantInt *Idx = dyn_cast<ConstantInt>(Insert->getOperand(2));
307 if (Argument *VArg = dyn_cast<Argument>(V)) {
314 if (Instruction *VOp = dyn_cast<Instruction>(V)) {
375 if (Instruction *New = dyn_cast<Instruction>(CV[I])) {
390 Layout.VecTy = dyn_cast<VectorType>(Ty);
412 VectorType *VT = dyn_cast<VectorType>(I.getType());
445 VectorType *VT = dyn_cast<VectorType>(CI.getType());
503 VectorType *VT = dyn_cast<VectorType>(SI.getType())
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/
IntegerDivision.cpp 49 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
79 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
109 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
139 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
170 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
200 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
230 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
260 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
  /external/clang/lib/Sema/
Sema.cpp 143 if (SemaConsumer *SC = dyn_cast<SemaConsumer>(&Consumer))
272 if (SemaConsumer *SC = dyn_cast<SemaConsumer>(&Consumer))
299 FunctionDecl *fn = dyn_cast<FunctionDecl>(CurContext);
396 if (ImplicitCastExpr *ImpCast = dyn_cast<ImplicitCastExpr>(E)) {
432 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) {
446 if (const VarDecl *VD = dyn_cast<VarDecl>(D)) {
485 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(ND)) {
527 } else if (auto *FD = dyn_cast<FunctionDecl>(ND)) {
574 if (const CXXMethodDecl *M = dyn_cast<CXXMethodDecl>(*I))
576 else if (const FunctionTemplateDecl *F = dyn_cast<FunctionTemplateDecl>(*I)
    [all...]
  /external/llvm/lib/Analysis/
InlineCost.cpp 313 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand());
316 OpC = dyn_cast<ConstantInt>(SimpleOp);
323 if (StructType *STy = dyn_cast<StructType>(*GTI)) {
432 Constant *COp = dyn_cast<Constant>(I.getOperand(0));
460 Constant *COp = dyn_cast<Constant>(I.getOperand(0));
497 Constant *COp = dyn_cast<Constant>(I.getOperand(0));
528 Constant *COp = dyn_cast<Constant>(I.getOperand(0));
545 Constant *COp = dyn_cast<Constant>(Operand);
573 if (Argument *A = dyn_cast<Argument>(V))
606 if (InvokeInst *II = dyn_cast<InvokeInst>(Instr))
    [all...]

Completed in 778 milliseconds

<<11121314151617181920>>