Searched refs:OpTy (Results 1 - 25 of 41) sorted by path

12

/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp1403 llvm::Type *OpTy = Signed->getType();
1404 llvm::Value *Zero = llvm::Constant::getNullValue(OpTy);
1428 CGF.Builder.CreateAdd(llvm::ConstantInt::get(OpTy, IntMax),
1429 CGF.Builder.CreateZExt(IsNegative, OpTy));
1448 UnsignedResult, llvm::ConstantInt::get(OpTy, IntMax));
H A DCGExprScalar.cpp1882 llvm::VectorType *OpTy = cast<llvm::VectorType>(SVOp->getType()); local
1884 if (OpTy->getNumElements() == ResElts) {
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp12647 QualType OpTy = Op->getType(); local
12652 S.CheckCompatibleReinterpretCast(OpOrigType, OpTy, /*IsDereference*/true,
12656 if (const PointerType *PT = OpTy->getAs<PointerType>())
12661 OpTy->getAs<ObjCObjectPointerType>())
12672 << OpTy << Op->getSourceRange();
12687 << OpTy << Op->getSourceRange();
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DCmpInstAnalysis.h54 Constant *getPredForICmpCode(unsigned Code, bool Sign, Type *OpTy,
H A DTargetTransformInfo.h219 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);
H A DTargetTransformInfoImpl.h47 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))
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h414 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/include/llvm/CodeGen/GlobalISel/
H A DLegalizationArtifactCombiner.h233 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
H A DMIPatternMatch.h178 template <typename OpTy>
179 bool match(const MachineRegisterInfo &MRI, OpTy &&Op) {
246 template <typename OpTy>
247 bool match(const MachineRegisterInfo &MRI, OpTy &&Op) {
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DPatternMatch.h57 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 DCmpInstAnalysis.cpp42 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 DInstructionSimplify.cpp2531 Type *OpTy = LHS->getType(); // The operand type. local
2532 if (!OpTy->isIntOrIntVectorTy(1))
H A DScalarEvolutionExpander.cpp1667 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 DTargetTransformInfo.cpp150 Type *OpTy) const {
151 int Cost = TTIImpl->getOperationCost(Opcode, Ty, OpTy);
H A DValueTracking.cpp5533 Type *OpTy = LHS->getType();
5534 assert(OpTy->isIntOrIntVectorTy(1) && "Expected integer type only!");
5541 if (OpTy->isVectorTy())
5544 assert(OpTy->isIntegerTy(1) && "implied by above");
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp2571 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/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp404 Type *OpTy = nullptr; local
406 OpTy = Type::getInt8PtrTy(Ctx, OpLLT.getAddressSpace());
408 OpTy = IntegerType::get(Ctx, OpLLT.getSizeInBits());
409 Args.push_back({Reg, OpTy});
H A DMachineIRBuilder.cpp541 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/CodeGen/
H A DMachineVerifier.cpp940 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 DLegalizeDAG.cpp3110 EVT OpTy = Node->getOperand(0).getValueType();
3113 Tmp1 = DAG.getNode(ISD::SRL, dl, OpTy, Node->getOperand(0),
3114 DAG.getConstant(OpTy.getSizeInBits() / 2, dl,
H A DLegalizeIntegerTypes.cpp1529 EVT OpTy = N->getOperand(1).getValueType(); local
1536 EVT OpVT = N->getOpcode() == ISD::SELECT ? OpTy.getScalarType() : OpTy;
H A DSelectionDAG.cpp1927 EVT OpTy = Op.getValueType();
1929 if (OpTy == ShTy || OpTy.isVector()) return Op;
H A DSelectionDAGBuilder.cpp7823 llvm::Type *OpTy = CallOperandVal->getType();
7829 PointerType *PtrTy = dyn_cast<PointerType>(OpTy);
7832 OpTy = PtrTy->getElementType();
7836 if (StructType *STy = dyn_cast<StructType>(OpTy))
7838 OpTy = STy->getElementType(0);
7840 // If OpTy is not a single value, it may be a struct/union that we
7842 if (!OpTy->isSingleValueType() && OpTy->isSized()) {
7843 unsigned BitSize = DL.getTypeSizeInBits(OpTy);
7852 OpTy
[all...]
H A DTargetLowering.cpp4300 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...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DAutoUpgrade.cpp1951 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();

Completed in 635 milliseconds

12