Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Target/
H A DProcessStructReader.h82 template <typename RetType>
83 RetType GetField(ConstString name, RetType fail_value = RetType()) {
88 if (sizeof(RetType) < size)
93 return (RetType)(m_data.GetMaxU64(&offset, size));
/freebsd-12.1/sys/contrib/dev/acpica/components/namespace/
H A Dnsxfobj.c179 ACPI_OBJECT_TYPE *RetType) in AcpiGetType() argument
187 if (!RetType) in AcpiGetType()
196 *RetType = ACPI_TYPE_ANY; in AcpiGetType()
215 *RetType = Node->Type; in AcpiGetType()
/freebsd-12.1/contrib/llvm/lib/Target/Mips/
H A DMipsOs16.cpp51 Type* RetType = F.getReturnType(); in needsFPFromSig() local
52 switch (RetType->getTypeID()) { in needsFPFromSig()
H A DMips16HardFloat.cpp172 Type* RetType = F.getReturnType(); in needsFPReturnHelper() local
173 return whichFPReturnVariant(RetType) != NoFPRet; in needsFPReturnHelper()
177 Type* RetType = FT.getReturnType(); in needsFPReturnHelper() local
178 return whichFPReturnVariant(RetType) != NoFPRet; in needsFPReturnHelper()
H A DMipsAsmPrinter.cpp985 const char *RetType; in EmitFPCallStub() local
993 RetType = "float"; in EmitFPCallStub()
996 RetType = "double"; in EmitFPCallStub()
999 RetType = "complex"; in EmitFPCallStub()
1002 RetType = "double complex"; in EmitFPCallStub()
1005 RetType = ""; in EmitFPCallStub()
1032 OutStreamer->AddComment("\t# Stub function to call " + Twine(RetType) + " " + in EmitFPCallStub()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaCoroutine.cpp398 static Expr *maybeTailCall(Sema &S, QualType RetType, Expr *E, in maybeTailCall() argument
400 if (RetType->isReferenceType()) in maybeTailCall()
402 Type const *T = RetType.getTypePtr(); in maybeTailCall()
468 QualType RetType = AwaitSuspend->getCallReturnType(S.Context); in buildCoawaitCalls() local
471 if (Expr *TailCallSuspend = maybeTailCall(S, RetType, AwaitSuspend, Loc)) in buildCoawaitCalls()
475 if (RetType->isReferenceType() || in buildCoawaitCalls()
476 (!RetType->isBooleanType() && !RetType->isVoidType())) { in buildCoawaitCalls()
479 << RetType; in buildCoawaitCalls()
H A DSemaTemplateDeduction.cpp4627 QualType RetType = getLambdaConversionFunctionResultType( in DeduceReturnType() local
4630 RetType = Context.getPointerType(RetType); in DeduceReturnType()
4633 RetType = Context.getBlockPointerType(RetType); in DeduceReturnType()
4635 Context.adjustDeducedFunctionResultType(FD, RetType); in DeduceReturnType()
H A DSemaStmt.cpp3711 QualType RetType = RelatedRetType.isNull() ? FnRetType : RelatedRetType; in BuildReturnStmt() local
3724 RetType, in BuildReturnStmt()
3727 RetType, RetValExp); in BuildReturnStmt()
H A DSemaDeclCXX.cpp11812 QualType RetType = Context.getLValueReferenceType(ArgType); in DeclareImplicitCopyAssignment() local
11846 setupImplicitSpecialMemberType(CopyAssignment, RetType, ArgType); in DeclareImplicitCopyAssignment()
12137 QualType RetType = Context.getLValueReferenceType(ArgType); in DeclareImplicitMoveAssignment() local
12167 MoveAssignment->setType(Context.getFunctionType(RetType, ArgType, EPI)); in DeclareImplicitMoveAssignment()
H A DSemaDecl.cpp13141 QualType RetType = in ActOnFinishFunctionBody() local
13147 FD->setType(Context.getFunctionType(RetType, Proto->getParamTypes(), in ActOnFinishFunctionBody()
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DWholeProgramDevirt.cpp1181 auto *RetType = cast<IntegerType>(Call.CS.getType()); in applyVirtualConstProp() local
1185 if (RetType->getBitWidth() == 1) { in applyVirtualConstProp()
1192 Value *ValAddr = B.CreateBitCast(Addr, RetType->getPointerTo()); in applyVirtualConstProp()
1193 Value *Val = B.CreateLoad(RetType, ValAddr); in applyVirtualConstProp()
1205 auto RetType = dyn_cast<IntegerType>(TargetsForSlot[0].Fn->getReturnType()); in tryVirtualConstProp() local
1206 if (!RetType) in tryVirtualConstProp()
1208 unsigned BitWidth = RetType->getBitWidth(); in tryVirtualConstProp()
1227 Target.Fn->getReturnType() != RetType) in tryVirtualConstProp()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DConsumed.cpp687 QualType RetType = Fun->getCallResultType(); in propagateReturnType() local
688 if (RetType->isReferenceType()) in propagateReturnType()
689 RetType = RetType->getPointeeType(); in propagateReturnType()
691 if (isConsumableType(RetType)) { in propagateReturnType()
696 ReturnState = mapConsumableAttrState(RetType); in propagateReturnType()
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp488 Type *RetType = T->getReturnType(); in getArgsFunctionType() local
489 if (!RetType->isVoidTy()) in getArgsFunctionType()
490 RetType = StructType::get(RetType, ShadowTy); in getArgsFunctionType()
491 return FunctionType::get(RetType, ArgTypes, T->isVarArg()); in getArgsFunctionType()
500 Type *RetType = T->getReturnType(); in getTrampolineFunctionType() local
501 if (!RetType->isVoidTy()) in getTrampolineFunctionType()
531 Type *RetType = T->getReturnType(); in getCustomFunctionType() local
532 if (!RetType->isVoidTy()) in getCustomFunctionType()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DStdLibraryFunctionsChecker.cpp170 const QualType RetType; member
187 QualType T = (ArgNo == Ret) ? RetType : ArgTypes[ArgNo]; in getArgType()
407 if (!RetType.isNull() && RetType != CE->getType().getCanonicalType()) in matchesCall()
H A DNullabilityChecker.cpp824 QualType RetType = Decl->getReturnType(); in checkPostObjCMessage() local
825 if (!RetType->isAnyPointerType()) in checkPostObjCMessage()
910 Nullability RetNullability = getNullabilityAnnotation(RetType); in checkPostObjCMessage()
/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DCasting.h45 using RetType =
48 static RetType getSimplifiedValue(const From& Val) {
/freebsd-12.1/contrib/llvm/lib/Target/BPF/
H A DBTFDebug.cpp265 auto RetType = Elements[0].resolve(); in completeType() local
266 BTFType.Type = RetType ? BDebug.getTypeId(RetType) : 0; in completeType()
/freebsd-12.1/contrib/llvm/utils/TableGen/
H A DDAGISelMatcherEmitter.cpp223 static void BeginEmitFunction(raw_ostream &OS, StringRef RetType, in BeginEmitFunction() argument
226 OS << RetType << ' ' << Decl; in BeginEmitFunction()
232 OS << RetType << " DAGISEL_CLASS_COLONCOLON " << Decl << "\n"; in BeginEmitFunction()
/freebsd-12.1/contrib/llvm/lib/DebugInfo/PDB/DIA/
H A DDIARawSymbol.cpp106 template <typename ArgType, typename RetType>
107 RetType PrivateGetDIAValue(IDiaSymbol *Symbol, in PrivateGetDIAValue()
111 return static_cast<RetType>(Value); in PrivateGetDIAValue()
113 return RetType(); in PrivateGetDIAValue()
/freebsd-12.1/contrib/llvm/lib/AsmParser/
H A DLLParser.cpp5178 Type *RetType = nullptr; in ParseFunctionHeader() local
5213 if (!FunctionType::isValidReturnType(RetType)) in ParseFunctionHeader()
5876 Type *RetType = nullptr; in ParseInvoke() local
5899 FunctionType *Ty = dyn_cast<FunctionType>(RetType); in ParseInvoke()
5906 if (!FunctionType::isValidReturnType(RetType)) in ParseInvoke()
5909 Ty = FunctionType::get(RetType, ParamTypes, false); in ParseInvoke()
6499 Type *RetType = nullptr; in ParseCall() local
6523 if (FMF.any() && !RetType->isFPOrFPVectorTy()) in ParseCall()
6530 FunctionType *Ty = dyn_cast<FunctionType>(RetType); in ParseCall()
6537 if (!FunctionType::isValidReturnType(RetType)) in ParseCall()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp1387 Type *RetType = UCallee->getReturnType(); in insertAlloca() local
1389 AllocaInst *Alloc = B.CreateAlloca(RetType, 0, in insertAlloca()
1392 .getTypeAllocSize(RetType)); in insertAlloca()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGClass.cpp2217 QualType RetType = BuildFunctionArgList(CurGD, Params); in EmitInlinedInheritingCXXConstructorCall() local
2218 FnRetTy = RetType; in EmitInlinedInheritingCXXConstructorCall()
2240 if (!RetType->isVoidType()) in EmitInlinedInheritingCXXConstructorCall()
2241 ReturnValue = CreateIRTemp(RetType, "retval.inhctor"); in EmitInlinedInheritingCXXConstructorCall()
H A DCGOpenMPRuntime.cpp9198 QualType RetType = FD->getReturnType(); in evaluateCDTSize() local
9199 if (RetType.isNull()) in evaluateCDTSize()
9203 if (!RetType.isNull() && !RetType->isVoidType()) { in evaluateCDTSize()
9204 CDT = RetType; in evaluateCDTSize()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp2427 auto RetType = cast<VectorType>(II->getType()); in visitCallInst() local
2429 unsigned RetWidth = RetType->getNumElements(); in visitCallInst()
2434 assert(RetType->getScalarType()->isFloatTy() && in visitCallInst()
2439 return replaceInstUsesWith(*II, ConstantAggregateZero::get(RetType)); in visitCallInst()
2455 auto VectorFloats = Builder.CreateFPExt(VectorHalfs, RetType); in visitCallInst()
/freebsd-12.1/contrib/llvm/lib/Target/ARM/
H A DARMISelDAGToDAG.cpp3389 const EVT RetType[] = {MVT::i32, MVT::i32, MVT::Other}; in Select() local
3391 ReplaceNode(N, CurDAG->getMachineNode(Opc, dl, RetType, Ops)); in Select()