HomeSort by relevance Sort by last modified time
    Searched defs:SrcTy (Results 1 - 25 of 34) sorted by null

1 2

  /external/llvm/lib/Target/NVPTX/
NVPTXFavorNonGenericAddrSpaces.cpp 96 PointerType *SrcTy = cast<PointerType>(Src->getType());
102 if (SrcTy->getElementType() != DestTy->getElementType())
107 return (SrcTy->getAddressSpace() != AddressSpace::ADDRESS_SPACE_GENERIC &&
NVPTXAsmPrinter.cpp 160 PointerType *SrcTy = cast<PointerType>(CE->getOperand(0)->getType());
161 if (SrcTy->getAddressSpace() == 1 && DstTy->getAddressSpace() == 0) {
    [all...]
  /external/llvm/lib/Target/AArch64/
AArch64TargetTransformInfo.cpp 300 EVT SrcTy = TLI->getValueType(Src);
303 if (!SrcTy.isSimple() || !DstTy.isSimple())
371 SrcTy.getSimpleVT());
AArch64FastISel.cpp     [all...]
  /external/llvm/lib/Analysis/
CostModel.cpp 456 Type *SrcTy = I->getOperand(0)->getType();
457 return TTI->getCastInstrCost(I->getOpcode(), I->getType(), SrcTy);
ConstantFolding.cpp 488 Type *SrcTy = C->getType();
492 if (DL->getTypeSizeInBits(DestTy) == DL->getTypeSizeInBits(SrcTy)) {
496 if (SrcTy->isIntegerTy() && DestTy->isPointerTy())
498 else if (SrcTy->isPointerTy() && DestTy->isIntegerTy())
507 if (!SrcTy->isAggregateType())
    [all...]
InstructionSimplify.cpp     [all...]
ValueTracking.cpp 423 Type *SrcTy = I->getOperand(0)->getType();
429 SrcBitWidth = TD->getTypeSizeInBits(SrcTy->getScalarType());
431 SrcBitWidth = SrcTy->getScalarSizeInBits();
447 Type *SrcTy = I->getOperand(0)->getType();
448 if ((SrcTy->isIntegerTy() || SrcTy->isPointerTy()) &&
    [all...]
  /external/llvm/lib/Target/ARM/
ARMTargetTransformInfo.cpp 204 EVT SrcTy = TLI->getValueType(Src);
207 if (!SrcTy.isSimple() || !DstTy.isSimple())
289 if (SrcTy.isVector() && ST->hasNEON()) {
291 DstTy.getSimpleVT(), SrcTy.getSimpleVT());
320 if (SrcTy.isFloatingPoint() && ST->hasNEON()) {
322 DstTy.getSimpleVT(), SrcTy.getSimpleVT());
352 if (SrcTy.isInteger() && ST->hasNEON()) {
354 DstTy.getSimpleVT(), SrcTy.getSimpleVT());
372 if (SrcTy.isInteger()) {
374 DstTy.getSimpleVT(), SrcTy.getSimpleVT())
    [all...]
ARMFastISel.cpp     [all...]
  /external/llvm/lib/Target/X86/
X86TargetTransformInfo.cpp 560 EVT SrcTy = TLI->getValueType(Src);
564 if (!SrcTy.isSimple() || !DstTy.isSimple())
667 DstTy.getSimpleVT(), SrcTy.getSimpleVT());
674 SrcTy.getSimpleVT());
    [all...]
  /external/llvm/lib/IR/
AutoUpgrade.cpp 530 Type *SrcTy = V->getType();
531 if (SrcTy->isPtrOrPtrVectorTy() && DestTy->isPtrOrPtrVectorTy() &&
532 SrcTy->getPointerAddressSpace() != DestTy->getPointerAddressSpace()) {
550 Type *SrcTy = C->getType();
551 if (SrcTy->isPtrOrPtrVectorTy() && DestTy->isPtrOrPtrVectorTy() &&
552 SrcTy->getPointerAddressSpace() != DestTy->getPointerAddressSpace()) {
ConstantFold.cpp 85 Type *SrcTy = Op->getOperand(0)->getType();
96 return CastInst::isEliminableCastPair(firstOp, secondOp, SrcTy, MidTy, DstTy,
101 Type *SrcTy = V->getType();
102 if (SrcTy == DestTy)
139 if (VectorType *SrcTy = dyn_cast<VectorType>(V->getType())) {
140 assert(DestPTy->getBitWidth() == SrcTy->getBitWidth() &&
142 SrcTy = nullptr;
    [all...]
Instructions.cpp     [all...]
Verifier.cpp 338 void VerifyBitcastType(const Value *V, Type *DestTy, Type *SrcTy);
    [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineLoadStoreAlloca.cpp 302 if (PointerType *SrcTy = dyn_cast<PointerType>(CastOp->getType())) {
305 if (DestTy->getAddressSpace() != SrcTy->getAddressSpace())
308 Type *SrcPTy = SrcTy->getElementType();
319 ? DL->getIntPtrType(SrcTy)
320 : Type::getInt64Ty(SrcTy->getContext());
324 SrcTy = cast<PointerType>(CastOp->getType());
325 SrcPTy = SrcTy->getElementType();
477 PointerType *SrcTy = dyn_cast<PointerType>(CastOp->getType());
478 if (!SrcTy) return nullptr;
480 Type *SrcPTy = SrcTy->getElementType()
    [all...]
InstCombineAndOrXor.cpp     [all...]
InstCombineCasts.cpp 244 Type *SrcTy = CI->getOperand(0)->getType(); // A from above
250 Type *SrcIntPtrTy = DL && SrcTy->isPtrOrPtrVectorTy() ?
251 DL->getIntPtrType(SrcTy) : nullptr;
256 unsigned Res = CastInst::isEliminableCastPair(firstOp, secondOp, SrcTy, MidTy,
262 if ((Res == Instruction::IntToPtr && SrcTy != DstIntPtrTy) ||
449 Type *DestTy = CI.getType(), *SrcTy = Src->getType();
455 if ((DestTy->isVectorTy() || ShouldChangeType(SrcTy, DestTy)) &&
776 Type *SrcTy = Src->getType(), *DestTy = CI.getType();
783 if ((DestTy->isVectorTy() || ShouldChangeType(SrcTy, DestTy)) &&
785 assert(BitsToClear < SrcTy->getScalarSizeInBits() &
    [all...]
InstructionCombining.cpp 701 VectorType *SrcTy = dyn_cast<VectorType>(BC->getSrcTy());
704 if ((SrcTy == nullptr) != (DestTy == nullptr)) return nullptr;
706 if (SrcTy && SrcTy->getNumElements() != DestTy->getNumElements())
    [all...]
  /external/llvm/lib/Linker/
LinkModules.cpp 64 void addTypeMapping(Type *DstTy, Type *SrcTy);
72 Type *get(Type *SrcTy);
91 Type *remapType(Type *SrcTy) override {
92 return get(SrcTy);
95 bool areTypesIsomorphic(Type *DstTy, Type *SrcTy);
99 void TypeMapTy::addTypeMapping(Type *DstTy, Type *SrcTy) {
100 Type *&Entry = MappedTypes[SrcTy];
103 if (DstTy == SrcTy) {
110 if (!areTypesIsomorphic(DstTy, SrcTy)) {
121 bool TypeMapTy::areTypesIsomorphic(Type *DstTy, Type *SrcTy) {
    [all...]
  /external/llvm/lib/Transforms/IPO/
MergeFunctions.cpp     [all...]
  /external/llvm/lib/Target/PowerPC/
PPCFastISel.cpp     [all...]
  /external/clang/lib/CodeGen/
CGCall.cpp 681 llvm::Type *SrcTy =
683 if (llvm::StructType *SrcSTy = dyn_cast<llvm::StructType>(SrcTy))
752 llvm::Type *SrcTy =
755 // If SrcTy and Ty are the same, just do a load.
756 if (SrcTy == Ty)
761 if (llvm::StructType *SrcSTy = dyn_cast<llvm::StructType>(SrcTy)) {
763 SrcTy = cast<llvm::PointerType>(SrcPtr->getType())->getElementType();
766 uint64_t SrcSize = CGF.CGM.getDataLayout().getTypeAllocSize(SrcTy);
771 (isa<llvm::IntegerType>(SrcTy) || isa<llvm::PointerType>(SrcTy))) {
    [all...]
CGObjC.cpp     [all...]
MicrosoftCXXABI.cpp     [all...]

Completed in 2408 milliseconds

1 2