/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/ |
CombinerHelper.cpp | 28 LLT SrcTy = MRI.getType(SrcReg); 31 if (DstTy.isValid() && SrcTy.isValid() && DstTy == SrcTy) {
|
Utils.cpp | 217 auto SrcTy = MRI.getType(SrcReg); 218 if (!SrcTy.isValid() || SrcTy != DstTy)
|
MachineIRBuilder.cpp | 387 LLT SrcTy = getMRI()->getType(Src); 389 if (SrcTy == DstTy) 393 if (SrcTy.isPointer() && DstTy.isScalar()) 395 else if (DstTy.isPointer() && SrcTy.isScalar()) 398 assert(!SrcTy.isPointer() && !DstTy.isPointer() && "n G_ADDRCAST yet"); 824 LLT SrcTy = getMRI()->getType(Src); 828 assert(SrcTy.isVector() && "mismatched cast between vector and non-vector"); 829 assert(SrcTy.getNumElements() == DstTy.getNumElements() && 832 assert(DstTy.isScalar() && SrcTy.isScalar() && "invalid extend/trunc"); 835 assert(DstTy.getSizeInBits() > SrcTy.getSizeInBits() & [all...] |
/external/llvm/lib/Target/NVPTX/ |
NVPTXFavorNonGenericAddrSpaces.cpp | 133 PointerType *SrcTy = cast<PointerType>(Src->getType()); 139 if (SrcTy->getElementType() != DestTy->getElementType()) 144 return (SrcTy->getAddressSpace() != AddressSpace::ADDRESS_SPACE_GENERIC &&
|
/external/llvm/lib/Target/ARM/ |
ARMTargetTransformInfo.cpp | 95 EVT SrcTy = TLI->getValueType(DL, Src); 98 if (!SrcTy.isSimple() || !DstTy.isSimple()) 179 if (SrcTy.isVector() && ST->hasNEON()) { 182 SrcTy.getSimpleVT())) 209 if (SrcTy.isFloatingPoint() && ST->hasNEON()) { 212 SrcTy.getSimpleVT())) 240 if (SrcTy.isInteger() && ST->hasNEON()) { 243 SrcTy.getSimpleVT())) 259 if (SrcTy.isInteger()) { 262 SrcTy.getSimpleVT()) [all...] |
/external/llvm/lib/Analysis/ |
CostModel.cpp | 452 Type *SrcTy = I->getOperand(0)->getType(); 453 return TTI->getCastInstrCost(I->getOpcode(), I->getType(), SrcTy);
|
ConstantFolding.cpp | 503 Type *SrcTy = SrcPtrTy->getPointerElementType(); 505 Constant *C = ConstantFoldLoadFromConstPtr(SrcPtr, SrcTy, DL); 510 Type *SrcTy = C->getType(); 514 if (DL.getTypeSizeInBits(DestTy) == DL.getTypeSizeInBits(SrcTy)) { 518 if (SrcTy->isIntegerTy() && DestTy->isPointerTy()) 520 else if (SrcTy->isPointerTy() && DestTy->isIntegerTy()) 529 if (!SrcTy->isAggregateType()) [all...] |
/external/llvm/lib/Target/AArch64/ |
AArch64TargetTransformInfo.cpp | 183 EVT SrcTy = TLI->getValueType(DL, Src); 186 if (!SrcTy.isSimple() || !DstTy.isSimple()) 288 SrcTy.getSimpleVT()))
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
InstCombineLoadStoreAlloca.cpp | 96 if (PointerType *SrcTy = dyn_cast<PointerType>(CastOp->getType())) { 99 if (DestTy->getAddressSpace() != SrcTy->getAddressSpace()) 102 Type *SrcPTy = SrcTy->getElementType(); 116 SrcTy = cast<PointerType>(CastOp->getType()); 117 SrcPTy = SrcTy->getElementType(); 261 PointerType *SrcTy = dyn_cast<PointerType>(CastOp->getType()); 262 if (SrcTy == 0) return 0; 264 Type *SrcPTy = SrcTy->getElementType(); 297 SrcTy = PointerType::get(SrcPTy, SrcTy->getAddressSpace()) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/ |
AArch64RegisterBankInfo.cpp | 484 LLT SrcTy = MRI.getType(MI.getOperand(1).getReg()); 487 getFPExtMapping(DstTy.getSizeInBits(), SrcTy.getSizeInBits()), 519 LLT SrcTy = MRI.getType(MI.getOperand(1).getReg()); 522 bool SrcIsGPR = !SrcTy.isVector() && SrcTy.getSizeInBits() <= 64;
|
AArch64TargetTransformInfo.cpp | 246 Type *SrcTy = toVectorTy(Extend->getSrcTy()); 247 auto SrcTyL = TLI->getTypeLegalizationCost(DL, SrcTy); 249 if (!SrcTyL.second.isVector() || SrcElTySize != SrcTy->getScalarSizeInBits()) 286 EVT SrcTy = TLI->getValueType(DL, Src); 289 if (!SrcTy.isSimple() || !DstTy.isSimple()) 391 SrcTy.getSimpleVT())) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
ARMTargetTransformInfo.cpp | 156 EVT SrcTy = TLI->getValueType(DL, Src); 159 if (!SrcTy.isSimple() || !DstTy.isSimple()) 240 if (SrcTy.isVector() && ST->hasNEON()) { 243 SrcTy.getSimpleVT())) 270 if (SrcTy.isFloatingPoint() && ST->hasNEON()) { 273 SrcTy.getSimpleVT())) 301 if (SrcTy.isInteger() && ST->hasNEON()) { 304 SrcTy.getSimpleVT())) 320 if (SrcTy.isInteger()) { 323 SrcTy.getSimpleVT()) [all...] |
ARMInstructionSelector.cpp | 700 LLT SrcTy = MRI.getType(I.getOperand(1).getReg()); 701 unsigned SrcSize = SrcTy.getSizeInBits(); [all...] |
/external/swiftshader/third_party/LLVM/lib/Linker/ |
LinkModules.cpp | 49 void addTypeMapping(Type *DstTy, Type *SrcTy); 57 Type *get(Type *SrcTy); 64 Type *remapType(Type *SrcTy) { 65 return get(SrcTy); 68 bool areTypesIsomorphic(Type *DstTy, Type *SrcTy); 72 void TypeMapTy::addTypeMapping(Type *DstTy, Type *SrcTy) { 73 Type *&Entry = MappedTypes[SrcTy]; 76 if (DstTy == SrcTy) { 83 if (!areTypesIsomorphic(DstTy, SrcTy)) { 94 bool TypeMapTy::areTypesIsomorphic(Type *DstTy, Type *SrcTy) { [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
MergeFunctions.cpp | 473 Type *SrcTy = V->getType(); 474 if (SrcTy->isStructTy()) { 476 assert(SrcTy->getStructNumElements() == DestTy->getStructNumElements()); 478 for (unsigned int I = 0, E = SrcTy->getStructNumElements(); I < E; ++I) { 489 if (SrcTy->isIntegerTy() && DestTy->isPointerTy()) 491 else if (SrcTy->isPointerTy() && DestTy->isIntegerTy()) [all...] |
ArgumentPromotion.cpp | 167 Type *SrcTy; 169 SrcTy = L->getType(); 171 SrcTy = cast<GetElementPtrInst>(UI)->getSourceElementType(); 183 ArgIndices.insert(std::make_pair(SrcTy, Indices)); [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
InstCombineShifts.cpp | [all...] |
/external/llvm/lib/Target/AMDGPU/ |
AMDGPUPromoteAlloca.cpp | 833 Type *SrcTy = Src->getType()->getPointerElementType(); 836 { Intr->getType(), PointerType::get(SrcTy, AMDGPUAS::LOCAL_ADDRESS) }
|
/external/llvm/lib/Target/X86/ |
X86TargetTransformInfo.cpp | [all...] |
/external/llvm/lib/Transforms/IPO/ |
ArgumentPromotion.cpp | 702 Type *SrcTy; 704 SrcTy = L->getType(); 706 SrcTy = cast<GetElementPtrInst>(UI)->getSourceElementType(); 718 ArgIndices.insert(std::make_pair(SrcTy, Indices)); [all...] |
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
InstructionSimplify.cpp | [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
AMDGPUPromoteAlloca.cpp | 894 Type *SrcTy = Src->getType()->getPointerElementType(); 897 { Intr->getType(), PointerType::get(SrcTy, AS.LOCAL_ADDRESS) }
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
InferAddressSpaces.cpp | 275 Type *SrcTy = NewV->getType(); 277 Intrinsic::getDeclaration(M, II->getIntrinsicID(), {DestTy, SrcTy}); [all...] |
/external/swiftshader/third_party/subzero/src/ |
IceInstX86BaseImpl.h | [all...] |
/external/clang/lib/CodeGen/ |
CGCall.cpp | [all...] |