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

1 2

  /src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/GISel/
AArch64RegisterBankInfo.cpp 458 LLT OpTy = MRI.getType(MI.getOperand(Idx).getReg());
461 RBIdx, OpTy.getSizeInBits()) ==
464 bool OpIsFPR = OpTy.isVector() || isPreISelGenericFloatingPointOpcode(Opc);
  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
FixedPointBuilder.h 175 Type *OpTy = getAccommodatingFloatType(DstTy, SrcSema);
178 Result = SrcSema.isSigned() ? B.CreateSIToFP(Src, OpTy)
179 : B.CreateUIToFP(Src, OpTy);
183 ConstantFP::get(OpTy, std::pow(2, -(int)SrcSema.getScale())));
184 if (OpTy != DstTy)
192 Type *OpTy = getAccommodatingFloatType(Src->getType(), DstSema);
193 if (OpTy != Src->getType())
194 Result = B.CreateFPExt(Result, OpTy);
198 ConstantFP::get(OpTy, std::pow(2, DstSema.getScale())));
204 Result = B.CreateIntrinsic(IID, {ResultTy, OpTy}, {Result})
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86PartialReduction.cpp 214 auto *OpTy = cast<FixedVectorType>(Op->getType());
215 unsigned NumElts = OpTy->getNumElements();
278 NumElts = cast<FixedVectorType>(OpTy)->getNumElements();
X86InstCombineIntrinsic.cpp 540 Type *OpTy = Op1->getType();
542 RetTy->getStructElementType(1) == OpTy && OpTy == Op2->getType() &&
547 Value *UAdd = Builder.CreateIntrinsic(Intrinsic::uadd_with_overflow, OpTy,
X86TargetTransformInfo.cpp 2785 Type *OpTy = RetTy;
2845 OpTy = RetTy->getContainedType(0);
2851 OpTy = RetTy->getContainedType(0);
2857 OpTy = RetTy->getContainedType(0);
2863 std::pair<InstructionCost, MVT> LT = TLI->getTypeLegalizationCost(DL, OpTy);
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
InlineAsmLowering.cpp 310 Type *OpTy = OpInfo.CallOperandVal->getType();
315 PointerType *PtrTy = dyn_cast<PointerType>(OpTy);
318 OpTy = PtrTy->getElementType();
322 if (!OpTy->isSingleValueType()) {
328 OpInfo.ConstraintVT = TLI->getValueType(DL, OpTy, true).getSimpleVT();
MachineIRBuilder.cpp 557 LLT OpTy = getMRI()->getType(Ops[0]);
558 unsigned OpSize = OpTy.getSizeInBits();
561 if (getMRI()->getType(Ops[i]) != OpTy || Indices[i] != i * OpSize) {
  /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
HexagonISelLoweringHVX.cpp 458 MVT OpTy = ty(Op0);
459 assert(OpTy == ty(Op1));
461 MVT ElemTy = OpTy.getVectorElementType();
463 return DAG.getVectorShuffle(OpTy, dl, Op0, Op1, Mask);
466 MVT ResTy = tyVector(OpTy, MVT::i8);
1688 MVT OpTy = ty(Vs);
1689 if (isHvxBoolTy(ResTy) && isHvxBoolTy(OpTy)) {
1690 if (ResTy == OpTy)
1979 MVT OpTy = ty(Op0);
1980 if (!Subtarget.isHVXElementType(OpTy) || !Subtarget.isHVXElementType(ResTy)
    [all...]
HexagonISelDAGToDAG.cpp 834 MVT OpTy = Op.getValueType().getSimpleVT();
836 CurDAG->getVTList(OpTy), {Op});
860 MVT OpTy = N->getOperand(0).getValueType().getSimpleVT(); (void)OpTy;
861 assert(HST->getVectorLength() * 8 == OpTy.getSizeInBits());
HexagonISelLowering.cpp 1037 MVT OpTy = ty(LHS);
1039 if (OpTy == MVT::v2i16 || OpTy == MVT::v4i8) {
1040 MVT ElemTy = OpTy.getVectorElementType();
1043 OpTy.getVectorNumElements());
1078 if (OpTy == MVT::i8 || OpTy == MVT::i16) {
1094 MVT OpTy = ty(Op1);
1097 if (OpTy == MVT::v2i16 || OpTy == MVT::v4i8)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/
SystemZTargetTransformInfo.cpp 678 Type *OpTy = nullptr;
680 OpTy = CI->getOperand(0)->getType();
685 OpTy = CI0->getOperand(0)->getType();
687 if (OpTy != nullptr) {
689 assert (!OpTy->isVectorTy() && "Expected scalar type");
690 return OpTy;
694 Type *ElTy = OpTy->getScalarType();
  /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
TargetTransformInfoImpl.h 938 Type *OpTy =
1013 Opcode, Ty, OpTy, TTI::getCastContextHint(I), CostKind, I);
  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
BasicTTIImpl.h 1691 Type *OpTy = StructType::create({RetTy, CondTy});
1699 IntrinsicCostAttributes Attrs(OverflowOp, OpTy, {RetTy, RetTy}, FMF,
1714 Type *OpTy = StructType::create({RetTy, CondTy});
1720 IntrinsicCostAttributes Attrs(OverflowOp, OpTy, {RetTy, RetTy}, FMF,
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/MCTargetDesc/
AMDGPUInstPrinter.cpp 604 const uint8_t OpTy = Desc.OpInfo[OpNo].OperandType;
605 switch (OpTy) {
645 if (OpTy == AMDGPU::OPERAND_REG_IMM_V2FP16) {
  /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
ARMTargetTransformInfo.cpp 233 Type *OpTy = OpX->getType();
237 IC.Builder.CreateIntrinsic(Intrinsic::arm_mve_vmldava, {OpTy},
ARMFastISel.cpp 1579 Type *OpTy = I->getOperand(0)->getType();
1580 if (OpTy->isFloatTy()) Opc = isSigned ? ARM::VTOSIZS : ARM::VTOUIZS;
1581 else if (OpTy->isDoubleTy() && Subtarget->hasFP64())
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
ScalarEvolutionExpander.cpp 1730 Type *OpTy = S->getOperand(i)->getType();
1731 if (OpTy->isIntegerTy() != Ty->isIntegerTy()) {
1759 Type *OpTy = S->getOperand(i)->getType();
1760 if (OpTy->isIntegerTy() != Ty->isIntegerTy()) {
1788 Type *OpTy = S->getOperand(i)->getType();
1789 if (OpTy->isIntegerTy() != Ty->isIntegerTy()) {
1817 Type *OpTy = S->getOperand(i)->getType();
1818 if (OpTy->isIntegerTy() != Ty->isIntegerTy()) {
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
MachineVerifier.cpp 916 LLT OpTy = MRI->getType(MO->getReg());
919 if (OpTy.isValid()) {
923 Types[TypeIdx] = OpTy;
924 else if (Types[TypeIdx] != OpTy)
925 report("Type mismatch in generic instruction", MO, I, OpTy);
  /src/external/apache2/llvm/dist/llvm/lib/IR/
AutoUpgrade.cpp 2085 Type *OpTy = CI->getArgOperand(0)->getType();
2086 unsigned VecWidth = OpTy->getPrimitiveSizeInBits();
2099 Type *OpTy = CI->getArgOperand(0)->getType();
2100 unsigned VecWidth = OpTy->getPrimitiveSizeInBits();
2101 unsigned EltWidth = OpTy->getScalarSizeInBits();
2124 Type *OpTy = Args[0]->getType();
2125 unsigned VecWidth = OpTy->getPrimitiveSizeInBits();
2126 unsigned EltWidth = OpTy->getScalarSizeInBits();
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
AMDGPURegisterBankInfo.cpp 839 LLT OpTy = MRI.getType(OpReg);
845 OpReg = B.buildCopy(OpTy, OpReg).getReg(0);
850 unsigned OpSize = OpTy.getSizeInBits();
857 MRI.setType(CurrentLaneOpReg, OpTy);
939 if (OpTy.getScalarSizeInBits() == 64) {
984 if (OpTy.isVector()) {
985 auto Merge = B.buildBuildVector(OpTy, ReadlanePieces);
988 auto Merge = B.buildMerge(OpTy, ReadlanePieces);
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
InstructionSimplify.cpp 2614 Type *OpTy = LHS->getType(); // The operand type.
2615 if (!OpTy->isIntOrIntVectorTy(1))
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombineCompares.cpp 3417 Type *OpTy = M->getType();
3419 auto *OpVTy = dyn_cast<FixedVectorType>(OpTy);
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGExprScalar.cpp 1873 auto *OpTy = cast<llvm::FixedVectorType>(SVOp->getType());
1875 if (OpTy->getNumElements() == ResElts) {
3293 llvm::Type *opTy = CGF.CGM.getTypes().ConvertType(Ops.Ty);
3295 llvm::Function *intrinsic = CGF.CGM.getIntrinsic(IID, opTy);
3348 Builder.getInt8(cast<llvm::IntegerType>(opTy)->getBitWidth())
3354 handlerResult = Builder.CreateTrunc(handlerResult, opTy);
3358 llvm::PHINode *phi = Builder.CreatePHI(opTy, 2);
  /src/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/
BitcodeReader.cpp 2374 VectorType *OpTy;
2401 VectorType *OpTy = DelayedShuffle.OpTy;
2407 Constant *Op0 = ValueList.getConstantFwdRef(Op0Idx, OpTy);
2408 Constant *Op1 = ValueList.getConstantFwdRef(Op1Idx, OpTy);
2651 case bitc::CST_CODE_CE_CAST: { // CE_CAST: [opcode, opty, opval]
2658 Type *OpTy = getTypeByID(Record[1]);
2659 if (!OpTy)
2661 Constant *Op = ValueList.getConstantFwdRef(Record[2], OpTy);
2734 : { // CE_EXTRACTELT: [opty, opval, opty, opval
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
LegalizeIntegerTypes.cpp 1756 EVT OpTy = N->getOperand(1).getValueType();
1764 EVT OpVT = N->getOpcode() == ISD::SELECT ? OpTy.getScalarType() : OpTy;

Completed in 86 milliseconds

1 2