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

1 2

  /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/llvm/lib/VMCore/
Verifier.cpp     [all...]
Instructions.cpp     [all...]
ConstantFold.cpp 85 Type *SrcTy = Op->getOperand(0)->getType();
91 return CastInst::isEliminableCastPair(firstOp, secondOp, SrcTy, MidTy, DstTy,
96 Type *SrcTy = V->getType();
97 if (SrcTy == DestTy)
134 if (VectorType *SrcTy = dyn_cast<VectorType>(V->getType())) {
135 assert(DestPTy->getBitWidth() == SrcTy->getBitWidth() &&
137 SrcTy = NULL;
    [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineCasts.cpp 235 Type *SrcTy = CI->getOperand(0)->getType(); // A from above
242 unsigned Res = CastInst::isEliminableCastPair(firstOp, secondOp, SrcTy, MidTy,
249 (!TD || SrcTy != TD->getIntPtrType(CI->getContext()))) ||
437 Type *DestTy = CI.getType(), *SrcTy = Src->getType();
443 if ((DestTy->isVectorTy() || ShouldChangeType(SrcTy, DestTy)) &&
754 Type *SrcTy = Src->getType(), *DestTy = CI.getType();
761 if ((DestTy->isVectorTy() || ShouldChangeType(SrcTy, DestTy)) &&
763 assert(BitsToClear < SrcTy->getScalarSizeInBits() &&
772 uint32_t SrcBitsKept = SrcTy->getScalarSizeInBits()-BitsToClear;
    [all...]
InstCombineLoadStoreAlloca.cpp 300 if (PointerType *SrcTy = dyn_cast<PointerType>(CastOp->getType())) {
303 if (DestTy->getAddressSpace() != SrcTy->getAddressSpace())
306 Type *SrcPTy = SrcTy->getElementType();
320 SrcTy = cast<PointerType>(CastOp->getType());
321 SrcPTy = SrcTy->getElementType();
465 PointerType *SrcTy = dyn_cast<PointerType>(CastOp->getType());
466 if (SrcTy == 0) return 0;
468 Type *SrcPTy = SrcTy->getElementType();
501 SrcTy = PointerType::get(SrcPTy, SrcTy->getAddressSpace())
    [all...]
InstCombineAndOrXor.cpp     [all...]
InstCombineCalls.cpp 745 Type* SrcTy =
748 if (!SrcTy->isSized() || !DstTy->isSized())
750 if (!TD || TD->getTypeAllocSize(SrcTy) != TD->getTypeAllocSize(DstTy))
    [all...]
InstructionCombining.cpp 578 VectorType *SrcTy = dyn_cast<VectorType>(BC->getSrcTy());
581 if ((SrcTy == NULL) != (DestTy == NULL)) return 0;
583 if (SrcTy && SrcTy->getNumElements() != DestTy->getNumElements())
    [all...]
InstCombineCompares.cpp     [all...]
  /external/llvm/include/llvm/Transforms/Utils/
ValueMapper.h 34 virtual Type *remapType(Type *SrcTy) = 0;
  /external/llvm/lib/ExecutionEngine/Interpreter/
Execution.cpp     [all...]
  /external/clang/lib/CodeGen/
CGExprScalar.cpp 104 Value *EmitScalarConversion(Value *Src, QualType SrcTy, QualType DstTy);
110 QualType SrcTy, QualType DstTy);
548 llvm::Type *SrcTy = Src->getType();
555 SrcTy = CGF.FloatTy;
565 if (SrcTy == DstTy)
573 if (isa<llvm::PointerType>(SrcTy))
587 if (isa<llvm::PointerType>(SrcTy)) {
613 if (isa<llvm::VectorType>(SrcTy) ||
625 if (isa<llvm::IntegerType>(SrcTy)) {
634 assert(SrcTy->isFloatingPointTy() && "Unknown real conversion")
    [all...]
CGCall.cpp 600 llvm::Type *SrcTy =
602 if (llvm::StructType *SrcSTy = dyn_cast<llvm::StructType>(SrcTy))
649 llvm::Type *SrcTy =
652 // If SrcTy and Ty are the same, just do a load.
653 if (SrcTy == Ty)
658 if (llvm::StructType *SrcSTy = dyn_cast<llvm::StructType>(SrcTy)) {
660 SrcTy = cast<llvm::PointerType>(SrcPtr->getType())->getElementType();
663 uint64_t SrcSize = CGF.CGM.getTargetData().getTypeAllocSize(SrcTy);
668 (isa<llvm::IntegerType>(SrcTy) || isa<llvm::PointerType>(SrcTy))) {
    [all...]
CGObjC.cpp     [all...]
CGExprCXX.cpp     [all...]
CGObjCMac.cpp     [all...]
CGExpr.cpp     [all...]
  /external/clang/lib/Sema/
SemaCast.cpp     [all...]
SemaExpr.cpp     [all...]
  /external/llvm/include/llvm/
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
    [all...]
  /external/llvm/lib/Analysis/
ScalarEvolution.cpp     [all...]
ValueTracking.cpp 422 Type *SrcTy = I->getOperand(0)->getType();
427 if (SrcTy->isPointerTy())
428 SrcBitWidth = TD->getTypeSizeInBits(SrcTy);
430 SrcBitWidth = SrcTy->getScalarSizeInBits();
443 Type *SrcTy = I->getOperand(0)->getType();
444 if ((SrcTy->isIntegerTy() || SrcTy->isPointerTy()) &&
    [all...]
InstructionSimplify.cpp     [all...]
  /external/llvm/lib/Transforms/Scalar/
LoopStrengthReduce.cpp     [all...]

Completed in 790 milliseconds

1 2