HomeSort by relevance Sort by last modified time
    Searched refs:SrcTy (Results 1 - 25 of 45) 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 &&
  /external/llvm/lib/IR/
Instructions.cpp     [all...]
Verifier.cpp 338 void VerifyBitcastType(const Value *V, Type *DestTy, Type *SrcTy);
    [all...]
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...]
  /external/llvm/include/llvm/Transforms/Utils/
ValueMapper.h 34 virtual Type *remapType(Type *SrcTy) = 0;
  /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/InstCombine/
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...]
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...]
  /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...]
  /external/clang/lib/CodeGen/
CGExprScalar.cpp 114 Value *EmitScalarConversion(Value *Src, QualType SrcTy, QualType DstTy);
120 QualType SrcTy, QualType DstTy);
563 llvm::Type *SrcTy = Src->getType();
566 if (llvm::IntegerType *IntTy = dyn_cast<llvm::IntegerType>(SrcTy)) {
703 llvm::Type *SrcTy = Src->getType();
709 SrcTy = CGF.FloatTy;
719 if (SrcTy == DstTy)
727 if (isa<llvm::PointerType>(SrcTy))
741 if (isa<llvm::PointerType>(SrcTy)) {
759 if (isa<llvm::VectorType>(SrcTy) ||
    [all...]
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...]
CGObjCMac.cpp     [all...]
  /external/llvm/lib/ExecutionEngine/Interpreter/
Execution.cpp     [all...]
  /external/llvm/include/llvm/IR/
InstrTypes.h 530 Type *SrcTy, ///< The Type from which the value should be cast.
536 Type *SrcTy, ///< The Type from which the value should be cast.
575 Type *SrcTy, ///< SrcTy of cast
594 /// the pair, casting SrcTy to DstTy.
599 Type *SrcTy, ///< SrcTy of 1st cast
600 Type *MidTy, ///< DstTy of 1st cast & SrcTy of 2nd cast
602 Type *SrcIntPtrTy, ///< Integer type corresponding to Ptr SrcTy, or null
    [all...]
  /external/llvm/lib/Target/AArch64/
AArch64TargetTransformInfo.cpp 300 EVT SrcTy = TLI->getValueType(Src);
303 if (!SrcTy.isSimple() || !DstTy.isSimple())
371 SrcTy.getSimpleVT());
  /external/llvm/lib/Transforms/IPO/
MergeFunctions.cpp     [all...]
  /external/llvm/lib/Analysis/
CostModel.cpp 456 Type *SrcTy = I->getOperand(0)->getType();
457 return TTI->getCastInstrCost(I->getOpcode(), I->getType(), SrcTy);
ScalarEvolution.cpp     [all...]
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/clang/lib/Sema/
SemaCast.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...]

Completed in 519 milliseconds

1 2