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

  /external/llvm/lib/Analysis/
CostModel.cpp 183 Type *SrcTy = I->getOperand(0)->getType();
184 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 201 EVT SrcTy = TLI->getValueType(Src);
204 if (!SrcTy.isSimple() || !DstTy.isSimple())
285 if (SrcTy.isVector() && ST->hasNEON()) {
288 ISD, DstTy.getSimpleVT(), SrcTy.getSimpleVT());
316 if (SrcTy.isFloatingPoint() && ST->hasNEON()) {
320 SrcTy.getSimpleVT());
349 if (SrcTy.isInteger() && ST->hasNEON()) {
353 SrcTy.getSimpleVT());
370 if (SrcTy.isInteger()) {
375 SrcTy.getSimpleVT())
    [all...]
ARMFastISel.cpp     [all...]
  /external/llvm/lib/Target/X86/
X86TargetTransformInfo.cpp 397 EVT SrcTy = TLI->getValueType(Src);
401 if (!SrcTy.isSimple() || !DstTy.isSimple())
451 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)) &&
773 Type *SrcTy = Src->getType(), *DestTy = CI.getType();
780 if ((DestTy->isVectorTy() || ShouldChangeType(SrcTy, DestTy)) &&
782 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/clang/lib/CodeGen/
MicrosoftCXXABI.cpp     [all...]
CGCall.cpp 640 llvm::Type *SrcTy =
642 if (llvm::StructType *SrcSTy = dyn_cast<llvm::StructType>(SrcTy))
710 llvm::Type *SrcTy =
713 // If SrcTy and Ty are the same, just do a load.
714 if (SrcTy == Ty)
719 if (llvm::StructType *SrcSTy = dyn_cast<llvm::StructType>(SrcTy)) {
721 SrcTy = cast<llvm::PointerType>(SrcPtr->getType())->getElementType();
724 uint64_t SrcSize = CGF.CGM.getDataLayout().getTypeAllocSize(SrcTy);
729 (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);
560 llvm::Type *SrcTy = Src->getType();
563 if (llvm::IntegerType *IntTy = dyn_cast<llvm::IntegerType>(SrcTy)) {
700 llvm::Type *SrcTy = Src->getType();
706 SrcTy = CGF.FloatTy;
716 if (SrcTy == DstTy)
724 if (isa<llvm::PointerType>(SrcTy))
738 if (isa<llvm::PointerType>(SrcTy)) {
756 if (isa<llvm::VectorType>(SrcTy) ||
    [all...]
CGObjCMac.cpp     [all...]
  /external/clang/lib/Sema/
SemaCast.cpp     [all...]
SemaExpr.cpp     [all...]
  /external/llvm/lib/IR/
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 = NULL;
    [all...]
Instructions.cpp     [all...]
Verifier.cpp 328 void VerifyBitcastType(const Value *V, Type *DestTy, Type *SrcTy);
    [all...]
  /external/llvm/lib/Linker/
LinkModules.cpp 62 void addTypeMapping(Type *DstTy, Type *SrcTy);
70 Type *get(Type *SrcTy);
89 Type *remapType(Type *SrcTy) {
90 return get(SrcTy);
93 bool areTypesIsomorphic(Type *DstTy, Type *SrcTy);
97 void TypeMapTy::addTypeMapping(Type *DstTy, Type *SrcTy) {
98 Type *&Entry = MappedTypes[SrcTy];
101 if (DstTy == SrcTy) {
108 if (!areTypesIsomorphic(DstTy, SrcTy)) {
119 bool TypeMapTy::areTypesIsomorphic(Type *DstTy, Type *SrcTy) {
    [all...]
  /external/llvm/lib/Transforms/Vectorize/
SLPVectorizer.cpp 684 Type *SrcTy = VL0->getOperand(0)->getType();
687 if (Ty != SrcTy || Ty->isAggregateType() || Ty->isVectorTy()) {
836 Type *SrcTy = VL0->getOperand(0)->getType();
840 VL0->getType(), SrcTy);
842 VectorType *SrcVecTy = VectorType::get(SrcTy, VL.size());
    [all...]
  /external/llvm/lib/Transforms/Scalar/
LoopStrengthReduce.cpp     [all...]

Completed in 1388 milliseconds