/external/llvm/lib/IR/ |
Instructions.cpp | [all...] |
Verifier.cpp | [all...] |
AutoUpgrade.cpp | 491 VectorType *SrcTy = cast<VectorType>(CI->getArgOperand(0)->getType()); 501 CI->getArgOperand(0), UndefValue::get(SrcTy), ShuffleMask); [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
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...] |
InstCombineVectorOps.cpp | [all...] |
/external/llvm/lib/Linker/ |
IRMover.cpp | 54 void addTypeMapping(Type *DstTy, Type *SrcTy); 62 Type *get(Type *SrcTy); 63 Type *get(Type *SrcTy, SmallPtrSet<StructType *, 8> &Visited); 72 Type *remapType(Type *SrcTy) override { return get(SrcTy); } 74 bool areTypesIsomorphic(Type *DstTy, Type *SrcTy); 78 void TypeMapTy::addTypeMapping(Type *DstTy, Type *SrcTy) { 84 if (!areTypesIsomorphic(DstTy, SrcTy)) { 106 bool TypeMapTy::areTypesIsomorphic(Type *DstTy, Type *SrcTy) { 108 if (DstTy->getTypeID() != SrcTy->getTypeID() [all...] |
/external/llvm/include/llvm/Transforms/Utils/ |
ValueMapper.h | 34 virtual Type *remapType(Type *SrcTy) = 0;
|
/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 &&
|
NVPTXISelLowering.h | 458 bool isTruncateFree(Type *SrcTy, Type *DstTy) const override { 460 if (!SrcTy->isIntegerTy() || !DstTy->isIntegerTy()) 462 return SrcTy->getPrimitiveSizeInBits() == 64 &&
|
/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...] |
/external/clang/lib/CodeGen/ |
CGExprScalar.cpp | 151 Value *EmitScalarConversion(Value *Src, QualType SrcTy, QualType DstTy, 154 Value *EmitScalarConversion(Value *Src, QualType SrcTy, QualType DstTy, 160 QualType SrcTy, QualType DstTy, 604 llvm::Type *SrcTy = Src->getType(); 607 if (llvm::IntegerType *IntTy = dyn_cast<llvm::IntegerType>(SrcTy)) { 750 llvm::Type *SrcTy = Src->getType(); 779 SrcTy = CGF.FloatTy; 784 if (SrcTy == DstTy) 792 if (isa<llvm::PointerType>(SrcTy)) 806 if (isa<llvm::PointerType>(SrcTy)) { [all...] |
CGCall.cpp | [all...] |
CGObjC.cpp | [all...] |
MicrosoftCXXABI.cpp | 646 const MemberPointerType *SrcTy, const MemberPointerType *DstTy, 659 const MemberPointerType *SrcTy, const MemberPointerType *DstTy, [all...] |
CGObjCMac.cpp | [all...] |
/external/llvm/lib/ExecutionEngine/Interpreter/ |
Execution.cpp | [all...] |
/external/llvm/lib/Target/X86/ |
X86TargetTransformInfo.cpp | [all...] |
/external/llvm/lib/Analysis/ |
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...] |
CostModel.cpp | 452 Type *SrcTy = I->getOperand(0)->getType(); 453 return TTI->getCastInstrCost(I->getOpcode(), I->getType(), SrcTy);
|
ScalarEvolution.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()))
|
/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/Sema/ |
SemaCast.cpp | [all...] |
/external/llvm/include/llvm/IR/ |
InstrTypes.h | 758 Type *SrcTy, ///< The Type from which the value should be cast. 764 Type *SrcTy, ///< The Type from which the value should be cast. 774 Type *SrcTy, ///< The Type from which the value should be cast. 813 Type *SrcTy, ///< SrcTy of cast [all...] |