/external/llvm/lib/Target/NVPTX/ |
NVPTXFavorNonGenericAddrSpaces.cpp | 130 PointerType *SrcTy = cast<PointerType>(Src->getType()); 136 if (SrcTy->getElementType() != DestTy->getElementType()) 141 return (SrcTy->getAddressSpace() != AddressSpace::ADDRESS_SPACE_GENERIC &&
|
/external/llvm/lib/Target/ARM/ |
ARMTargetTransformInfo.cpp | 69 EVT SrcTy = TLI->getValueType(DL, Src); 72 if (!SrcTy.isSimple() || !DstTy.isSimple()) 153 if (SrcTy.isVector() && ST->hasNEON()) { 156 SrcTy.getSimpleVT())) 183 if (SrcTy.isFloatingPoint() && ST->hasNEON()) { 186 SrcTy.getSimpleVT())) 214 if (SrcTy.isInteger() && ST->hasNEON()) { 217 SrcTy.getSimpleVT())) 233 if (SrcTy.isInteger()) { 236 SrcTy.getSimpleVT()) [all...] |
ARMFastISel.cpp | [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 | 493 Type *SrcTy = C->getType(); 497 if (DL.getTypeSizeInBits(DestTy) == DL.getTypeSizeInBits(SrcTy)) { 501 if (SrcTy->isIntegerTy() && DestTy->isPointerTy()) 503 else if (SrcTy->isPointerTy() && DestTy->isIntegerTy()) 512 if (!SrcTy->isAggregateType()) 677 static Constant *CastGEPIndices(Type *SrcTy, ArrayRef<Constant *> Ops, 704 Constant *C = ConstantExpr::getGetElementPtr(SrcTy, Ops[0], NewIdxs); 730 static Constant *SymbolicallyEvaluateGEP(Type *SrcTy, ArrayRef<Constant *> Ops, [all...] |
InstructionSimplify.cpp | [all...] |
DependenceAnalysis.cpp | 792 IntegerType *SrcTy = dyn_cast<IntegerType>(Src->getType()); 794 if (SrcTy == nullptr || DstTy == nullptr) { 795 assert(SrcTy == DstTy && "This function only unify integer types and " 800 if (SrcTy->getBitWidth() > widestWidthSeen) { 801 widestWidthSeen = SrcTy->getBitWidth(); 802 widestType = SrcTy; 817 IntegerType *SrcTy = dyn_cast<IntegerType>(Src->getType()); 819 if (SrcTy == nullptr || DstTy == nullptr) { 820 assert(SrcTy == DstTy && "This function only unify integer types and " 825 if (SrcTy->getBitWidth() < widestWidthSeen [all...] |
ValueTracking.cpp | [all...] |
/external/llvm/lib/Target/AArch64/ |
AArch64TargetTransformInfo.cpp | 183 EVT SrcTy = TLI->getValueType(DL, Src); 186 if (!SrcTy.isSimple() || !DstTy.isSimple()) 288 SrcTy.getSimpleVT()))
|
AArch64FastISel.cpp | [all...] |
/external/llvm/lib/IR/ |
AutoUpgrade.cpp | 491 VectorType *SrcTy = cast<VectorType>(CI->getArgOperand(0)->getType()); 501 CI->getArgOperand(0), UndefValue::get(SrcTy), ShuffleMask); [all...] |
ConstantFold.cpp | 87 Type *SrcTy = Op->getOperand(0)->getType(); 98 return CastInst::isEliminableCastPair(firstOp, secondOp, SrcTy, MidTy, DstTy, 103 Type *SrcTy = V->getType(); 104 if (SrcTy == DestTy) 142 if (VectorType *SrcTy = dyn_cast<VectorType>(V->getType())) { 143 assert(DestPTy->getBitWidth() == SrcTy->getBitWidth() && 145 SrcTy = nullptr; [all...] |
/external/llvm/lib/Target/X86/ |
X86TargetTransformInfo.cpp | [all...] |
/external/llvm/lib/Transforms/IPO/ |
ArgumentPromotion.cpp | 676 Type *SrcTy; 678 SrcTy = L->getType(); 680 SrcTy = cast<GetElementPtrInst>(UI)->getSourceElementType(); 692 ArgIndices.insert(std::make_pair(SrcTy, Indices)); [all...] |
MergeFunctions.cpp | [all...] |
/external/clang/lib/CodeGen/ |
CGCall.cpp | [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineVectorOps.cpp | [all...] |
InstCombineAndOrXor.cpp | [all...] |
InstCombineCalls.cpp | 313 VectorType *SrcTy = cast<VectorType>(II.getArgOperand(0)->getType()); 323 UndefValue::get(SrcTy), ShuffleMask); [all...] |
InstCombineCasts.cpp | 238 Type *SrcTy = CI->getOperand(0)->getType(); // A from above 245 SrcTy->isPtrOrPtrVectorTy() ? DL.getIntPtrType(SrcTy) : nullptr; 250 unsigned Res = CastInst::isEliminableCastPair(firstOp, secondOp, SrcTy, MidTy, 256 if ((Res == Instruction::IntToPtr && SrcTy != DstIntPtrTy) || 496 Type *DestTy = CI.getType(), *SrcTy = Src->getType(); 502 if ((DestTy->isVectorTy() || ShouldChangeType(SrcTy, DestTy)) && 516 Constant *One = ConstantInt::get(SrcTy, 1); 567 if (Src->hasOneUse() && isa<IntegerType>(SrcTy) && 568 ShouldChangeType(SrcTy, DestTy) & [all...] |
InstCombineCompares.cpp | [all...] |
InstructionCombining.cpp | 754 VectorType *SrcTy = dyn_cast<VectorType>(BC->getSrcTy()); 757 if ((SrcTy == nullptr) != (DestTy == nullptr)) return nullptr; 759 if (SrcTy && SrcTy->getNumElements() != DestTy->getNumElements()) [all...] |
/external/llvm/lib/Target/Mips/ |
MipsFastISel.cpp | [all...] |
/external/llvm/lib/Target/PowerPC/ |
PPCFastISel.cpp | [all...] |
/external/llvm/lib/Transforms/Scalar/ |
RewriteStatepointsForGC.cpp | [all...] |