Home
last modified time | relevance | path

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

123

/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCodeGenTypes.cpp370 llvm::Type *ResultType = nullptr; in ConvertFunctionTypeInternal() local
375 ResultType = llvm::StructType::get(getLLVMContext()); in ConvertFunctionTypeInternal()
380 ResultType = GetFunctionType(*FI); in ConvertFunctionTypeInternal()
391 return ResultType; in ConvertFunctionTypeInternal()
425 llvm::Type *ResultType = nullptr; in ConvertType() local
444 ResultType = llvm::Type::getInt8Ty(getLLVMContext()); in ConvertType()
449 ResultType = llvm::Type::getInt1Ty(getLLVMContext()); in ConvertType()
493 ResultType = llvm::IntegerType::get(getLLVMContext(), in ConvertType()
498 ResultType = in ConvertType()
505 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()
162 QualType ResultType = FPT->getReturnType(); in GenerateVarArgsThunk() local
226 RV = PerformReturnAdjustment(*this, ResultType, RV, Thunk); in GenerateVarArgsThunk()
246 QualType ResultType; in StartThunk() local
248 ResultType = CGM.getContext().VoidTy; in StartThunk()
250 ResultType = ThisType; in StartThunk()
252 ResultType = CGM.getContext().VoidPtrTy; in StartThunk()
254 ResultType = MD->getType()->castAs<FunctionProtoType>()->getReturnType(); in StartThunk()
[all …]
H A DCGObjCRuntime.h169 QualType ResultType,
183 QualType ResultType,
200 QualType ResultType,
H A DCGCXXABI.cpp158 RValue RV, QualType ResultType) { in EmitReturnFromThunk() argument
159 assert(!CGF.hasAggregateEvaluationKind(ResultType) && in EmitReturnFromThunk()
161 CGF.EmitReturnOfRValue(RV, ResultType); in EmitReturnFromThunk()
H A DCGBuiltin.cpp127 QualType T, llvm::Type *ResultType) { in EmitFromInt() argument
130 if (ResultType->isPointerTy()) in EmitFromInt()
131 return CGF.Builder.CreateIntToPtr(V, ResultType); in EmitFromInt()
133 assert(V->getType() == ResultType); in EmitFromInt()
562 llvm::Type *ResultType = CGF.ConvertType(E->getType()); in emitMaybeConstrainedFPToIntRoundBuiltin() local
568 {ResultType, Src0->getType()}); in emitMaybeConstrainedFPToIntRoundBuiltin()
572 CGF.CGM.getIntrinsic(IntrinsicID, {ResultType, Src0->getType()}); in emitMaybeConstrainedFPToIntRoundBuiltin()
1438 llvm::Type *ResultType = ConvertType(E->getType()); in EmitMSVCBuiltinExpr() local
1441 Value *ResZero = llvm::Constant::getNullValue(ResultType); in EmitMSVCBuiltinExpr()
1442 Value *ResOne = llvm::ConstantInt::get(ResultType, 1); in EmitMSVCBuiltinExpr()
[all …]
H A DCGObjC.cpp218 QualType ResultType = E->getType(); in EmitObjCCollectionLiteral() local
220 = ResultType->getAsObjCInterfacePointerType(); in EmitObjCCollectionLiteral()
374 tryGenerateSpecializedMessageSend(CodeGenFunction &CGF, QualType ResultType, in tryGenerateSpecializedMessageSend() argument
388 ResultType->isObjCObjectPointerType()) { in tryGenerateSpecializedMessageSend()
392 return CGF.EmitObjCAlloc(Receiver, CGF.ConvertType(ResultType)); in tryGenerateSpecializedMessageSend()
401 CGF.ConvertType(ResultType)); in tryGenerateSpecializedMessageSend()
408 if (ResultType->isObjCObjectPointerType() && in tryGenerateSpecializedMessageSend()
411 return CGF.EmitObjCAutorelease(Receiver, CGF.ConvertType(ResultType)); in tryGenerateSpecializedMessageSend()
415 if (ResultType->isObjCObjectPointerType() && in tryGenerateSpecializedMessageSend()
418 return CGF.EmitObjCRetainNonBlock(Receiver, CGF.ConvertType(ResultType)); in tryGenerateSpecializedMessageSend()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A Driscv_vector.td555 IntrinsicTypes = {ResultType, Ops[1]->getType()};
556 Ops[0] = Builder.CreateBitCast(Ops[0], ResultType->getPointerTo());
561 IntrinsicTypes = {ResultType, Ops[3]->getType()};
562 Ops[1] = Builder.CreateBitCast(Ops[1], ResultType->getPointerTo());
590 IntrinsicTypes = {ResultType, Ops[2]->getType()};
591 Ops[0] = Builder.CreateBitCast(Ops[0], ResultType->getPointerTo());
609 IntrinsicTypes = {ResultType, Ops[4]->getType()};
610 Ops[1] = Builder.CreateBitCast(Ops[1], ResultType->getPointerTo());
640 IntrinsicTypes = {ResultType, Ops[2]->getType()};
641 Ops[0] = Builder.CreateBitCast(Ops[0], ResultType->getPointerTo());
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Transformer/
H A DParsing.cpp51 template <typename ResultType> struct ParseProgress {
54 ResultType Value;
132 template <typename ResultType>
133 ParseProgress<ResultType> makeParseProgress(ParseState State, in makeParseProgress()
134 ResultType Result) { in makeParseProgress()
135 return ParseProgress<ResultType>{State, std::move(Result)}; in makeParseProgress()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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"
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DDynamicTypePropagation.cpp789 QualType ResultType = StaticResultType.substObjCTypeArgs( in getReturnTypeForMethod() local
792 return ResultType; in getReturnTypeForMethod()
990 QualType ResultType = in checkPostObjCMessage() local
993 if (ResultType.isNull()) in checkPostObjCMessage()
1005 State = setDynamicTypeInfo(State, RetRegion, ResultType, in checkPostObjCMessage()
1010 const auto *ResultPtrType = ResultType->getAs<ObjCObjectPointerType>(); in checkPostObjCMessage()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DRangeConstraintManager.cpp942 QualType ResultType = Sym->getType(); in VisitBinaryOperator() local
943 return VisitBinaryOperator(inferAs(Sym->getLHS(), ResultType), in VisitBinaryOperator()
945 inferAs(Sym->getRHS(), ResultType), ResultType); in VisitBinaryOperator()
999 APSIntType ResultType = ValueFactory.getAPSIntType(T); in VisitBinaryOperator() local
1003 auto ConvertedCoarseLHS = convert(CoarseLHS, ResultType); in VisitBinaryOperator()
1004 auto ConvertedCoarseRHS = convert(CoarseRHS, ResultType); in VisitBinaryOperator()
1216 APSIntType ResultType = ValueFactory.getAPSIntType(T); in VisitBinaryOperator() local
1217 llvm::APSInt Zero = ResultType.getZeroValue(); in VisitBinaryOperator()
1244 : ValueFactory.getMaxValue(ResultType); in VisitBinaryOperator()
1252 return {RangeFactory, ValueFactory.getMinValue(ResultType), in VisitBinaryOperator()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp546 auto *ResultType = cast<IntegerType>(ObjectSize->getType()); in lowerObjectSizeCall() local
553 isUIntN(ResultType->getBitWidth(), Size)) in lowerObjectSizeCall()
554 return ConstantInt::get(ResultType, Size); in lowerObjectSizeCall()
571 ResultSize = Builder.CreateZExtOrTrunc(ResultSize, ResultType); in lowerObjectSizeCall()
573 UseZero, ConstantInt::get(ResultType, 0), ResultSize); in lowerObjectSizeCall()
579 Builder.CreateICmpNE(Ret, ConstantInt::get(ResultType, -1))); in lowerObjectSizeCall()
588 return ConstantInt::get(ResultType, MaxVal ? -1ULL : 0); in lowerObjectSizeCall()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp271 CodeCompletionString::Chunk::CreateResultType(const char *ResultType) { in CreateResultType() argument
272 return Chunk(CK_ResultType, ResultType); in CreateResultType()
451 void CodeCompletionBuilder::AddResultTypeChunk(const char *ResultType) { in AddResultTypeChunk() argument
452 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 DSemaCast.cpp60 ResultType(destType.getNonLValueExprType(S.Context)), in CastOperation()
75 QualType ResultType; member
183 CheckNoDeref(Op.Self, Op.SrcExpr.get()->getType(), Op.ResultType, in ~CheckNoDerefRAII()
311 Context, Op.ResultType, Op.ValueKind, Op.Kind, Op.SrcExpr.get(), in BuildCXXNamedCast()
321 return Op.complete(CXXConstCastExpr::Create(Context, Op.ResultType, in BuildCXXNamedCast()
338 return Op.complete(CXXDynamicCastExpr::Create(Context, Op.ResultType, in BuildCXXNamedCast()
351 return Op.complete(CXXReinterpretCastExpr::Create(Context, Op.ResultType, in BuildCXXNamedCast()
366 Context, Op.ResultType, Op.ValueKind, Op.Kind, Op.SrcExpr.get(), in BuildCXXNamedCast()
400 new (Context) BuiltinBitCastExpr(Op.ResultType, Op.ValueKind, Op.Kind, in BuildBuiltinBitCastExpr()
3202 Context, Op.ResultType, Op.ValueKind, Op.Kind, Op.SrcExpr.get(), in BuildCStyleCastExpr()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DRPCUtils.h458 using ResultType = Expected<ResultT>; variable
465 using ResultType = Error; variable
472 using ResultType = Error; variable
479 using ResultType = Error; variable
1314 SeqNo](typename AHTraits::ResultType RetVal) -> Error { in wrapAsyncHandler()
1502 using ResultType = typename AltRetTraits::ErrorReturnType; in callB() local
1503 ResultType Result = AltRetTraits::createBlankErrorReturnValue(); in callB()
1510 [&](ResultType R) { in callB()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DIRBuilder.cpp756 Type *ResultType, in CreateGCResult() argument
760 Type *Types[] = {ResultType}; in CreateGCResult()
770 Type *ResultType, in CreateGCRelocate() argument
773 Type *Types[] = {ResultType}; in CreateGCRelocate()
1115 Type *ResultType = in CreatePreserveArrayAccessIndex() local
1120 M, Intrinsic::preserve_array_access_index, {ResultType, BaseType}); in CreatePreserveArrayAccessIndex()
1159 Type *ResultType = in CreatePreserveStructAccessIndex() local
1164 M, Intrinsic::preserve_struct_access_index, {ResultType, BaseType}); in CreatePreserveStructAccessIndex()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/APINotes/
H A DTypes.h511 std::string ResultType; variable
593 LHS.ResultType == RHS.ResultType && LHS.Params == RHS.Params &&
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Drandom.d1534 alias ResultType = Unqual!(CommonType!(T1, T2)); variable
1537 enforce(a < ResultType.max,
1539 ResultType lower = cast(ResultType) (a + 1);
1543 ResultType lower = a;
1554 static if (!is(ResultType == dchar))
1556 if (b == ResultType.max && lower == ResultType.min)
1559 return std.random.uniform!ResultType(rng);
1586 return cast(ResultType)(lower + offset);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/Windows/
H A DSignals.inc674 /// Populate ResultType with a valid MINIDUMP_TYPE based on the value of
686 /// \returns true if a valid value for ResultType can be set, false otherwise.
687 static bool GetDumpType(HKEY Key, MINIDUMP_TYPE &ResultType) {
706 ResultType = static_cast<MINIDUMP_TYPE>(Flags);
710 ResultType = MiniDumpNormal;
713 ResultType = MiniDumpWithFullMemory;
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DASTContext.cpp3005 QualType ResultType = getObjCGCQualType(Pointee, GCAttr); in getObjCGCQualType() local
3006 return getPointerType(ResultType); in getObjCGCQualType()
3053 QualType ResultType) { in adjustDeducedFunctionResultType() argument
3058 FD->setType(getFunctionType(ResultType, FPT->getParamTypes(), EPI)); in adjustDeducedFunctionResultType()
3065 L->DeducedReturnType(FD, ResultType); in adjustDeducedFunctionResultType()
4197 ASTContext::getCanonicalFunctionResultType(QualType ResultType) const { in getCanonicalFunctionResultType()
4198 CanQualType CanResultType = getCanonicalType(ResultType); in getCanonicalFunctionResultType()
9751 QualType ResultType = mergeTypes(LHSPointee, RHSPointee, false, in mergeTypes() local
9753 if (ResultType.isNull()) in mergeTypes()
9755 if (getCanonicalType(LHSPointee) == getCanonicalType(ResultType)) in mergeTypes()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/utils/TableGen/
H A DClangASTPropertiesEmitter.cpp50 StringRef ResultType; member
374 Out << " " << info.ResultType << " " << info.MethodPrefix << "("; in emitNodeReaderWriterClass()
415 Out << " " << info.ResultType << " " in emitNodeReaderWriterMethod()
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/
H A Drandom.d2225 alias ResultType = Unqual!(CommonType!(T1, T2)); variable
2228 enforce(a < ResultType.max,
2230 ResultType lower = cast(ResultType) (a + 1);
2234 ResultType lower = a;
2245 static if (!is(ResultType == dchar))
2247 if (b == ResultType.max && lower == ResultType.min)
2250 return std.random.uniform!ResultType(rng);
2277 return cast(ResultType)(lower + offset);
2429 alias ResultType = UInt; variable
2445 return cast(ResultType) offset;

123