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

1 2

  /external/llvm/lib/IR/
Verifier.cpp 328 void VerifyBitcastType(const Value *V, Type *DestTy, Type *SrcTy);
    [all...]
Instructions.cpp     [all...]
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...]
  /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/InstCombine/
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...]
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...]
InstCombineAndOrXor.cpp     [all...]
InstCombineCalls.cpp 776 Type* SrcTy =
779 if (!SrcTy->isSized() || !DstTy->isSized())
781 if (!TD || TD->getTypeAllocSize(SrcTy) != TD->getTypeAllocSize(DstTy))
    [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/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...]
  /external/llvm/lib/Analysis/
CostModel.cpp 183 Type *SrcTy = I->getOperand(0)->getType();
184 return TTI->getCastInstrCost(I->getOpcode(), I->getType(), SrcTy);
ScalarEvolution.cpp     [all...]
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/clang/lib/CodeGen/
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...]
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...]
MicrosoftCXXABI.cpp     [all...]
CGObjC.cpp     [all...]
CGObjCMac.cpp     [all...]
CGExprCXX.cpp     [all...]
  /external/llvm/include/llvm/IR/
InstrTypes.h 530 Type *SrcTy, ///< The Type from which the value should be cast.
536 Type *SrcTy, ///< The Type from which the value should be cast.
575 Type *SrcTy, ///< SrcTy of cast
589 /// the pair, casting SrcTy to DstTy.
594 Type *SrcTy, ///< SrcTy of 1st cast
595 Type *MidTy, ///< DstTy of 1st cast & SrcTy of 2nd cast
597 Type *SrcIntPtrTy, ///< Integer type corresponding to Ptr SrcTy, or null
    [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/clang/lib/Sema/
SemaCast.cpp     [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...]

Completed in 1961 milliseconds

1 2