/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | CmpInstAnalysis.h | 54 Constant *getPredForICmpCode(unsigned Code, bool Sign, Type *OpTy,
|
H A D | TargetTransformInfoImpl.h | 47 unsigned getOperationCost(unsigned Opcode, Type *Ty, Type *OpTy) { argument 57 assert(OpTy && "Cast instructions must provide the operand type"); 58 if (Ty == OpTy || (Ty->isPointerTy() && OpTy->isPointerTy())) 76 unsigned OpSize = OpTy->getScalarSizeInBits(); 89 DestSize >= DL.getPointerTypeSizeInBits(OpTy))
|
H A D | TargetTransformInfo.h | 219 int getOperationCost(unsigned Opcode, Type *Ty, Type *OpTy = nullptr) const; 1178 virtual int getOperationCost(unsigned Opcode, Type *Ty, Type *OpTy) = 0; 1413 int getOperationCost(unsigned Opcode, Type *Ty, Type *OpTy) override { 1414 return Impl.getOperationCost(Opcode, Ty, OpTy);
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | PatternMatch.h | 57 template <typename OpTy> bool match(OpTy *V) { 739 template <typename OpTy> bool match(OpTy *V) { 767 template <typename OpTy> bool match(OpTy *V) { 811 template <typename OpTy> bool match(OpTy *V) { 837 template <typename OpTy> 838 inline FNeg_match<OpTy> [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | CmpInstAnalysis.cpp | 42 Constant *llvm::getPredForICmpCode(unsigned Code, bool Sign, Type *OpTy, argument 47 return ConstantInt::get(CmpInst::makeCmpResultType(OpTy), 0); 55 return ConstantInt::get(CmpInst::makeCmpResultType(OpTy), 1);
|
H A D | ScalarEvolutionExpander.cpp | 1667 Type *OpTy = S->getOperand(i)->getType(); local 1668 if (OpTy->isIntegerTy() != Ty->isIntegerTy()) { 1692 Type *OpTy = S->getOperand(i)->getType(); local 1693 if (OpTy->isIntegerTy() != Ty->isIntegerTy()) { 1717 Type *OpTy = S->getOperand(i)->getType(); local 1718 if (OpTy->isIntegerTy() != Ty->isIntegerTy()) { 1742 Type *OpTy = S->getOperand(i)->getType(); local 1743 if (OpTy->isIntegerTy() != Ty->isIntegerTy()) {
|
H A D | TargetTransformInfo.cpp | 150 Type *OpTy) const { 151 int Cost = TTIImpl->getOperationCost(Opcode, Ty, OpTy);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | LowerMemIntrinsics.cpp | 104 for (auto OpTy : RemainingOps) { 106 unsigned OperandSize = getLoopOperandSizeInBytes(OpTy); 111 PointerType *SrcPtrType = PointerType::get(OpTy, SrcAS); 116 OpTy, CastedSrc, ConstantInt::get(TypeOfCopyLen, GepIndex)); 117 Value *Load = RBuilder.CreateLoad(OpTy, SrcGEP, SrcIsVolatile); 120 PointerType *DstPtrType = PointerType::get(OpTy, DstAS); 125 OpTy, CastedDst, ConstantInt::get(TypeOfCopyLen, GepIndex));
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | MIPatternMatch.h | 178 template <typename OpTy> 179 bool match(const MachineRegisterInfo &MRI, OpTy &&Op) { 246 template <typename OpTy> 247 bool match(const MachineRegisterInfo &MRI, OpTy &&Op) {
|
H A D | LegalizationArtifactCombiner.h | 233 LLT OpTy, LLT DestTy) { 271 const unsigned OpEltSize = OpTy.getElementType().getSizeInBits(); 294 LLT OpTy = MRI.getType(MI.getOperand(NumDefs).getReg()); 307 ConvertOp, OpTy, DestTy)) 232 canFoldMergeOpcode(unsigned MergeOp, unsigned ConvertOp, LLT OpTy, LLT DestTy) argument
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | BasicTTIImpl.h | 414 unsigned getOperationCost(unsigned Opcode, Type *Ty, Type *OpTy) { argument 419 if (TLI->isTruncateFree(OpTy, Ty)) 423 if (TLI->isZExtFree(OpTy, Ty)) 428 if (TLI->isFreeAddrSpaceCast(OpTy->getPointerAddressSpace(), 434 return BaseT::getOperationCost(Opcode, Ty, OpTy); 1083 Type *OpTy = Op->getType(); local 1084 assert(VF == 1 || !OpTy->isVectorTy()); 1085 Types.push_back(VF == 1 ? OpTy : VectorType::get(OpTy, VF)); 1340 Type *OpTy local 1360 Type *OpTy = StructType::create({RetTy, CondTy}); local [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZTargetTransformInfo.cpp | 628 Type *OpTy = nullptr; local 630 OpTy = CI->getOperand(0)->getType(); 635 OpTy = CI0->getOperand(0)->getType(); 637 if (OpTy != nullptr) { 639 assert (!OpTy->isVectorTy() && "Expected scalar type"); 640 return OpTy; 644 Type *ElTy = OpTy->getScalarType();
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
H A D | BitcodeReader.cpp | 2571 Type *OpTy = getTypeByID(Record[1]); local 2572 if (!OpTy) 2574 Constant *Op = ValueList.getConstantFwdRef(Record[2], OpTy); 2649 VectorType *OpTy = 2651 if (!OpTy) 2653 Constant *Op0 = ValueList.getConstantFwdRef(Record[1], OpTy); 2669 VectorType *OpTy = dyn_cast<VectorType>(CurTy); local 2670 if (Record.size() < 3 || !OpTy) 2672 Constant *Op0 = ValueList.getConstantFwdRef(Record[0], OpTy); 2674 OpTy 2689 VectorType *OpTy = dyn_cast<VectorType>(CurTy); local 2702 VectorType *OpTy = local 4368 Type *OpTy = getTypeByID(Record[1]); local 4753 Type *OpTy = getTypeByID(Record[1]); local [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | SIFoldOperands.cpp | 472 Register UseReg, uint8_t OpTy, 488 if (TII->isInlineConstant(*Op, OpTy)) 513 uint8_t OpTy = OpInfo[UseOpIdx].OperandType; 514 if (OpTy < AMDGPU::OPERAND_REG_INLINE_AC_FIRST || 515 OpTy > AMDGPU::OPERAND_REG_INLINE_AC_LAST) 518 if (OpToFold.isImm() && TII->isInlineConstant(OpToFold, OpTy) && 537 if (!getRegSeqInit(Defs, UseReg, OpTy, TII, MRI)) 549 if (!TII->isInlineConstant(*Op, OpTy) || 470 getRegSeqInit( SmallVectorImpl<std::pair<MachineOperand*, unsigned>> &Defs, Register UseReg, uint8_t OpTy, const SIInstrInfo *TII, const MachineRegisterInfo &MRI) argument
|
H A D | AMDGPURegisterBankInfo.cpp | 843 LLT OpTy = MRI.getType(Op.getReg()); local 844 unsigned OpSize = OpTy.getSizeInBits(); 851 MRI.setType(CurrentLaneOpReg, OpTy); 933 if (OpTy.getScalarSizeInBits() == 64) { 978 if (OpTy.isVector()) { 979 auto Merge = B.buildBuildVector(OpTy, ReadlanePieces); 982 auto Merge = B.buildMerge(OpTy, ReadlanePieces);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopStrengthReduce.cpp | 5145 Type *OpTy = LF.OperandValToReplace->getType(); local 5150 Ty = OpTy; 5151 else if (SE.getEffectiveSCEVType(Ty) == SE.getEffectiveSCEVType(OpTy)) 5153 Ty = OpTy; 5275 if (ICmpScaledV->getType() != OpTy) { 5278 OpTy, false), 5279 ICmpScaledV, OpTy, "tmp", CI); 5289 Constant *C = ConstantInt::getSigned(SE.getEffectiveSCEVType(OpTy), 5291 if (C->getType() != OpTy) 5293 OpTy, fals 5366 Type *OpTy = LF.OperandValToReplace->getType(); local 5433 Type *OpTy = LF.OperandValToReplace->getType(); local [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64RegisterBankInfo.cpp | 445 LLT OpTy = MRI.getType(MI.getOperand(Idx).getReg()); local 448 RBIdx, OpTy.getSizeInBits()) == 451 bool OpIsFPR = OpTy.isVector() || isPreISelGenericFloatingPointOpcode(Opc);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonISelLowering.cpp | 870 MVT OpTy = ty(LHS); local 872 if (OpTy == MVT::v2i16 || OpTy == MVT::v4i8) { 873 MVT ElemTy = OpTy.getVectorElementType(); 876 OpTy.getVectorNumElements()); 911 if (OpTy == MVT::i8 || OpTy == MVT::i16) { 927 MVT OpTy = ty(Op1); local 930 if (OpTy == MVT::v2i16 || OpTy 2594 MVT OpTy = ty(Op.getOperand(0)); local [all...] |
H A D | HexagonISelDAGToDAG.cpp | 827 MVT OpTy = Op.getValueType().getSimpleVT(); local 829 CurDAG->getVTList(OpTy), {Op}); 853 MVT OpTy = N->getOperand(0).getValueType().getSimpleVT(); (void)OpTy; local 854 assert(HST->getVectorLength() * 8 == OpTy.getSizeInBits());
|
H A D | HexagonISelLoweringHVX.cpp | 322 MVT OpTy = ty(Op0); local 323 assert(OpTy == ty(Op1)); 325 MVT ElemTy = OpTy.getVectorElementType(); 327 return DAG.getVectorShuffle(OpTy, dl, Op0, Op1, Mask); 330 MVT ResTy = tyVector(OpTy, MVT::i8);
|
H A D | HexagonISelDAGToDAGHVX.cpp | 1009 MVT OpTy = Op.getValueType().getSimpleVT(); 1012 MVT HalfTy = MVT::getVectorVT(OpTy.getVectorElementType(), 1013 OpTy.getVectorNumElements()/2);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | MachineIRBuilder.cpp | 541 LLT OpTy = getMRI()->getType(Ops[0]); local 542 unsigned OpSize = OpTy.getSizeInBits(); 545 if (getMRI()->getType(Ops[i]) != OpTy || Indices[i] != i * OpSize) {
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | AutoUpgrade.cpp | 1951 Type *OpTy = CI->getArgOperand(0)->getType(); local 1952 unsigned VecWidth = OpTy->getPrimitiveSizeInBits(); 1965 Type *OpTy = CI->getArgOperand(0)->getType(); local 1966 unsigned VecWidth = OpTy->getPrimitiveSizeInBits(); 1967 unsigned EltWidth = OpTy->getScalarSizeInBits(); 1988 Type *OpTy = CI->getArgOperand(0)->getType(); local 1989 unsigned VecWidth = OpTy->getPrimitiveSizeInBits(); 1990 unsigned EltWidth = OpTy->getScalarSizeInBits();
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | MachineVerifier.cpp | 940 LLT OpTy = MRI->getType(MO->getReg()); local 943 if (OpTy.isValid()) { 947 Types[TypeIdx] = OpTy; 948 else if (Types[TypeIdx] != OpTy) 949 report("Type mismatch in generic instruction", MO, I, OpTy);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | TargetLowering.cpp | 4300 llvm::Type *OpTy = OpInfo.CallOperandVal->getType(); local 4302 llvm::PointerType *PtrTy = dyn_cast<PointerType>(OpTy); 4305 OpTy = PtrTy->getElementType(); 4309 if (StructType *STy = dyn_cast<StructType>(OpTy)) 4311 OpTy = STy->getElementType(0); 4313 // If OpTy is not a single value, it may be a struct/union that we 4315 if (!OpTy->isSingleValueType() && OpTy->isSized()) { 4316 unsigned BitSize = DL.getTypeSizeInBits(OpTy); 4326 MVT::getVT(IntegerType::get(OpTy [all...] |