Home
last modified time | relevance | path

Searched refs:ResTy (Results 1 – 25 of 29) sorted by relevance

12

/external/llvm/lib/Target/Mips/
DMipsSEISelLowering.cpp1375 EVT ResTy = Op->getValueType(0); in lowerMSACopyIntr() local
1378 SDValue Result = DAG.getNode(Opc, DL, ResTy, Vec, Idx, in lowerMSACopyIntr()
1499 EVT ResTy = Op->getValueType(0); in lowerMSABitClear() local
1501 SDValue One = DAG.getConstant(1, DL, ResTy); in lowerMSABitClear()
1502 SDValue Bit = DAG.getNode(ISD::SHL, DL, ResTy, One, Op->getOperand(2)); in lowerMSABitClear()
1504 return DAG.getNode(ISD::AND, DL, ResTy, Op->getOperand(1), in lowerMSABitClear()
1505 DAG.getNOT(DL, Bit, ResTy)); in lowerMSABitClear()
1510 EVT ResTy = Op->getValueType(0); in lowerMSABitClearImm() local
1511 APInt BitImm = APInt(ResTy.getVectorElementType().getSizeInBits(), 1) in lowerMSABitClearImm()
1513 SDValue BitMask = DAG.getConstant(~BitImm, DL, ResTy); in lowerMSABitClearImm()
[all …]
DMipsMSAInstrInfo.td154 class vfsetcc_type<ValueType ResTy, ValueType OpTy, CondCode CC> :
156 (ResTy (vfsetcc (OpTy node:$lhs), (OpTy node:$rhs), CC))>;
191 class vsetcc_type<ValueType ResTy, CondCode CC> :
193 (ResTy (vsetcc node:$lhs, node:$rhs, CC))>;
/external/llvm/lib/Target/Sparc/AsmParser/
DSparcAsmParser.cpp703 OperandMatchResultTy ResTy = parseSparcAsmOperand(Offset); in parseMEMOperand() local
704 if (ResTy != MatchOperand_Success || !Offset) in parseMEMOperand()
717 OperandMatchResultTy ResTy = MatchOperandParserImpl(Operands, Mnemonic); in parseOperand() local
722 if (ResTy == MatchOperand_Success || ResTy == MatchOperand_ParseFail) in parseOperand()
723 return ResTy; in parseOperand()
744 ResTy = MatchOperand_Success; in parseOperand()
746 ResTy = parseMEMOperand(Operands); in parseOperand()
749 if (ResTy != MatchOperand_Success) in parseOperand()
750 return ResTy; in parseOperand()
762 ResTy = parseSparcAsmOperand(Op, false); in parseOperand()
[all …]
/external/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp3893 OperandMatchResultTy ResTy = MatchOperandParserImpl(Operands, Mnemonic); in parseOperand() local
3894 if (ResTy == MatchOperand_Success) in parseOperand()
3899 if (ResTy == MatchOperand_ParseFail) in parseOperand()
3942 OperandMatchResultTy ResTy = parseImm(Operands); in parseOperand() local
3943 return ResTy != MatchOperand_Success; in parseOperand()
4089 OperandMatchResultTy ResTy = parseAnyRegister(Operands); in ParseRegister() local
4090 if (ResTy == MatchOperand_Success) { in ParseRegister()
4242 OperandMatchResultTy ResTy = in searchSymbolAlias() local
4244 if (ResTy == MatchOperand_Success) { in searchSymbolAlias()
4247 } else if (ResTy == MatchOperand_ParseFail) in searchSymbolAlias()
[all …]
/external/clang/lib/CodeGen/
DCodeGenTypes.h244 arrangeFreeFunctionDeclaration(QualType ResTy, const FunctionArgList &Args,
262 const CGFunctionInfo &arrangeFreeFunctionCall(QualType ResTy,
DCGExprScalar.cpp831 llvm::Type *ResTy = DstTy; in EmitScalarConversion() local
881 if (DstTy != ResTy) { in EmitScalarConversion()
883 assert(ResTy->isIntegerTy(16) && "Only half FP requires extra conversion"); in EmitScalarConversion()
888 Res = Builder.CreateFPTrunc(Res, ResTy, "conv"); in EmitScalarConversion()
3058 llvm::Type *ResTy = ConvertType(E->getType()); in VisitBinLAnd() local
3069 return Builder.CreateZExtOrBitCast(RHSCond, ResTy, "land.ext"); in VisitBinLAnd()
3074 return llvm::Constant::getNullValue(ResTy); in VisitBinLAnd()
3114 return Builder.CreateZExtOrBitCast(PN, ResTy, "land.ext"); in VisitBinLAnd()
3136 llvm::Type *ResTy = ConvertType(E->getType()); in VisitBinLOr() local
3147 return Builder.CreateZExtOrBitCast(RHSCond, ResTy, "lor.ext"); in VisitBinLOr()
[all …]
DCodeGenFunction.cpp911 QualType ResTy = FD->getReturnType(); in GenerateCode() local
917 ResTy = MD->getThisType(getContext()); in GenerateCode()
919 ResTy = CGM.getContext().VoidPtrTy; in GenerateCode()
937 CGM.getCXXABI().addImplicitStructorParams(*this, ResTy, Args); in GenerateCode()
957 StartFunction(GD, ResTy, Fn, FnInfo, Args, Loc, BodyRange.getBegin()); in GenerateCode()
DCGCXXABI.h326 virtual void addImplicitStructorParams(CodeGenFunction &CGF, QualType &ResTy,
DItaniumCXXABI.cpp228 void addImplicitStructorParams(CodeGenFunction &CGF, QualType &ResTy,
422 QualType ResTy) override;
1380 QualType &ResTy, in addImplicitStructorParams() argument
/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 …]
DARMISelDAGToDAG.cpp1841 EVT ResTy; in SelectVLD() local
1843 ResTy = VT; in SelectVLD()
1848 ResTy = EVT::getVectorVT(*CurDAG->getContext(), MVT::i64, ResTyElts); in SelectVLD()
1851 ResTys.push_back(ResTy); in SelectVLD()
1892 SDValue(CurDAG->getMachineNode(TargetOpcode::IMPLICIT_DEF, dl, ResTy), 0); in SelectVLD()
1895 ResTy, AddrTy, MVT::Other, OpsA); in SelectVLD()
/external/clang/lib/StaticAnalyzer/Checkers/
DCallAndMessageChecker.cpp499 QualType ResTy = msg.getResultType(); in emitNilReceiverBug() local
506 if (ResTy->isReferenceType()) { in emitNilReceiverBug()
/external/llvm/lib/Target/SystemZ/AsmParser/
DSystemZAsmParser.cpp740 OperandMatchResultTy ResTy = MatchOperandParserImpl(Operands, Mnemonic); in parseOperand() local
741 if (ResTy == MatchOperand_Success) in parseOperand()
747 if (ResTy == MatchOperand_ParseFail) in parseOperand()
/external/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp2243 Type *ResTy = isX86_MMX ? IntegerType::get(*MS.C, 64) : I.getType(); in handleVectorSadIntrinsic() local
2245 ResTy->getScalarSizeInBits() - SignificantBitsPerResultElement; in handleVectorSadIntrinsic()
2249 S = IRB.CreateBitCast(S, ResTy); in handleVectorSadIntrinsic()
2250 S = IRB.CreateSExt(IRB.CreateICmpNE(S, Constant::getNullValue(ResTy)), in handleVectorSadIntrinsic()
2251 ResTy); in handleVectorSadIntrinsic()
2262 Type *ResTy = isX86_MMX ? getMMXVectorTy(EltSizeInBits * 2) : I.getType(); in handleVectorPmaddIntrinsic() local
2265 S = IRB.CreateBitCast(S, ResTy); in handleVectorPmaddIntrinsic()
2266 S = IRB.CreateSExt(IRB.CreateICmpNE(S, Constant::getNullValue(ResTy)), in handleVectorPmaddIntrinsic()
2267 ResTy); in handleVectorPmaddIntrinsic()
/external/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp1098 OperandMatchResultTy ResTy = MatchOperandParserImpl(Operands, Mnemonic); in parseOperand() local
1106 if (ResTy == MatchOperand_Success || ResTy == MatchOperand_ParseFail || in parseOperand()
1108 return ResTy; in parseOperand()
/external/llvm/lib/Analysis/
DScalarEvolutionExpander.cpp1334 Type *ResTy = Result->getType(); in expandAddRecExprLiterally() local
1336 if (ResTy != SE.getEffectiveSCEVType(ResTy)) in expandAddRecExprLiterally()
1337 Result = InsertNoopCastOfTo(Result, SE.getEffectiveSCEVType(ResTy)); in expandAddRecExprLiterally()
DConstantFolding.cpp597 Type *ResTy = cast<PointerType>(C->getType())->getElementType(); in ConstantFoldLoadFromConstPtr() local
599 return Constant::getNullValue(ResTy); in ConstantFoldLoadFromConstPtr()
601 return UndefValue::get(ResTy); in ConstantFoldLoadFromConstPtr()
/external/clang/lib/Sema/
DSemaExpr.cpp3009 QualType ResTy; in BuildPredefinedExpr() local
3012 ResTy = Context.DependentTy; in BuildPredefinedExpr()
3021 ResTy = Context.WideCharTy.withConst(); in BuildPredefinedExpr()
3023 ConvertUTF8ToWideString(Context.getTypeSizeInChars(ResTy).getQuantity(), in BuildPredefinedExpr()
3025 ResTy = Context.getConstantArrayType(ResTy, LengthI, ArrayType::Normal, in BuildPredefinedExpr()
3028 /*Pascal*/ false, ResTy, Loc); in BuildPredefinedExpr()
3030 ResTy = Context.CharTy.withConst(); in BuildPredefinedExpr()
3031 ResTy = Context.getConstantArrayType(ResTy, LengthI, ArrayType::Normal, in BuildPredefinedExpr()
3034 /*Pascal*/ false, ResTy, Loc); in BuildPredefinedExpr()
3038 return new (Context) PredefinedExpr(Loc, ResTy, IT, SL); in BuildPredefinedExpr()
[all …]
DSemaExprCXX.cpp5036 QualType ResTy = UsualArithmeticConversions(LHS, RHS); in CXXCheckConditionalOperands() local
5040 LHS = ImpCastExprToType(LHS.get(), ResTy, PrepareScalarCast(LHS, ResTy)); in CXXCheckConditionalOperands()
5041 RHS = ImpCastExprToType(RHS.get(), ResTy, PrepareScalarCast(RHS, ResTy)); in CXXCheckConditionalOperands()
5043 return ResTy; in CXXCheckConditionalOperands()
DSemaCodeComplete.cpp7084 QualType ResTy = Method->getSendResultType().stripObjCKindOfType(Context); in CodeCompleteObjCMethodDecl() local
7085 AttributedType::stripOuterNullability(ResTy); in CodeCompleteObjCMethodDecl()
7086 AddObjCPassingTypeChunk(ResTy, in CodeCompleteObjCMethodDecl()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp4123 Type *ResTy = getTypeByID(Record[OpNum]); in parseFunctionBody() local
4125 if (Opc == -1 || !ResTy) in parseFunctionBody()
4128 if ((I = UpgradeBitCastInst(Opc, Op, ResTy, Temp))) { in parseFunctionBody()
4135 if (!CastInst::castIsValid(CastOp, Op, ResTy)) in parseFunctionBody()
4137 I = CastInst::Create(CastOp, Op, ResTy); in parseFunctionBody()
5115 Type *ResTy = getTypeByID(Record[2]); in parseFunctionBody() local
5116 if (!OpTy || !Op || !ResTy) in parseFunctionBody()
5118 I = new VAArgInst(Op, ResTy); in parseFunctionBody()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp1587 Type *ResTy; in insertSinCosCall() local
1597 ResTy = T.getArch() == Triple::x86_64 in insertSinCosCall()
1602 ResTy = StructType::get(ArgTy, ArgTy, nullptr); in insertSinCosCall()
1607 ResTy, ArgTy, nullptr); in insertSinCosCall()
/external/clang/include/clang/AST/
DExpr.h2981 BinaryOperator(Expr *lhs, Expr *rhs, Opcode opc, QualType ResTy, in BinaryOperator() argument
2984 : Expr(BinaryOperatorClass, ResTy, VK, OK, in BinaryOperator()
3133 BinaryOperator(Expr *lhs, Expr *rhs, Opcode opc, QualType ResTy, in BinaryOperator() argument
3136 : Expr(CompoundAssignOperatorClass, ResTy, VK, OK, in BinaryOperator()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp7598 MVT ResTy; in performFpToIntCombine() local
7604 ResTy = FloatBits == 32 ? MVT::v2i32 : MVT::v2i64; in performFpToIntCombine()
7607 ResTy = MVT::v4i32; in performFpToIntCombine()
7616 DAG.getNode(ISD::INTRINSIC_WO_CHAIN, DL, ResTy, in performFpToIntCombine()
7663 MVT ResTy; in performFDivCombine() local
7669 ResTy = FloatBits == 32 ? MVT::v2i32 : MVT::v2i64; in performFDivCombine()
7672 ResTy = MVT::v4i32; in performFDivCombine()
7681 ResTy, ConvInput); in performFDivCombine()
7994 EVT ResTy = N->getValueType(0); in tryCombineFixedPointConvert() local
8012 return DAG.getNode(ISD::EXTRACT_VECTOR_ELT, DL, ResTy, Convert, Lane); in tryCombineFixedPointConvert()
/external/llvm/lib/Target/AArch64/AsmParser/
DAArch64AsmParser.cpp3157 OperandMatchResultTy ResTy = MatchOperandParserImpl(Operands, Mnemonic); in parseOperand() local
3158 if (ResTy == MatchOperand_Success) in parseOperand()
3163 if (ResTy == MatchOperand_ParseFail) in parseOperand()

12