Searched refs:SrcETy (Results 1 - 2 of 2) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp78 Type *SrcETy = cast<PointerType>(StrippedDest->getType()) local
80 if (TD && SrcETy->isSized() && TD->getTypeStoreSize(SrcETy) == Size) {
81 // The SrcETy might be something like {{{double}}} or [1 x double]. Rip
83 while (!SrcETy->isSingleValueType()) {
84 if (StructType *STy = dyn_cast<StructType>(SrcETy)) {
86 SrcETy = STy->getElementType(0);
89 } else if (ArrayType *ATy = dyn_cast<ArrayType>(SrcETy)) {
91 SrcETy = ATy->getElementType();
98 if (SrcETy
[all...]
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp126 Type *SrcETy = cast<PointerType>(StrippedDest->getType()) local
128 if (SrcETy->isSized() && DL.getTypeStoreSize(SrcETy) == Size) {
129 // The SrcETy might be something like {{{double}}} or [1 x double]. Rip
131 SrcETy = reduceToSingleValueType(SrcETy);
133 if (SrcETy->isSingleValueType()) {
134 NewSrcPtrTy = PointerType::get(SrcETy, SrcAddrSp);
135 NewDstPtrTy = PointerType::get(SrcETy, DstAddrSp);

Completed in 105 milliseconds