| /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
| CmpInstAnalysis.h | 54 Constant *getPredForICmpCode(unsigned Code, bool Sign, Type *OpTy,
|
| TargetTransformInfoImpl.h | 938 Type *OpTy = 1013 Opcode, Ty, OpTy, TTI::getCastContextHint(I), CostKind, I);
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
| PatternMatch.h | 62 template <typename OpTy> bool match(OpTy *V) { 943 template <typename OpTy> bool match(OpTy *V) { 966 template <typename OpTy> bool match(OpTy *V) { 991 template <typename OpTy> bool match(OpTy *V) { 1035 template <typename OpTy> bool match(OpTy *V) [all...] |
| 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/Analysis/ |
| CmpInstAnalysis.cpp | 42 Constant *llvm::getPredForICmpCode(unsigned Code, bool Sign, Type *OpTy, 47 return ConstantInt::get(CmpInst::makeCmpResultType(OpTy), 0); 55 return ConstantInt::get(CmpInst::makeCmpResultType(OpTy), 1);
|
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
| LowerMemIntrinsics.cpp | 98 for (auto OpTy : RemainingOps) { 103 unsigned OperandSize = DL.getTypeStoreSize(OpTy); 108 PointerType *SrcPtrType = PointerType::get(OpTy, SrcAS); 113 OpTy, CastedSrc, ConstantInt::get(TypeOfCopyLen, GepIndex)); 115 RBuilder.CreateAlignedLoad(OpTy, SrcGEP, PartSrcAlign, SrcIsVolatile); 118 PointerType *DstPtrType = PointerType::get(OpTy, DstAS); 123 OpTy, CastedDst, ConstantInt::get(TypeOfCopyLen, GepIndex));
|
| 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/include/llvm/CodeGen/GlobalISel/ |
| MIPatternMatch.h | 243 template <typename OpTy> 244 bool match(const MachineRegisterInfo &MRI, OpTy &&Op) { 267 template <typename OpTy> 268 bool match(const MachineRegisterInfo &MRI, OpTy &&Op) { 390 template <typename OpTy> 391 bool match(const MachineRegisterInfo &MRI, OpTy &&Op) { 478 template <typename OpTy> 479 bool match(const MachineRegisterInfo &MRI, OpTy &&Op) { 526 template <typename OpTy> 527 bool match(const MachineRegisterInfo &MRI, OpTy &&Op) [all...] |
| LegalizationArtifactCombiner.h | 447 LLT OpTy, LLT DestTy) { 478 return !DestTy.isVector() && OpTy.isVector(); 485 const unsigned OpEltSize = OpTy.getElementType().getSizeInBits(); 547 LLT OpTy = MRI.getType(MI.getOperand(NumDefs).getReg()); 564 {TargetOpcode::G_UNMERGE_VALUES, {OpTy, SrcUnmergeSrcTy}}); 606 ConvertOp, OpTy, DestTy)) {
|
| /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/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/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,
|
| /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/Target/AMDGPU/ |
| SIFoldOperands.cpp | 498 Register UseReg, uint8_t OpTy, 514 if (TII->isInlineConstant(*Op, OpTy)) 539 uint8_t OpTy = OpInfo[UseOpIdx].OperandType; 540 if ((OpTy < AMDGPU::OPERAND_REG_INLINE_AC_FIRST || 541 OpTy > AMDGPU::OPERAND_REG_INLINE_AC_LAST) && 542 (OpTy < AMDGPU::OPERAND_REG_INLINE_C_FIRST || 543 OpTy > AMDGPU::OPERAND_REG_INLINE_C_LAST)) 546 if (OpToFold.isImm() && TII->isInlineConstant(OpToFold, OpTy) && 569 if (DefOp.isImm() && TII->isInlineConstant(DefOp, OpTy) && 577 if (!getRegSeqInit(Defs, UseReg, OpTy, TII, MRI) [all...] |
| 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/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...] |
| 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/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/lib/Transforms/Scalar/ |
| LoopStrengthReduce.cpp | 5215 Type *OpTy = LF.OperandValToReplace->getType(); 5220 Ty = OpTy; 5221 else if (SE.getEffectiveSCEVType(Ty) == SE.getEffectiveSCEVType(OpTy)) 5223 Ty = OpTy; 5346 if (ICmpScaledV->getType() != OpTy) { 5349 OpTy, false), 5350 ICmpScaledV, OpTy, "tmp", CI); 5360 Constant *C = ConstantInt::getSigned(SE.getEffectiveSCEVType(OpTy), 5362 if (C->getType() != OpTy) 5364 OpTy, false) [all...] |
| /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/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/utils/TableGen/ |
| GlobalISelEmitter.cpp | 4446 auto OpTy = getInstResultType(DstChild); 4447 if (!OpTy) 4448 return OpTy.takeError(); 4452 InsertPt, *OpTy, TempRegID); 4729 auto OpTy = MVTToLLT(ExtTy.getMachineValueType().SimpleTy); 4730 if (!OpTy) 4735 M.insertAction<MakeTempRegisterAction>(InsertPt, *OpTy, TempRegID);
|
| /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);
|