Home
last modified time | relevance | path

Searched refs:OpTy (Results 1 – 20 of 20) sorted by relevance

/external/llvm/include/llvm/IR/
DPatternMatch.h50 template <typename OpTy> bool match(OpTy *V) { in match()
398 template <typename OpTy> bool match(OpTy *V) { in match()
421 template <typename OpTy> bool match(OpTy *V) { in match()
550 template <typename OpTy> bool match(OpTy *V) { in match()
642 template <typename OpTy> bool match(OpTy *V) { in match()
684 template <typename OpTy> bool match(OpTy *V) { in match()
708 template <typename OpTy> bool match(OpTy *V) { in match()
749 template <typename OpTy> bool match(OpTy *V) { in match()
780 template <typename OpTy> bool match(OpTy *V) { in match()
788 template <typename OpTy>
[all …]
/external/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h47 unsigned getOperationCost(unsigned Opcode, Type *Ty, Type *OpTy) { in getOperationCost() argument
57 assert(OpTy && "Cast instructions must provide the operand type"); in getOperationCost()
58 if (Ty == OpTy || (Ty->isPointerTy() && OpTy->isPointerTy())) in getOperationCost()
76 unsigned OpSize = OpTy->getScalarSizeInBits(); in getOperationCost()
89 DestSize >= DL.getPointerTypeSizeInBits(OpTy)) in getOperationCost()
DTargetTransformInfo.h136 int getOperationCost(unsigned Opcode, Type *Ty, Type *OpTy = nullptr) const;
551 virtual int getOperationCost(unsigned Opcode, Type *Ty, Type *OpTy) = 0;
651 int getOperationCost(unsigned Opcode, Type *Ty, Type *OpTy) override { in getOperationCost() argument
652 return Impl.getOperationCost(Opcode, Ty, OpTy); in getOperationCost()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2739 Type *OpTy = getTypeByID(Record[1]); in parseConstants() local
2740 if (!OpTy) in parseConstants()
2742 Constant *Op = ValueList.getConstantFwdRef(Record[2], OpTy); in parseConstants()
2798 VectorType *OpTy = in parseConstants() local
2800 if (!OpTy) in parseConstants()
2802 Constant *Op0 = ValueList.getConstantFwdRef(Record[1], OpTy); in parseConstants()
2818 VectorType *OpTy = dyn_cast<VectorType>(CurTy); in parseConstants() local
2819 if (Record.size() < 3 || !OpTy) in parseConstants()
2821 Constant *Op0 = ValueList.getConstantFwdRef(Record[0], OpTy); in parseConstants()
2823 OpTy->getElementType()); in parseConstants()
[all …]
/external/llvm/lib/Target/ARM/
DARMInstrNEON.td2435 string Dt, ValueType ResTy, ValueType OpTy, SDNode OpNode>
2438 [(set DPR:$Vd, (ResTy (OpNode (OpTy DPR:$Vm))))]>;
2441 string Dt, ValueType ResTy, ValueType OpTy, SDNode OpNode>
2444 [(set QPR:$Vd, (ResTy (OpNode (OpTy QPR:$Vm))))]>;
2450 ValueType ResTy, ValueType OpTy, SDPatternOperator IntOp>
2453 [(set DPR:$Vd, (ResTy (IntOp (OpTy DPR:$Vm))))]>;
2457 ValueType ResTy, ValueType OpTy, SDPatternOperator IntOp>
2460 [(set QPR:$Vd, (ResTy (IntOp (OpTy QPR:$Vm))))]>;
2465 ValueType ResTy, ValueType OpTy, SDPatternOperator IntOp>
2468 [(set DPR:$Vd, (ResTy (IntOp (OpTy DPR:$Vm))))]>;
[all …]
DARMFastISel.cpp1600 Type *OpTy = I->getOperand(0)->getType(); in SelectFPToI() local
1601 if (OpTy->isFloatTy()) Opc = isSigned ? ARM::VTOSIZS : ARM::VTOUIZS; in SelectFPToI()
1602 else if (OpTy->isDoubleTy()) Opc = isSigned ? ARM::VTOSIZD : ARM::VTOUIZD; in SelectFPToI()
/external/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h200 unsigned getOperationCost(unsigned Opcode, Type *Ty, Type *OpTy) { in getOperationCost() argument
205 if (TLI->isTruncateFree(OpTy, Ty)) in getOperationCost()
210 if (TLI->isZExtFree(OpTy, Ty)) in getOperationCost()
216 return BaseT::getOperationCost(Opcode, Ty, OpTy); in getOperationCost()
/external/llvm/lib/Analysis/
DTargetTransformInfo.cpp50 Type *OpTy) const { in getOperationCost()
51 int Cost = TTIImpl->getOperationCost(Opcode, Ty, OpTy); in getOperationCost()
DValueTracking.cpp4195 Type *OpTy = LHS->getType(); in isImpliedCondition() local
4196 assert(OpTy->getScalarType()->isIntegerTy(1)); in isImpliedCondition()
4201 if (OpTy->isVectorTy()) in isImpliedCondition()
4204 assert(OpTy->isIntegerTy(1) && "implied by above"); in isImpliedCondition()
DInstructionSimplify.cpp2147 Type *OpTy = LHS->getType(); // The operand type. in SimplifyICmpInst() local
2156 if (OpTy->getScalarType()->isIntegerTy(1)) { in SimplifyICmpInst()
/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp4463 Type *OpTy = LF.OperandValToReplace->getType(); in Expand() local
4468 Ty = OpTy; in Expand()
4469 else if (SE.getEffectiveSCEVType(Ty) == SE.getEffectiveSCEVType(OpTy)) in Expand()
4471 Ty = OpTy; in Expand()
4599 if (ICmpScaledV->getType() != OpTy) { in Expand()
4602 OpTy, false), in Expand()
4603 ICmpScaledV, OpTy, "tmp", CI); in Expand()
4613 Constant *C = ConstantInt::getSigned(SE.getEffectiveSCEVType(OpTy), in Expand()
4615 if (C->getType() != OpTy) in Expand()
4617 OpTy, false), in Expand()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp2373 llvm::Type *OpTy = OpInfo.CallOperandVal->getType(); in ParseConstraints() local
2375 llvm::PointerType *PtrTy = dyn_cast<PointerType>(OpTy); in ParseConstraints()
2378 OpTy = PtrTy->getElementType(); in ParseConstraints()
2382 if (StructType *STy = dyn_cast<StructType>(OpTy)) in ParseConstraints()
2384 OpTy = STy->getElementType(0); in ParseConstraints()
2388 if (!OpTy->isSingleValueType() && OpTy->isSized()) { in ParseConstraints()
2389 unsigned BitSize = DL.getTypeSizeInBits(OpTy); in ParseConstraints()
2399 MVT::getVT(IntegerType::get(OpTy->getContext(), BitSize), true); in ParseConstraints()
2402 } else if (PointerType *PT = dyn_cast<PointerType>(OpTy)) { in ParseConstraints()
2406 OpInfo.ConstraintVT = MVT::getVT(OpTy, true); in ParseConstraints()
DSelectionDAGBuilder.cpp5953 llvm::Type *OpTy = CallOperandVal->getType(); in getCallOperandValEVT() local
5959 llvm::PointerType *PtrTy = dyn_cast<PointerType>(OpTy); in getCallOperandValEVT()
5962 OpTy = PtrTy->getElementType(); in getCallOperandValEVT()
5966 if (StructType *STy = dyn_cast<StructType>(OpTy)) in getCallOperandValEVT()
5968 OpTy = STy->getElementType(0); in getCallOperandValEVT()
5972 if (!OpTy->isSingleValueType() && OpTy->isSized()) { in getCallOperandValEVT()
5973 unsigned BitSize = DL.getTypeSizeInBits(OpTy); in getCallOperandValEVT()
5982 OpTy = IntegerType::get(Context, BitSize); in getCallOperandValEVT()
5987 return TLI.getValueType(DL, OpTy, true); in getCallOperandValEVT()
DLegalizeIntegerTypes.cpp571 EVT OpTy = N->getOperand(1).getValueType(); in PromoteIntRes_VSELECT() local
574 Mask = PromoteTargetBoolean(Mask, OpTy); in PromoteIntRes_VSELECT()
1112 EVT OpTy = N->getOperand(1).getValueType(); in PromoteIntOp_SELECT() local
1115 EVT OpVT = N->getOpcode() == ISD::SELECT ? OpTy.getScalarType() : OpTy; in PromoteIntOp_SELECT()
DLegalizeDAG.cpp3291 EVT OpTy = Node->getOperand(0).getValueType(); in ExpandNode() local
3294 Tmp1 = DAG.getNode(ISD::SRL, dl, OpTy, Node->getOperand(0), in ExpandNode()
3295 DAG.getConstant(OpTy.getSizeInBits() / 2, dl, in ExpandNode()
DSelectionDAG.cpp1831 EVT OpTy = Op.getValueType(); in getShiftAmountOperand() local
1833 if (OpTy == ShTy || OpTy.isVector()) return Op; in getShiftAmountOperand()
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp2366 MVT OpTy = Subtarget.useHVXSglOps() ? MVT::v16i32 : MVT::v32i32; in LowerCONCAT_VECTORS() local
2368 SDValue B0 = DAG.getNode(ISD::BITCAST, dl, OpTy, Vec0); in LowerCONCAT_VECTORS()
2369 SDValue B1 = DAG.getNode(ISD::BITCAST, dl, OpTy, Vec1); in LowerCONCAT_VECTORS()
/external/clang/lib/CodeGen/
DCGExprScalar.cpp1275 llvm::VectorType *OpTy = cast<llvm::VectorType>(SVOp->getType()); in VisitInitListExpr() local
1277 if (OpTy->getNumElements() == ResElts) { in VisitInitListExpr()
/external/clang/lib/Sema/
DSemaExpr.cpp10054 QualType OpTy = Op->getType(); in CheckIndirectionOperand() local
10059 S.CheckCompatibleReinterpretCast(OpOrigType, OpTy, /*IsDereference*/true, in CheckIndirectionOperand()
10063 if (const PointerType *PT = OpTy->getAs<PointerType>()) in CheckIndirectionOperand()
10066 OpTy->getAs<ObjCObjectPointerType>()) in CheckIndirectionOperand()
10077 << OpTy << Op->getSourceRange(); in CheckIndirectionOperand()
10092 << OpTy << Op->getSourceRange(); in CheckIndirectionOperand()
/external/llvm/lib/Target/Mips/
DMipsMSAInstrInfo.td154 class vfsetcc_type<ValueType ResTy, ValueType OpTy, CondCode CC> :
156 (ResTy (vfsetcc (OpTy node:$lhs), (OpTy node:$rhs), CC))>;