Home
last modified time | relevance | path

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

123

/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCodeGenTypes.cpp379 llvm::Type *ResultType = nullptr; in ConvertFunctionTypeInternal() local
384 ResultType = llvm::StructType::get(getLLVMContext()); in ConvertFunctionTypeInternal()
389 ResultType = GetFunctionType(*FI); in ConvertFunctionTypeInternal()
397 return ResultType; in ConvertFunctionTypeInternal()
447 llvm::Type *ResultType = nullptr; in ConvertType() local
466 ResultType = llvm::Type::getInt8Ty(getLLVMContext()); in ConvertType()
471 ResultType = llvm::Type::getInt1Ty(getLLVMContext()); in ConvertType()
515 ResultType = llvm::IntegerType::get(getLLVMContext(), in ConvertType()
520 ResultType = in ConvertType()
527 ResultType = getTypeForFormat( in ConvertType()
[all …]
H A DCGVTables.cpp70 QualType ResultType, RValue RV, in PerformReturnAdjustment() argument
73 bool NullCheckValue = !ResultType->isReferenceType(); in PerformReturnAdjustment()
91 auto ClassDecl = ResultType->getPointeeType()->getAsCXXRecordDecl(); in PerformReturnAdjustment()
95 Address(ReturnValue, CGF.ConvertTypeForMem(ResultType->getPointeeType()), in PerformReturnAdjustment()
164 QualType ResultType = FPT->getReturnType(); in GenerateVarArgsThunk() local
230 RV = PerformReturnAdjustment(*this, ResultType, RV, Thunk); in GenerateVarArgsThunk()
250 QualType ResultType; in StartThunk() local
252 ResultType = CGM.getContext().VoidTy; in StartThunk()
254 ResultType = ThisType; in StartThunk()
256 ResultType = CGM.getContext().VoidPtrTy; in StartThunk()
[all …]
H A DCGObjCRuntime.h170 QualType ResultType,
184 QualType ResultType,
201 QualType ResultType,
H A DCGCXXABI.cpp202 RValue RV, QualType ResultType) { in EmitReturnFromThunk() argument
203 assert(!CGF.hasAggregateEvaluationKind(ResultType) && in EmitReturnFromThunk()
205 CGF.EmitReturnOfRValue(RV, ResultType); in EmitReturnFromThunk()
H A DCGBuiltin.cpp162 QualType T, llvm::Type *ResultType) { in EmitFromInt() argument
165 if (ResultType->isPointerTy()) in EmitFromInt()
166 return CGF.Builder.CreateIntToPtr(V, ResultType); in EmitFromInt()
168 assert(V->getType() == ResultType); in EmitFromInt()
599 llvm::Type *ResultType = CGF.ConvertType(E->getType()); in emitMaybeConstrainedFPToIntRoundBuiltin() local
605 {ResultType, Src0->getType()}); in emitMaybeConstrainedFPToIntRoundBuiltin()
609 CGF.CGM.getIntrinsic(IntrinsicID, {ResultType, Src0->getType()}); in emitMaybeConstrainedFPToIntRoundBuiltin()
1527 llvm::Type *ResultType = ConvertType(E->getType()); in EmitMSVCBuiltinExpr() local
1530 Value *ResZero = llvm::Constant::getNullValue(ResultType); in EmitMSVCBuiltinExpr()
1531 Value *ResOne = llvm::ConstantInt::get(ResultType, 1); in EmitMSVCBuiltinExpr()
[all …]
H A DCGObjC.cpp222 QualType ResultType = E->getType(); in EmitObjCCollectionLiteral() local
224 = 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 …]
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A Driscv_vector.td471 Ops.insert(Ops.begin(), llvm::PoisonValue::get(ResultType));
474 Ops.insert(Ops.begin(), llvm::PoisonValue::get(ResultType));
478 IntrinsicTypes = {ResultType, Ops.back()->getType()};
653 Ops.insert(Ops.begin(), llvm::PoisonValue::get(ResultType));
655 IntrinsicTypes = {ResultType, Ops[4]->getType()};
658 Ops.insert(Ops.begin(), llvm::PoisonValue::get(ResultType));
659 IntrinsicTypes = {ResultType, Ops[3]->getType()};
661 Ops[1] = Builder.CreateBitCast(Ops[1], ResultType->getPointerTo());
937 ResultType = ConvertType(E->getArg(0)->getType()->getPointeeType());
938 IntrinsicTypes = {ResultType, Ops.back()->getType()};
[all …]
/openbsd-src/gnu/llvm/lldb/include/lldb/Expression/
H A DUserExpression.h60 ResultType desired_type,
201 ResultType DesiredResultType() override { return m_desired_type; } in DesiredResultType()
318 ResultType m_desired_type; ///< The type to coerce the expression's result to.
H A DExpression.h35 enum ResultType { eResultTypeAny, eResultTypeId }; enum
64 virtual ResultType DesiredResultType() { return eResultTypeAny; } in DesiredResultType()
H A DLLVMUserExpression.h56 ResultType desired_type,
/openbsd-src/gnu/llvm/clang/lib/APINotes/
H A DAPINotesTypes.cpp76 if (!ResultType.empty()) in dump()
77 OS << "Result Type: " << ResultType << ' '; in dump()
H A DAPINotesYAMLCompiler.cpp162 StringRef ResultType; member
196 IO.mapOptional("ResultType", M.ResultType, StringRef("")); in mapping()
291 StringRef ResultType; member
313 IO.mapOptional("ResultType", F.ResultType, StringRef("")); in mapping()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DDynamicTypePropagation.cpp787 QualType ResultType = StaticResultType.substObjCTypeArgs( in getReturnTypeForMethod() local
790 return ResultType; in getReturnTypeForMethod()
988 QualType ResultType = in checkPostObjCMessage() local
991 if (ResultType.isNull()) in checkPostObjCMessage()
1003 State = setDynamicTypeInfo(State, RetRegion, ResultType, in checkPostObjCMessage()
1008 const auto *ResultPtrType = ResultType->getAs<ObjCObjectPointerType>(); in checkPostObjCMessage()
/openbsd-src/gnu/llvm/clang/docs/
H A DAPINotes.rst210 Note that 'NullabilityOfRet' is overridden by 'ResultType', even in a
217 'ResultType' and specify the return type along with a nullability
218 annotation (see documentation for 'ResultType').
244 :ResultType:
259 ResultType: "NSArray * _Nonnull"
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp274 CodeCompletionString::Chunk::CreateResultType(const char *ResultType) { in CreateResultType() argument
275 return Chunk(CK_ResultType, ResultType); in CreateResultType()
462 void CodeCompletionBuilder::AddResultTypeChunk(const char *ResultType) { in AddResultTypeChunk() argument
463 Chunks.push_back(Chunk::CreateResultType(ResultType)); in AddResultTypeChunk()
H A DSemaPseudoObject.cpp1144 QualType ResultType; in findAtIndexGetter() local
1147 ResultType = PTy->getPointeeType(); in findAtIndexGetter()
1153 CheckKeyForObjCARCConversion(S, ResultType, in findAtIndexGetter()
1159 if (ResultType.isNull()) { in findAtIndexGetter()
1181 AtIndexGetter = S.LookupMethodInObjectType(AtIndexGetterSelector, ResultType, in findAtIndexGetter()
1247 QualType ResultType; in findAtIndexSetter() local
1250 ResultType = PTy->getPointeeType(); in findAtIndexSetter()
1257 CheckKeyForObjCARCConversion(S, ResultType, in findAtIndexSetter()
1263 if (ResultType.isNull()) { in findAtIndexSetter()
1286 AtIndexSetter = S.LookupMethodInObjectType(AtIndexSetterSelector, ResultType, in findAtIndexSetter()
H A DSemaExprCXX.cpp1603 QualType ResultType = Result.get()->getType(); in BuildCXXTypeConstructExpr() local
1608 Context, ResultType, Expr::getValueKindForType(Ty), TInfo, CK_NoOp, in BuildCXXTypeConstructExpr()
2101 QualType ResultType = Context.getPointerType(AllocType); in BuildCXXNew() local
2440 Initializer, ResultType, AllocTypeInfo, Range, in BuildCXXNew()
5557 QualType ResultType = Context.getLogicalOperationType(); in BuildTypeTrait() local
5577 return TypeTraitExpr::Create(Context, ResultType, KWLoc, Kind, Args, in BuildTypeTrait()
6297 QualType ResultType; in CheckVectorConditionalTypes() local
6313 ResultType = Context.getCommonSugaredType(LHSType, RHSType); in CheckVectorConditionalTypes()
6315 ResultType = CheckVectorOperands( in CheckVectorConditionalTypes()
6320 if (ResultType.isNull()) in CheckVectorConditionalTypes()
[all …]
H A DSemaInit.cpp3130 QualType ResultType = CurrentObjectType; in createInitListExpr() local
3131 if (!ResultType->isArrayType()) in createInitListExpr()
3132 ResultType = ResultType.getNonLValueExprType(SemaRef.Context); in createInitListExpr()
3133 Result->setType(ResultType); in createInitListExpr()
5286 QualType ResultType; in TryOrBuildParenListInitialization() local
5338 ResultType = Entity.getType(); in TryOrBuildParenListInitialization()
5375 if (ResultType.isNull()) { in TryOrBuildParenListInitialization()
5376 ResultType = S.Context.getConstantArrayType( in TryOrBuildParenListInitialization()
5491 ResultType = Entity.getType(); in TryOrBuildParenListInitialization()
5515 S.getASTContext(), InitExprs, ResultType, Args.size(), in TryOrBuildParenListInitialization()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp619 auto *ResultType = cast<IntegerType>(ObjectSize->getType()); in lowerObjectSizeCall() local
626 isUIntN(ResultType->getBitWidth(), Size)) in lowerObjectSizeCall()
627 return ConstantInt::get(ResultType, Size); in lowerObjectSizeCall()
644 ResultSize = Builder.CreateZExtOrTrunc(ResultSize, ResultType); in lowerObjectSizeCall()
646 UseZero, ConstantInt::get(ResultType, 0), ResultSize); in lowerObjectSizeCall()
652 Builder.CreateICmpNE(Ret, ConstantInt::get(ResultType, -1))); in lowerObjectSizeCall()
661 return ConstantInt::get(ResultType, MaxVal ? -1ULL : 0); in lowerObjectSizeCall()
/openbsd-src/gnu/llvm/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 …]
/openbsd-src/gnu/llvm/clang/include/clang/APINotes/
H A DTypes.h512 std::string ResultType; variable
593 LHS.ResultType == RHS.ResultType && LHS.Params == RHS.Params &&
/openbsd-src/gnu/llvm/lldb/source/Expression/
H A DUserExpression.cpp51 ResultType desired_type, in UserExpression()
182 const ResultType desired_type = options.DoesCoerceToId() in Evaluate()
/openbsd-src/gnu/llvm/clang/utils/TableGen/
H A DClangASTPropertiesEmitter.cpp51 StringRef ResultType; member
375 Out << " " << info.ResultType << " " << info.MethodPrefix << "("; in emitNodeReaderWriterClass()
416 Out << " " << info.ResultType << " " in emitNodeReaderWriterMethod()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DIRBuilder.cpp908 Type *ResultType, const Twine &Name) { in CreateGCResult() argument
911 Type *Types[] = {ResultType}; in CreateGCResult()
920 Type *ResultType, const Twine &Name) { in CreateGCRelocate() argument
922 Type *Types[] = {ResultType}; in CreateGCRelocate()
1306 Type *ResultType = in CreatePreserveArrayAccessIndex() local
1311 M, Intrinsic::preserve_array_access_index, {ResultType, BaseType}); in CreatePreserveArrayAccessIndex()
1354 Type *ResultType = in CreatePreserveStructAccessIndex() local
1359 M, Intrinsic::preserve_struct_access_index, {ResultType, BaseType}); in CreatePreserveStructAccessIndex()

123