/external/llvm/lib/Analysis/ |
CostModel.cpp | 161 Type *SrcTy = I->getOperand(0)->getType(); 162 return TTI->getCastInstrCost(I->getOpcode(), I->getType(), SrcTy);
|
InstructionSimplify.cpp | [all...] |
ValueTracking.cpp | 431 Type *SrcTy = I->getOperand(0)->getType(); 437 SrcBitWidth = TD->getTypeSizeInBits(SrcTy->getScalarType()); 439 SrcBitWidth = SrcTy->getScalarSizeInBits(); 455 Type *SrcTy = I->getOperand(0)->getType(); 456 if ((SrcTy->isIntegerTy() || SrcTy->isPointerTy()) && [all...] |
/external/llvm/lib/Target/ARM/ |
ARMTargetTransformInfo.cpp | 197 EVT SrcTy = TLI->getValueType(Src); 200 if (!SrcTy.isSimple() || !DstTy.isSimple()) 273 if (SrcTy.isVector() && ST->hasNEON()) { 276 ISD, DstTy.getSimpleVT(), SrcTy.getSimpleVT()); 304 if (SrcTy.isFloatingPoint() && ST->hasNEON()) { 308 SrcTy.getSimpleVT()); 337 if (SrcTy.isInteger() && ST->hasNEON()) { 341 SrcTy.getSimpleVT()); 358 if (SrcTy.isInteger()) { 363 SrcTy.getSimpleVT()) [all...] |
ARMFastISel.cpp | [all...] |
/external/llvm/lib/Target/X86/ |
X86TargetTransformInfo.cpp | 238 EVT SrcTy = TLI->getValueType(Src); 241 if (!SrcTy.isSimple() || !DstTy.isSimple()) 268 ISD, DstTy.getSimpleVT(), SrcTy.getSimpleVT());
|
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineLoadStoreAlloca.cpp | 289 if (PointerType *SrcTy = dyn_cast<PointerType>(CastOp->getType())) { 292 if (DestTy->getAddressSpace() != SrcTy->getAddressSpace()) 295 Type *SrcPTy = SrcTy->getElementType(); 309 SrcTy = cast<PointerType>(CastOp->getType()); 310 SrcPTy = SrcTy->getElementType(); 454 PointerType *SrcTy = dyn_cast<PointerType>(CastOp->getType()); 455 if (SrcTy == 0) return 0; 457 Type *SrcPTy = SrcTy->getElementType(); 490 SrcTy = PointerType::get(SrcPTy, SrcTy->getAddressSpace()) [all...] |
InstCombineCasts.cpp | 241 Type *SrcTy = CI->getOperand(0)->getType(); // A from above 247 Type *SrcIntPtrTy = TD && SrcTy->isPtrOrPtrVectorTy() ? 248 TD->getIntPtrType(SrcTy) : 0; 253 unsigned Res = CastInst::isEliminableCastPair(firstOp, secondOp, SrcTy, MidTy, 259 if ((Res == Instruction::IntToPtr && SrcTy != DstIntPtrTy) || 446 Type *DestTy = CI.getType(), *SrcTy = Src->getType(); 452 if ((DestTy->isVectorTy() || ShouldChangeType(SrcTy, DestTy)) && 763 Type *SrcTy = Src->getType(), *DestTy = CI.getType(); 770 if ((DestTy->isVectorTy() || ShouldChangeType(SrcTy, DestTy)) && 772 assert(BitsToClear < SrcTy->getScalarSizeInBits() & [all...] |
InstCombineAndOrXor.cpp | [all...] |
InstCombineCompares.cpp | [all...] |
InstructionCombining.cpp | 599 VectorType *SrcTy = dyn_cast<VectorType>(BC->getSrcTy()); 602 if ((SrcTy == NULL) != (DestTy == NULL)) return 0; 604 if (SrcTy && SrcTy->getNumElements() != DestTy->getNumElements()) [all...] |
/external/llvm/lib/Linker/ |
LinkModules.cpp | 61 void addTypeMapping(Type *DstTy, Type *SrcTy); 69 Type *get(Type *SrcTy); 88 Type *remapType(Type *SrcTy) { 89 return get(SrcTy); 92 bool areTypesIsomorphic(Type *DstTy, Type *SrcTy); 96 void TypeMapTy::addTypeMapping(Type *DstTy, Type *SrcTy) { 97 Type *&Entry = MappedTypes[SrcTy]; 100 if (DstTy == SrcTy) { 107 if (!areTypesIsomorphic(DstTy, SrcTy)) { 118 bool TypeMapTy::areTypesIsomorphic(Type *DstTy, Type *SrcTy) { [all...] |
/external/clang/lib/Sema/ |
SemaCast.cpp | [all...] |
SemaExpr.cpp | [all...] |
/external/llvm/lib/IR/ |
ConstantFold.cpp | 85 Type *SrcTy = Op->getOperand(0)->getType(); 94 return CastInst::isEliminableCastPair(firstOp, secondOp, SrcTy, MidTy, DstTy, 100 Type *SrcTy = V->getType(); 101 if (SrcTy == DestTy) 138 if (VectorType *SrcTy = dyn_cast<VectorType>(V->getType())) { 139 assert(DestPTy->getBitWidth() == SrcTy->getBitWidth() && 141 SrcTy = NULL; [all...] |
Instructions.cpp | [all...] |
Verifier.cpp | [all...] |
/external/clang/lib/CodeGen/ |
CGCall.cpp | 638 llvm::Type *SrcTy = 640 if (llvm::StructType *SrcSTy = dyn_cast<llvm::StructType>(SrcTy)) 687 llvm::Type *SrcTy = 690 // If SrcTy and Ty are the same, just do a load. 691 if (SrcTy == Ty) 696 if (llvm::StructType *SrcSTy = dyn_cast<llvm::StructType>(SrcTy)) { 698 SrcTy = cast<llvm::PointerType>(SrcPtr->getType())->getElementType(); 701 uint64_t SrcSize = CGF.CGM.getDataLayout().getTypeAllocSize(SrcTy); 706 (isa<llvm::IntegerType>(SrcTy) || isa<llvm::PointerType>(SrcTy))) { [all...] |
CGObjC.cpp | [all...] |
CGExpr.cpp | [all...] |
CGExprScalar.cpp | 113 Value *EmitScalarConversion(Value *Src, QualType SrcTy, QualType DstTy); 119 QualType SrcTy, QualType DstTy); 556 llvm::Type *SrcTy = Src->getType(); 559 if (llvm::IntegerType *IntTy = dyn_cast<llvm::IntegerType>(SrcTy)) { 665 llvm::Type *SrcTy = Src->getType(); 671 SrcTy = CGF.FloatTy; 681 if (SrcTy == DstTy) 689 if (isa<llvm::PointerType>(SrcTy)) 703 if (isa<llvm::PointerType>(SrcTy)) { 721 if (isa<llvm::VectorType>(SrcTy) || [all...] |
CGObjCMac.cpp | [all...] |
/external/llvm/lib/Transforms/Scalar/ |
LoopStrengthReduce.cpp | [all...] |
/external/clang/lib/AST/ |
ExprConstant.cpp | [all...] |