Home
last modified time | relevance | path

Searched refs:ResultType (Results 1 – 25 of 80) sorted by relevance

1234

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTypes.cpp329 llvm::Type *ResultType = nullptr; in ConvertFunctionTypeInternal() local
334 ResultType = llvm::StructType::get(getLLVMContext()); in ConvertFunctionTypeInternal()
339 ResultType = GetFunctionType(*FI); in ConvertFunctionTypeInternal()
342 return ResultType; in ConvertFunctionTypeInternal()
381 llvm::Type *ResultType = nullptr; in ConvertType() local
400 ResultType = llvm::Type::getInt8Ty(getLLVMContext()); in ConvertType()
405 ResultType = llvm::Type::getInt1Ty(getLLVMContext()); in ConvertType()
449 ResultType = llvm::IntegerType::get(getLLVMContext(), in ConvertType()
454 ResultType = in ConvertType()
461 ResultType = getTypeForFormat( in ConvertType()
[all …]
H A DCGVTables.cpp71 QualType ResultType, RValue RV, in PerformReturnAdjustment() argument
74 bool NullCheckValue = !ResultType->isReferenceType(); in PerformReturnAdjustment()
92 auto ClassDecl = ResultType->getPointeeType()->getAsCXXRecordDecl(); in PerformReturnAdjustment()
96 Address(ReturnValue, CGF.ConvertTypeForMem(ResultType->getPointeeType()), in PerformReturnAdjustment()
171 QualType ResultType = FPT->getReturnType(); in GenerateVarArgsThunk() local
238 RV = PerformReturnAdjustment(*this, ResultType, RV, Thunk); in GenerateVarArgsThunk()
258 QualType ResultType; in StartThunk() local
260 ResultType = CGM.getContext().VoidTy; in StartThunk()
262 ResultType = ThisType; in StartThunk()
264 ResultType = CGM.getContext().VoidPtrTy; in StartThunk()
[all …]
H A DCGObjCRuntime.h170 QualType ResultType,
184 QualType ResultType,
201 QualType ResultType,
H A DCGCXXABI.cpp209 RValue RV, QualType ResultType) { in EmitReturnFromThunk() argument
210 assert(!CGF.hasAggregateEvaluationKind(ResultType) && in EmitReturnFromThunk()
212 CGF.EmitReturnOfRValue(RV, ResultType); in EmitReturnFromThunk()
H A DCGBuiltin.cpp184 QualType T, llvm::Type *ResultType) { in EmitFromInt() argument
187 if (ResultType->isPointerTy()) in EmitFromInt()
188 return CGF.Builder.CreateIntToPtr(V, ResultType); in EmitFromInt()
190 assert(V->getType() == ResultType); in EmitFromInt()
615 llvm::Type *ResultType = CGF.ConvertType(E->getType()); in emitMaybeConstrainedFPToIntRoundBuiltin() local
621 {ResultType, Src0->getType()}); in emitMaybeConstrainedFPToIntRoundBuiltin()
625 CGF.CGM.getIntrinsic(IntrinsicID, {ResultType, Src0->getType()}); in emitMaybeConstrainedFPToIntRoundBuiltin()
1821 llvm::Type *ResultType = ConvertType(E->getType()); in EmitMSVCBuiltinExpr() local
1824 Value *ResZero = llvm::Constant::getNullValue(ResultType); in EmitMSVCBuiltinExpr()
1825 Value *ResOne = llvm::ConstantInt::get(ResultType, 1); in EmitMSVCBuiltinExpr()
[all …]
H A DCGObjC.cpp221 QualType ResultType = E->getType(); in EmitObjCCollectionLiteral() local
223 = ResultType->getAsObjCInterfacePointerType(); in EmitObjCCollectionLiteral()
378 CodeGenFunction &CGF, QualType ResultType, llvm::Value *Receiver, in tryGenerateSpecializedMessageSend() argument
390 ResultType->isObjCObjectPointerType()) { in tryGenerateSpecializedMessageSend()
394 return CGF.EmitObjCAlloc(Receiver, CGF.ConvertType(ResultType)); in tryGenerateSpecializedMessageSend()
403 CGF.ConvertType(ResultType)); in tryGenerateSpecializedMessageSend()
410 if (ResultType->isObjCObjectPointerType() && in tryGenerateSpecializedMessageSend()
413 return CGF.EmitObjCAutorelease(Receiver, CGF.ConvertType(ResultType)); in tryGenerateSpecializedMessageSend()
417 if (ResultType->isObjCObjectPointerType() && in tryGenerateSpecializedMessageSend()
420 return CGF.EmitObjCRetainNonBlock(Receiver, CGF.ConvertType(ResultType)); in tryGenerateSpecializedMessageSend()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A Driscv_vector.td64 Ops.insert(Ops.begin(), llvm::PoisonValue::get(ResultType));
66 IntrinsicTypes = {ResultType, Ops[4]->getType()};
69 Ops.insert(Ops.begin(), llvm::PoisonValue::get(ResultType));
70 IntrinsicTypes = {ResultType, Ops[3]->getType()};
388 Ops.insert(Ops.begin(), llvm::PoisonValue::get(ResultType));
391 Ops.insert(Ops.begin(), llvm::PoisonValue::get(ResultType));
393 auto ElemTy = cast<llvm::VectorType>(ResultType)->getElementType();
399 IntrinsicTypes = {ResultType, ElemTy, Ops[4]->getType()};
402 IntrinsicTypes = {ResultType, ElemTy, Ops[3]->getType()};
421 Ops.insert(Ops.begin(), llvm::PoisonValue::get(ResultType));
[all …]
/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DParsing.cpp50 template <typename ResultType> struct ParseProgress {
53 ResultType Value;
131 template <typename ResultType>
132 ParseProgress<ResultType> makeParseProgress(ParseState State, in makeParseProgress()
133 ResultType Result) { in makeParseProgress()
134 return ParseProgress<ResultType>{State, std::move(Result)}; in makeParseProgress()
/freebsd/contrib/llvm-project/lldb/include/lldb/Expression/
H A DUserExpression.h60 ResultType desired_type,
209 ResultType DesiredResultType() override { return m_desired_type; } in DesiredResultType()
331 ResultType m_desired_type;
H A DExpression.h33 enum ResultType { eResultTypeAny, eResultTypeId }; enum
59 virtual ResultType DesiredResultType() { return eResultTypeAny; } in DesiredResultType()
H A DLLVMUserExpression.h56 ResultType desired_type,
/freebsd/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesTypes.cpp76 if (!ResultType.empty()) in dump()
77 OS << "Result Type: " << ResultType << ' '; in dump()
H A DAPINotesYAMLCompiler.cpp161 StringRef ResultType; member
195 IO.mapOptional("ResultType", M.ResultType, StringRef("")); in mapping()
290 StringRef ResultType; member
312 IO.mapOptional("ResultType", F.ResultType, StringRef("")); in mapping()
773 MI.ResultType = std::string(M.ResultType); in convertMethod()
886 FI.ResultType = std::string(Function.ResultType); in convertFunction()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAPINotes.cpp497 if (Metadata.IsActive && !Info.ResultType.empty() && in ProcessAPINotes()
500 Info.ResultType, "<API Notes>", D->getLocation()); in ProcessAPINotes()
502 QualType ResultType = Sema::GetTypeFromParser(ParsedType.get()); in ProcessAPINotes() local
506 MD->getReturnType(), ResultType)) { in ProcessAPINotes()
508 S.Context.getTrivialTypeSourceInfo(ResultType, D->getLocation()); in ProcessAPINotes()
509 MD->setReturnType(ResultType); in ProcessAPINotes()
513 S, FD->getLocation(), FD->getReturnType(), ResultType)) { in ProcessAPINotes()
514 OverriddenResultType = ResultType; in ProcessAPINotes()
H A DSemaPseudoObject.cpp1077 QualType ResultType; in findAtIndexGetter() local
1080 ResultType = PTy->getPointeeType(); in findAtIndexGetter()
1086 CheckKeyForObjCARCConversion(S, ResultType, in findAtIndexGetter()
1092 if (ResultType.isNull()) { in findAtIndexGetter()
1113 AtIndexGetterSelector, ResultType, true /*instance*/); in findAtIndexGetter()
1176 QualType ResultType; in findAtIndexSetter() local
1179 ResultType = PTy->getPointeeType(); in findAtIndexSetter()
1186 CheckKeyForObjCARCConversion(S, ResultType, in findAtIndexSetter()
1192 if (ResultType.isNull()) { in findAtIndexSetter()
1214 AtIndexSetterSelector, ResultType, true /*instance*/); in findAtIndexSetter()
H A DCodeCompleteConsumer.cpp280 CodeCompletionString::Chunk::CreateResultType(const char *ResultType) { in CreateResultType() argument
281 return Chunk(CK_ResultType, ResultType); in CreateResultType()
468 void CodeCompletionBuilder::AddResultTypeChunk(const char *ResultType) { in AddResultTypeChunk() argument
469 Chunks.push_back(Chunk::CreateResultType(ResultType)); in AddResultTypeChunk()
H A DSemaExprCXX.cpp1681 QualType ResultType = Result.get()->getType(); in BuildCXXTypeConstructExpr() local
1686 Context, ResultType, Expr::getValueKindForType(Ty), TInfo, CK_NoOp, in BuildCXXTypeConstructExpr()
2169 QualType ResultType = Context.getPointerType(AllocType); in BuildCXXNew() local
2512 Initializer, ResultType, AllocTypeInfo, Range, in BuildCXXNew()
6662 QualType ResultType; in CheckVectorConditionalTypes() local
6678 ResultType = Context.getCommonSugaredType(LHSType, RHSType); in CheckVectorConditionalTypes()
6680 ResultType = CheckVectorOperands( in CheckVectorConditionalTypes()
6685 if (ResultType.isNull()) in CheckVectorConditionalTypes()
6703 ResultType = in CheckVectorConditionalTypes()
6706 ResultType = Context.getVectorType( in CheckVectorConditionalTypes()
[all …]
H A DSemaInit.cpp3389 QualType ResultType = CurrentObjectType; in createInitListExpr() local
3390 if (!ResultType->isArrayType()) in createInitListExpr()
3391 ResultType = ResultType.getNonLValueExprType(SemaRef.Context); in createInitListExpr()
3392 Result->setType(ResultType); in createInitListExpr()
5564 QualType ResultType; in TryOrBuildParenListInitialization() local
5612 ResultType = Entity.getType(); in TryOrBuildParenListInitialization()
5649 if (ResultType.isNull()) { in TryOrBuildParenListInitialization()
5650 ResultType = S.Context.getConstantArrayType( in TryOrBuildParenListInitialization()
5774 ResultType = Entity.getType(); in TryOrBuildParenListInitialization()
5798 S.getASTContext(), InitExprs, ResultType, Args.size(), in TryOrBuildParenListInitialization()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp633 auto *ResultType = cast<IntegerType>(ObjectSize->getType()); in lowerObjectSizeCall() local
640 isUIntN(ResultType->getBitWidth(), Size)) in lowerObjectSizeCall()
641 return ConstantInt::get(ResultType, Size); in lowerObjectSizeCall()
662 ResultSize = Builder.CreateZExtOrTrunc(ResultSize, ResultType); in lowerObjectSizeCall()
664 UseZero, ConstantInt::get(ResultType, 0), ResultSize); in lowerObjectSizeCall()
669 Builder.CreateICmpNE(Ret, ConstantInt::get(ResultType, -1))); in lowerObjectSizeCall()
678 return ConstantInt::get(ResultType, MaxVal ? -1ULL : 0); in lowerObjectSizeCall()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DRangeConstraintManager.cpp1332 QualType ResultType = Sym->getType(); in VisitBinaryOperator() local
1333 return VisitBinaryOperator(inferAs(Sym->getLHS(), ResultType), in VisitBinaryOperator()
1335 inferAs(Sym->getRHS(), ResultType), ResultType); in VisitBinaryOperator()
1374 APSIntType ResultType = ValueFactory.getAPSIntType(T); in VisitBinaryOperator() local
1378 auto ConvertedCoarseLHS = convert(CoarseLHS, ResultType); in VisitBinaryOperator()
1379 auto ConvertedCoarseRHS = convert(CoarseRHS, ResultType); in VisitBinaryOperator()
1670 APSIntType ResultType = ValueFactory.getAPSIntType(T); in VisitBinaryOperator() local
1671 llvm::APSInt Zero = ResultType.getZeroValue(); in VisitBinaryOperator()
1698 : ValueFactory.getMaxValue(ResultType); in VisitBinaryOperator()
1706 return {RangeFactory, ValueFactory.getMinValue(ResultType), in VisitBinaryOperator()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DPointer.cpp385 QualType ResultType) const { in toRValue()
387 assert(!ResultType.isNull()); in toRValue()
540 if (std::optional<PrimType> T = Ctx.classify(ResultType)) { in toRValue()
H A DInterpBuiltin.cpp676 QualType ResultType = Call->getArg(2)->getType()->getPointeeType(); in interp__builtin_overflowop() local
677 PrimType ResultT = *S.getContext().classify(ResultType); in interp__builtin_overflowop()
685 ResultType->isSignedIntegerOrEnumerationType(); in interp__builtin_overflowop()
687 ResultType->isSignedIntegerOrEnumerationType(); in interp__builtin_overflowop()
690 uint64_t ResultSize = S.getCtx().getTypeSize(ResultType); in interp__builtin_overflowop()
750 APSInt Temp = Result.extOrTrunc(S.getCtx().getTypeSize(ResultType)); in interp__builtin_overflowop()
751 Temp.setIsSigned(ResultType->isSignedIntegerOrEnumerationType()); in interp__builtin_overflowop()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DIRBuilder.cpp874 Type *ResultType, const Twine &Name) { in CreateGCResult() argument
877 Type *Types[] = {ResultType}; in CreateGCResult()
886 Type *ResultType, const Twine &Name) { in CreateGCRelocate() argument
888 Type *Types[] = {ResultType}; in CreateGCRelocate()
1225 Type *ResultType = GetElementPtrInst::getGEPReturnType(Base, IdxList); in CreatePreserveArrayAccessIndex() local
1229 M, Intrinsic::preserve_array_access_index, {ResultType, BaseType}); in CreatePreserveArrayAccessIndex()
1270 Type *ResultType = in CreatePreserveStructAccessIndex() local
1275 M, Intrinsic::preserve_struct_access_index, {ResultType, BaseType}); in CreatePreserveStructAccessIndex()
/freebsd/contrib/llvm-project/lldb/source/Expression/
H A DUserExpression.cpp50 SourceLanguage language, ResultType desired_type, in UserExpression()
180 const ResultType desired_type = options.DoesCoerceToId() in Evaluate()
/freebsd/contrib/llvm-project/clang/include/clang/APINotes/
H A DTypes.h519 std::string ResultType; variable
600 LHS.ResultType == RHS.ResultType && LHS.Params == RHS.Params &&

1234