/macosx-10.10.1/llvmCore-3425.0.34/lib/Linker/ |
H A D | LinkModules.cpp | 61 void addTypeMapping(Type *DstTy, Type *SrcTy); 69 Type *get(Type *SrcTy); 88 Type *remapType(Type *SrcTy) { argument 89 return get(SrcTy); 92 bool areTypesIsomorphic(Type *DstTy, Type *SrcTy); 96 void TypeMapTy::addTypeMapping(Type *DstTy, Type *SrcTy) { argument 97 Type *&Entry = MappedTypes[SrcTy]; 100 if (DstTy == SrcTy) { 107 if (!areTypesIsomorphic(DstTy, SrcTy)) { 118 bool TypeMapTy::areTypesIsomorphic(Type *DstTy, Type *SrcTy) { argument 659 ArrayType *SrcTy = local [all...] |
/macosx-10.10.1/llvmCore-3425.0.34/lib/VMCore/ |
H A D | Verifier.cpp | 865 Type *SrcTy = I.getOperand(0)->getType(); local 869 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); 872 Assert1(SrcTy->isIntOrIntVectorTy(), "Trunc only operates on integer", &I); 874 Assert1(SrcTy->isVectorTy() == DestTy->isVectorTy(), 883 Type *SrcTy = I.getOperand(0)->getType(); local 887 Assert1(SrcTy->isIntOrIntVectorTy(), "ZExt only operates on integer", &I); 889 Assert1(SrcTy->isVectorTy() == DestTy->isVectorTy(), 891 unsigned SrcBitSize = SrcTy->getScalarSizeInBits(); 901 Type *SrcTy = I.getOperand(0)->getType(); 905 unsigned SrcBitSize = SrcTy 936 Type *SrcTy = I.getOperand(0)->getType(); local 977 Type *SrcTy = I.getOperand(0)->getType(); local 1000 Type *SrcTy = I.getOperand(0)->getType(); local 1023 Type *SrcTy = I.getOperand(0)->getType(); local 1046 Type *SrcTy = I.getOperand(0)->getType(); local 1068 Type *SrcTy = I.getOperand(0)->getType(); local 1088 Type *SrcTy = I.getOperand(0)->getType(); local [all...] |
H A D | Instructions.cpp | 2054 Type* SrcTy = getOperand(0)->getType(); 2056 if (SrcTy == DstTy) 2060 if (SrcTy->isPointerTy()) 2074 Type *SrcTy, 2096 SrcTy->getScalarSizeInBits(); 2108 /// * %F = firstOpcode SrcTy %x to MidTy 2111 /// * %Replacement = resultOpcode %SrcTy %x to DstTy 2115 Type *SrcTy, Type *MidTy, Type *DstTy, Type *IntPtrTy) { 2171 bool chainedBitcast = (SrcTy == DstTy && isFirstBitcast && isSecondBitcast); 2174 if ((isFirstBitcast && isa<VectorType>(SrcTy) ! 2073 isNoopCast(Instruction::CastOps Opcode, Type *SrcTy, Type *DestTy, Type *IntPtrTy) argument 2113 isEliminableCastPair( Instruction::CastOps firstOp, Instruction::CastOps secondOp, Type *SrcTy, Type *MidTy, Type *DstTy, Type *IntPtrTy) argument 2448 isCastable(Type *SrcTy, Type *DestTy) argument 2519 Type *SrcTy = Src->getType(); local 2620 Type *SrcTy = S->getType(); local [all...] |
H A D | ConstantFold.cpp | 85 Type *SrcTy = Op->getOperand(0)->getType(); local 91 return CastInst::isEliminableCastPair(firstOp, secondOp, SrcTy, MidTy, DstTy, 96 Type *SrcTy = V->getType(); local 97 if (SrcTy == DestTy) 134 if (VectorType *SrcTy = dyn_cast<VectorType>(V->getType())) { 135 assert(DestPTy->getBitWidth() == SrcTy->getBitWidth() && 137 SrcTy = NULL;
|
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 235 Type *SrcTy = CI->getOperand(0)->getType(); // A from above local 242 unsigned Res = CastInst::isEliminableCastPair(firstOp, secondOp, SrcTy, MidTy, 249 (!TD || SrcTy != TD->getIntPtrType(CI->getContext()))) || 437 Type *DestTy = CI.getType(), *SrcTy = Src->getType(); local 443 if ((DestTy->isVectorTy() || ShouldChangeType(SrcTy, DestTy)) && 754 Type *SrcTy = Src->getType(), *DestTy = CI.getType(); local 761 if ((DestTy->isVectorTy() || ShouldChangeType(SrcTy, DestTy)) && 763 assert(BitsToClear < SrcTy->getScalarSizeInBits() && 772 uint32_t SrcBitsKept = SrcTy->getScalarSizeInBits()-BitsToClear; 1055 Type *SrcTy local 1187 Type *SrcTy = OpI->getType(); local 1397 VectorType *SrcTy = cast<VectorType>(InVal->getType()); local 1642 Type *SrcTy = Src->getType(); local [all...] |
H A D | InstCombineLoadStoreAlloca.cpp | 306 if (PointerType *SrcTy = dyn_cast<PointerType>(CastOp->getType())) { 309 if (DestTy->getAddressSpace() != SrcTy->getAddressSpace()) 312 Type *SrcPTy = SrcTy->getElementType(); 326 SrcTy = cast<PointerType>(CastOp->getType()); 327 SrcPTy = SrcTy->getElementType(); 471 PointerType *SrcTy = dyn_cast<PointerType>(CastOp->getType()); local 472 if (SrcTy == 0) return 0; 474 Type *SrcPTy = SrcTy->getElementType(); 507 SrcTy = PointerType::get(SrcPTy, SrcTy [all...] |
H A D | InstCombineAndOrXor.cpp | 1212 Type *SrcTy = Op0C->getOperand(0)->getType(); local 1214 SrcTy == Op1C->getOperand(0)->getType() && 1215 SrcTy->isIntOrIntVectorTy()) { 1989 Type *SrcTy = Op0C->getOperand(0)->getType(); local 1990 if (SrcTy == Op1C->getOperand(0)->getType() && 1991 SrcTy->isIntOrIntVectorTy()) { 2270 Type *SrcTy = Op0C->getOperand(0)->getType(); local 2271 if (SrcTy == Op1C->getOperand(0)->getType() && SrcTy->isIntegerTy() &&
|
H A D | InstCombineCalls.cpp | 768 Type* SrcTy = 771 if (!SrcTy->isSized() || !DstTy->isSized()) 773 if (!TD || TD->getTypeAllocSize(SrcTy) != TD->getTypeAllocSize(DstTy))
|
H A D | InstructionCombining.cpp | 578 VectorType *SrcTy = dyn_cast<VectorType>(BC->getSrcTy()); local 581 if ((SrcTy == NULL) != (DestTy == NULL)) return 0; 583 if (SrcTy && SrcTy->getNumElements() != DestTy->getNumElements())
|
H A D | InstCombineCompares.cpp | 1548 Type *SrcTy = LHSCIOp->getType(); local 1559 RHSOp = ConstantExpr::getIntToPtr(RHSC, SrcTy); 1609 // Compute the constant that would happen if we truncated to SrcTy then 1611 Constant *Res1 = ConstantExpr::getTrunc(CI, SrcTy); 1643 Constant *NegOne = Constant::getAllOnesValue(SrcTy);
|
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/Transforms/Utils/ |
H A D | ValueMapper.h | 34 virtual Type *remapType(Type *SrcTy) = 0;
|
/macosx-10.10.1/llvmCore-3425.0.34/lib/ExecutionEngine/Interpreter/ |
H A D | Execution.cpp | 991 Type *SrcTy = SrcVal->getType(); 994 assert(SrcTy->isFloatingPointTy() && "Invalid FPToUI instruction"); 996 if (SrcTy->getTypeID() == Type::FloatTyID) 1005 Type *SrcTy = SrcVal->getType(); 1008 assert(SrcTy->isFloatingPointTy() && "Invalid FPToSI instruction"); 1010 if (SrcTy->getTypeID() == Type::FloatTyID) 1068 Type *SrcTy = SrcVal->getType(); 1071 assert(SrcTy->isPointerTy() && "Invalid BitCast"); 1074 if (SrcTy->isFloatTy()) { 1076 } else if (SrcTy [all...] |
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/ |
H A D | InstrTypes.h | 533 Type *SrcTy, ///< The Type from which the value should be cast. 572 Type *SrcTy, ///< SrcTy of cast 586 /// the pair, casting SrcTy to DstTy. 591 Type *SrcTy, ///< SrcTy of 1st cast 592 Type *MidTy, ///< DstTy of 1st cast & SrcTy of 2nd cast
|
/macosx-10.10.1/llvmCore-3425.0.34/lib/Analysis/ |
H A D | ScalarEvolution.cpp | 2773 Type *SrcTy = V->getType(); 2774 assert((SrcTy->isIntegerTy() || SrcTy->isPointerTy()) && 2777 if (getTypeSizeInBits(SrcTy) == getTypeSizeInBits(Ty)) 2779 if (getTypeSizeInBits(SrcTy) > getTypeSizeInBits(Ty)) 2790 Type *SrcTy = V->getType(); 2791 assert((SrcTy->isIntegerTy() || SrcTy->isPointerTy()) && 2794 if (getTypeSizeInBits(SrcTy) == getTypeSizeInBits(Ty)) 2796 if (getTypeSizeInBits(SrcTy) > getTypeSizeInBit [all...] |
H A D | ValueTracking.cpp | 422 Type *SrcTy = I->getOperand(0)->getType(); local 427 if (SrcTy->isPointerTy()) 428 SrcBitWidth = TD->getTypeSizeInBits(SrcTy); 430 SrcBitWidth = SrcTy->getScalarSizeInBits(); 443 Type *SrcTy = I->getOperand(0)->getType(); local 444 if ((SrcTy->isIntegerTy() || SrcTy->isPointerTy()) &&
|
H A D | InstructionSimplify.cpp | 1874 Type *SrcTy = SrcOp->getType(); local 1884 ConstantExpr::getIntToPtr(RHSC, SrcTy), 1888 if (RI->getOperand(0)->getType() == SrcTy) 1900 if (MaxRecurse && SrcTy == RI->getOperand(0)->getType()) 1910 // Compute the constant that would happen if we truncated to SrcTy then 1912 Constant *Trunc = ConstantExpr::getTrunc(CI, SrcTy); 1960 if (MaxRecurse && SrcTy == RI->getOperand(0)->getType()) 1969 // Compute the constant that would happen if we truncated to SrcTy then 1971 Constant *Trunc = ConstantExpr::getTrunc(CI, SrcTy); 2010 Constant::getNullValue(SrcTy), [all...] |
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/Scalar/ |
H A D | LoopStrengthReduce.cpp | 1701 Type *SrcTy = PH->getType(); local 1704 if ((int)SE.getTypeSizeInBits(SrcTy) > Mantissa) 3406 Type *SrcTy = *I; local 3407 if (SrcTy != DstTy && TLI->isTruncateFree(SrcTy, DstTy)) { 3413 *J = SE.getAnyExtendExpr(*J, SrcTy);
|
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/CodeGen/ |
H A D | SelectionDAG.h | 515 /// value assuming it was the smaller SrcTy value. 516 SDValue getZeroExtendInReg(SDValue Op, DebugLoc DL, EVT SrcTy);
|
/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/ARM/ |
H A D | ARMFastISel.cpp | 2620 Type *SrcTy = Src->getType(); local 2623 SrcVT = TLI.getValueType(SrcTy, true);
|
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/Vectorize/ |
H A D | BBVectorize.cpp | 633 Type *SrcTy = C->getSrcTy(); 634 if (!SrcTy->isSingleValueType())
|