HomeSort by: relevance | last modified time | path
    Searched defs:DstTy (Results 1 - 25 of 38) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
BDCE.cpp 120 auto *const DstTy = SE->getDestTy();
121 const uint32_t DestBitSize = DstTy->getScalarSizeInBits();
126 Builder.CreateZExt(SE->getOperand(0), DstTy, SE->getName()));
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/AggressiveInstCombine/
TruncInstCombine.cpp 154 Type *DstTy = CurrentTruncInst->getType();
155 unsigned TruncBitWidth = DstTy->getScalarSizeInBits();
220 if (DstTy->isVectorTy())
223 Type *Ty = DL.getSmallestLegalIntType(DstTy->getContext(), MinBitWidth);
234 if (!DstTy->isVectorTy() && FromLegal && !ToLegal)
382 Type *DstTy = CurrentTruncInst->getType();
383 if (Res->getType() != DstTy) {
385 Res = Builder.CreateIntCast(Res, DstTy, false);
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
GISelKnownBits.cpp 121 LLT DstTy = MRI.getType(R);
127 if (!DstTy.isValid()) {
132 unsigned BitWidth = DstTy.getScalarSizeInBits();
263 if (DstTy.isVector())
353 if (DstTy.isVector())
355 if (TL.getBooleanContents(DstTy.isVector(),
392 if (DstTy.isVector())
427 if (DstTy.isVector())
467 if (DstTy.isVector())
533 LLT DstTy = MRI.getType(R)
    [all...]
CallLowering.cpp 484 LLT DstTy = MRI.getType(DstRegs[0]);
488 const unsigned DstSize = DstTy.getSizeInBits();
506 UnmergeResults.push_back(MRI.createGenericVirtualRegister(DstTy));
1122 static bool isCopyCompatibleType(LLT SrcTy, LLT DstTy) {
1123 if (SrcTy == DstTy)
1126 if (SrcTy.getSizeInBits() != DstTy.getSizeInBits())
1130 DstTy = DstTy.getScalarType();
1132 return (SrcTy.isPointer() && DstTy.isScalar()) ||
1133 (DstTy.isScalar() && SrcTy.isPointer())
    [all...]
Utils.cpp 388 auto DstTy = MRI.getType(DefMI->getOperand(0).getReg());
389 if (!DstTy.isValid())
MachineIRBuilder.cpp 318 LLT DstTy = Res.getLLTTy(*getMRI());
321 ConstantFP::get(Ctx, getAPFloatFromSize(Val, DstTy.getScalarSizeInBits()));
501 LLT DstTy = Dst.getLLTTy(*getMRI());
502 if (SrcTy == DstTy)
506 if (SrcTy.isPointer() && DstTy.isScalar())
508 else if (DstTy.isPointer() && SrcTy.isScalar())
511 assert(!SrcTy.isPointer() && !DstTy.isPointer() && "n G_ADDRCAST yet");
522 LLT DstTy = Dst.getLLTTy(*getMRI());
526 assert(DstTy.isValid() && "invalid operand type");
527 assert(Index + DstTy.getSizeInBits() <= SrcTy.getSizeInBits() &
    [all...]
IRTranslator.cpp 2192 LLT DstTy = MRI->getType(Dst);
2194 Opc, {DstTy}, {VecSrc}, MachineInstr::copyFlagsFromInstruction(CI));
  /src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/GISel/
AArch64PostLegalizerCombiner.cpp 55 LLT DstTy = MRI.getType(MI.getOperand(0).getReg());
68 unsigned DstSize = DstTy.getSizeInBits();
86 std::get<1>(MatchInfo) = DstTy;
AArch64LegalizerInfo.cpp 424 LLT DstTy = Query.Types[0];
426 return DstTy == v8s8 && SrcTy.getSizeInBits() > 128;
663 const LLT &DstTy = Query.Types[0];
667 if (DstTy != SrcTy)
670 if (DstTy == Ty)
823 LLT DstTy = MRI.getType(DstReg);
825 assert(isPowerOf2_32(DstTy.getSizeInBits()) &&
835 LLT InterTy = SplitSrcTy.changeElementSize(DstTy.getScalarSizeInBits() * 2);
840 DstTy.changeElementSize(DstTy.getScalarSizeInBits() * 2), SplitSrcs)
    [all...]
AArch64PostLegalizerLowering.cpp 649 const LLT DstTy = MRI.getType(MI.getOperand(0).getReg());
659 if (DstTy != SrcTy)
858 LLT DstTy = MRI.getType(LHS);
859 assert(DstTy.isVector() && "Expected vector types only?");
860 assert(DstTy == MRI.getType(RHS) && "Src and Dst types must match!");
865 return [LHS, RHS, IsZero, DstTy](MachineIRBuilder &MIB) {
867 ? MIB.buildInstr(AArch64::G_FCMEQZ, {DstTy}, {LHS})
868 : MIB.buildInstr(AArch64::G_FCMEQ, {DstTy}, {LHS, RHS});
869 return MIB.buildNot(DstTy, FCmp).getReg(0);
872 return [LHS, RHS, IsZero, DstTy](MachineIRBuilder &MIB)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
MipsLegalizerInfo.cpp 423 LLT DstTy = MRI.getType(Dst);
428 if (DstTy != s32 && DstTy != s64)
444 if (DstTy == s64)
  /src/sys/external/bsd/compiler_rt/dist/lib/ubsan/
ubsan_handlers.cc 463 const TypeDescriptor &DstTy = Data->ToType;
466 bool DstSigned = DstTy.isSignedIntegerTy();
505 << (SrcSigned ? "" : "un") << DstTy << Value(DstTy, Dst)
506 << DstTy.getIntegerBitWidth() << (DstSigned ? "" : "un");
  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/
LegalizationArtifactCombiner.h 86 const LLT DstTy = MRI.getType(DstReg);
87 if (isInstLegal({TargetOpcode::G_CONSTANT, {DstTy}})) {
90 DstReg, CstVal.getCImm()->getValue().sext(DstTy.getSizeInBits()));
115 LLT DstTy = MRI.getType(DstReg);
116 if (isInstUnsupported({TargetOpcode::G_AND, {DstTy}}) ||
117 isConstantUnsupported(DstTy))
123 DstTy, MaskVal.zext(DstTy.getScalarSizeInBits()));
124 auto Extended = SextSrc ? Builder.buildSExtOrTrunc(DstTy, SextSrc) :
125 Builder.buildAnyExtOrTrunc(DstTy, TruncSrc)
    [all...]
  /src/external/gpl3/gcc/dist/libsanitizer/ubsan/
ubsan_handlers.cpp 561 const TypeDescriptor &DstTy = Data->ToType;
564 bool DstSigned = DstTy.isSignedIntegerTy();
603 << (SrcSigned ? "" : "un") << DstTy << Value(DstTy, Dst)
604 << DstTy.getIntegerBitWidth() << (DstSigned ? "" : "un");
  /src/external/gpl3/gcc.old/dist/libsanitizer/ubsan/
ubsan_handlers.cpp 561 const TypeDescriptor &DstTy = Data->ToType;
564 bool DstSigned = DstTy.isSignedIntegerTy();
603 << (SrcSigned ? "" : "un") << DstTy << Value(DstTy, Dst)
604 << DstTy.getIntegerBitWidth() << (DstSigned ? "" : "un");
  /src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
AArch64TargetTransformInfo.cpp 511 bool AArch64TTIImpl::isWideningInstruction(Type *DstTy, unsigned Opcode,
518 cast<VectorType>(DstTy)->getElementCount());
521 // Exit early if DstTy is not a vector type whose elements are at least
523 if (!DstTy->isVectorTy() || DstTy->getScalarSizeInBits() < 16)
553 auto DstTyL = TLI->getTypeLegalizationCost(DL, DstTy);
555 if (!DstTyL.second.isVector() || DstElTySize != DstTy->getScalarSizeInBits())
613 EVT DstTy = TLI->getValueType(DL, Dst);
615 if (!SrcTy.isSimple() || !DstTy.isSimple())
845 DstTy.getSimpleVT()
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86InstructionSelector.cpp 716 const LLT DstTy = MRI.getType(DstReg);
728 const TargetRegisterClass *DstRC = getRegClass(DstTy, DstRB);
780 const LLT DstTy = MRI.getType(DstReg);
783 assert(!(SrcTy == LLT::scalar(8) && DstTy == LLT::scalar(16)) &&
785 assert(!(SrcTy == LLT::scalar(8) && DstTy == LLT::scalar(32)) &&
787 assert(!(SrcTy == LLT::scalar(16) && DstTy == LLT::scalar(32)) &&
789 assert(!(SrcTy == LLT::scalar(8) && DstTy == LLT::scalar(64)) &&
791 assert(!(SrcTy == LLT::scalar(16) && DstTy == LLT::scalar(64)) &&
793 assert(!(SrcTy == LLT::scalar(32) && DstTy == LLT::scalar(64)) &&
800 if (DstTy == LLT::scalar(8)
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGCall.cpp 1322 llvm::Type *DstTy = Dst.getElementType();
1323 if (SrcTy == DstTy) {
1330 if (llvm::StructType *DstSTy = dyn_cast<llvm::StructType>(DstTy)) {
1333 DstTy = Dst.getElementType();
1337 llvm::PointerType *DstPtrTy = llvm::dyn_cast<llvm::PointerType>(DstTy);
1340 Src = CGF.Builder.CreatePointerBitCastOrAddrSpaceCast(Src, DstTy);
1348 (isa<llvm::IntegerType>(DstTy) || isa<llvm::PointerType>(DstTy))) {
1349 Src = CoerceIntOrPtrToIntOrPtr(Src, DstTy, CGF);
1354 llvm::TypeSize DstSize = CGF.CGM.getDataLayout().getTypeAllocSize(DstTy);
    [all...]
CGExprCXX.cpp 106 QualType DstTy = DtorDecl->getThisType();
107 llvm::Type *NewType = CGM.getTypes().ConvertType(DstTy);
  /src/external/apache2/llvm/dist/llvm/lib/Linker/
IRMover.cpp 57 void addTypeMapping(Type *DstTy, Type *SrcTy);
77 bool areTypesIsomorphic(Type *DstTy, Type *SrcTy);
81 void TypeMapTy::addTypeMapping(Type *DstTy, Type *SrcTy) {
87 if (!areTypesIsomorphic(DstTy, SrcTy)) {
98 // SrcTy and DstTy are recursively ismorphic. We clear names of SrcTy
115 bool TypeMapTy::areTypesIsomorphic(Type *DstTy, Type *SrcTy) {
117 if (DstTy->getTypeID() != SrcTy->getTypeID())
123 return Entry == DstTy;
127 if (DstTy == SrcTy) {
128 Entry = DstTy;
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
ARMTargetTransformInfo.cpp 418 EVT DstTy = TLI->getValueType(DL, Dst);
420 if (!SrcTy.isSimple() || !DstTy.isSimple())
432 IsLegalFPType(SrcTy) && IsLegalFPType(DstTy)))
433 if (CCH == TTI::CastContextHint::Masked && DstTy.getSizeInBits() > 128)
434 return 2 * DstTy.getVectorNumElements() *
455 LoadConversionTbl, ISD, DstTy.getSimpleVT(), SrcTy.getSimpleVT()))
478 DstTy.getSimpleVT(), SrcTy.getSimpleVT()))
490 DstTy.getSimpleVT(), SrcTy.getSimpleVT()))
507 SrcTy.getSimpleVT(), DstTy.getSimpleVT()))
518 SrcTy.getSimpleVT(), DstTy.getSimpleVT())
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
NVPTXAsmPrinter.cpp 2004 PointerType *DstTy = cast<PointerType>(CE->getType());
2005 if (DstTy->getAddressSpace() == 0) {
  /src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
PPCFastISel.cpp 1063 Type *DstTy = I->getType();
1064 if (!isTypeLegal(DstTy, DstVT))
1188 Type *DstTy = I->getType();
1189 if (!isTypeLegal(DstTy, DstVT))
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
DependenceAnalysis.cpp 825 IntegerType *DstTy = dyn_cast<IntegerType>(Dst->getType());
826 if (SrcTy == nullptr || DstTy == nullptr) {
827 assert(SrcTy == DstTy && "This function only unify integer types and "
836 if (DstTy->getBitWidth() > widestWidthSeen) {
837 widestWidthSeen = DstTy->getBitWidth();
838 widestType = DstTy;
850 IntegerType *DstTy = dyn_cast<IntegerType>(Dst->getType());
851 if (SrcTy == nullptr || DstTy == nullptr) {
852 assert(SrcTy == DstTy && "This function only unify integer types and "
860 if (DstTy->getBitWidth() < widestWidthSeen)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
MachineVerifier.cpp 990 LLT DstTy = MRI->getType(MI->getOperand(0).getReg());
991 if (DstTy.isVector())
1001 if (CI->getBitWidth() != DstTy.getSizeInBits())
1011 DstTy.getSizeInBits()) {
1050 LLT DstTy = MRI->getType(MI->getOperand(0).getReg());
1051 if (!DstTy.isValid() || !all_of(drop_begin(MI->operands()),
1052 [this, &DstTy](const MachineOperand &MO) {
1056 if (!Ty.isValid() || (Ty != DstTy))
1066 LLT DstTy = MRI->getType(MI->getOperand(0).getReg());
1068 if (!DstTy.isValid() || !SrcTy.isValid()
    [all...]

Completed in 169 milliseconds

1 2