| /freebsd/contrib/llvm-project/clang/lib/CodeGen/TargetBuiltins/ |
| H A D | SystemZ.cpp | 82 llvm::Type *ResultType = ConvertType(E->getType()); in EmitSystemZBuiltinExpr() local 85 Function *F = CGM.getIntrinsic(Intrinsic::ctlz, ResultType); in EmitSystemZBuiltinExpr() 94 llvm::Type *ResultType = ConvertType(E->getType()); in EmitSystemZBuiltinExpr() local 97 Function *F = CGM.getIntrinsic(Intrinsic::cttz, ResultType); in EmitSystemZBuiltinExpr() 105 llvm::Type *ResultType = ConvertType(E->getType()); in EmitSystemZBuiltinExpr() local 109 unsigned NumElts = cast<llvm::FixedVectorType>(ResultType)->getNumElements(); in EmitSystemZBuiltinExpr() 110 Amt = Builder.CreateIntCast(Amt, ResultType->getScalarType(), false); in EmitSystemZBuiltinExpr() 112 Function *F = CGM.getIntrinsic(Intrinsic::fshl, ResultType); in EmitSystemZBuiltinExpr() 120 llvm::Type *ResultType = ConvertType(E->getType()); in EmitSystemZBuiltinExpr() local 123 Function *F = CGM.getIntrinsic(Intrinsic::fshl, ResultType); in EmitSystemZBuiltinExpr() [all …]
|
| H A D | RISCV.cpp | 33 ReturnValueSlot ReturnValue, llvm::Type *ResultType, in emitRVVVLEFFBuiltin() argument 43 Ops.insert(Ops.begin(), llvm::PoisonValue::get(ResultType)); in emitRVVVLEFFBuiltin() 45 IntrinsicTypes = {ResultType, Ops[4]->getType(), Ops[2]->getType()}; in emitRVVVLEFFBuiltin() 48 Ops.insert(Ops.begin(), llvm::PoisonValue::get(ResultType)); in emitRVVVLEFFBuiltin() 49 IntrinsicTypes = {ResultType, Ops[3]->getType(), Ops[1]->getType()}; in emitRVVVLEFFBuiltin() 70 ReturnValueSlot ReturnValue, llvm::Type *ResultType, in emitRVVVSSEBuiltin() argument 94 llvm::Type *ResultType, Intrinsic::ID ID, SmallVectorImpl<Value *> &Ops, in emitRVVIndexedStoreBuiltin() argument 120 ReturnValueSlot ReturnValue, llvm::Type *ResultType, in emitRVVPseudoUnaryBuiltin() argument 129 Ops.insert(Ops.begin(), llvm::PoisonValue::get(ResultType)); in emitRVVPseudoUnaryBuiltin() 132 Ops.insert(Ops.begin(), llvm::PoisonValue::get(ResultType)); in emitRVVPseudoUnaryBuiltin() [all …]
|
| H A D | PPC.cpp | 499 llvm::Type *ResultType = ConvertType(E->getType()); in EmitPPCBuiltinExpr() local 503 Intrinsic::experimental_constrained_sqrt, ResultType); in EmitPPCBuiltinExpr() 506 llvm::Function *F = CGM.getIntrinsic(Intrinsic::sqrt, ResultType); in EmitPPCBuiltinExpr() 515 llvm::Type *ResultType = ConvertType(E->getType()); in EmitPPCBuiltinExpr() local 518 Function *F = CGM.getIntrinsic(Intrinsic::ctlz, ResultType); in EmitPPCBuiltinExpr() 525 llvm::Type *ResultType = ConvertType(E->getType()); in EmitPPCBuiltinExpr() local 528 Function *F = CGM.getIntrinsic(Intrinsic::cttz, ResultType); in EmitPPCBuiltinExpr() 535 llvm::Type *ResultType = ConvertType(E->getType()); in EmitPPCBuiltinExpr() local 589 Builder.CreateCall(CGM.getIntrinsic(ID), {Op0, Op1, Op2}), ResultType); in EmitPPCBuiltinExpr() 684 llvm::Type *ResultType = ConvertType(E->getType()); in EmitPPCBuiltinExpr() local [all …]
|
| H A D | WebAssembly.cpp | 25 llvm::Type *ResultType = ConvertType(E->getType()); in EmitWebAssemblyBuiltinExpr() local 28 CGM.getIntrinsic(Intrinsic::wasm_memory_size, ResultType); in EmitWebAssemblyBuiltinExpr() 32 llvm::Type *ResultType = ConvertType(E->getType()); in EmitWebAssemblyBuiltinExpr() local 36 CGM.getIntrinsic(Intrinsic::wasm_memory_grow, ResultType); in EmitWebAssemblyBuiltinExpr() 40 llvm::Type *ResultType = ConvertType(E->getType()); in EmitWebAssemblyBuiltinExpr() local 41 Function *Callee = CGM.getIntrinsic(Intrinsic::wasm_tls_size, ResultType); in EmitWebAssemblyBuiltinExpr() 45 llvm::Type *ResultType = ConvertType(E->getType()); in EmitWebAssemblyBuiltinExpr() local 46 Function *Callee = CGM.getIntrinsic(Intrinsic::wasm_tls_align, ResultType); in EmitWebAssemblyBuiltinExpr()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenTypes.cpp | 338 llvm::Type *ResultType = nullptr; in ConvertFunctionTypeInternal() local 343 ResultType = llvm::StructType::get(getLLVMContext()); in ConvertFunctionTypeInternal() 348 ResultType = GetFunctionType(*FI); in ConvertFunctionTypeInternal() 351 return ResultType; in ConvertFunctionTypeInternal() 390 llvm::Type *ResultType = nullptr; in ConvertType() local 409 ResultType = llvm::Type::getInt8Ty(getLLVMContext()); in ConvertType() 414 ResultType = llvm::Type::getInt1Ty(getLLVMContext()); in ConvertType() 458 ResultType = llvm::IntegerType::get(getLLVMContext(), in ConvertType() 463 ResultType = in ConvertType() 470 ResultType = getTypeForFormat( in ConvertType() [all …]
|
| H A D | CGVTables.cpp | 71 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 D | CGObjCRuntime.h | 168 QualType ResultType, Selector Sel, llvm::Value *Receiver, 178 CodeGenFunction &CGF, ReturnValueSlot Return, QualType ResultType, 191 QualType ResultType, Selector Sel, const ObjCInterfaceDecl *Class,
|
| H A D | CGCXXABI.cpp | 207 RValue RV, QualType ResultType) { in EmitReturnFromThunk() argument 208 assert(!CGF.hasAggregateEvaluationKind(ResultType) && in EmitReturnFromThunk() 210 CGF.EmitReturnOfRValue(RV, ResultType); in EmitReturnFromThunk()
|
| /freebsd/contrib/llvm-project/libc/src/__support/ |
| H A D | str_to_integer.h | 84 using ResultType = make_integral_or_big_int_unsigned_t<T>; variable 86 ResultType result = 0; 115 ResultType constexpr NEGATIVE_MAX = 116 !IS_UNSIGNED ? static_cast<ResultType>(cpp::numeric_limits<T>::max()) + 1 118 ResultType const abs_max = 120 ResultType const abs_max_div_by_base = 121 abs_max / static_cast<ResultType>(base); 143 result = result * static_cast<ResultType>(base); 145 if (result > abs_max - static_cast<ResultType>(cur_digit)) { 149 result = result + static_cast<ResultType>(cur_digit);
|
| H A D | wcs_to_integer.h | 71 using ResultType = make_integral_or_big_int_unsigned_t<T>; variable 73 ResultType result = 0; 102 ResultType constexpr NEGATIVE_MAX = 103 !IS_UNSIGNED ? static_cast<ResultType>(cpp::numeric_limits<T>::max()) + 1 105 ResultType const abs_max = 107 ResultType const abs_max_div_by_base = 108 abs_max / static_cast<ResultType>(base); 130 result = result * static_cast<ResultType>(base); 132 if (result > abs_max - static_cast<ResultType>(cur_digit)) { 136 result = result + static_cast<ResultType>(cur_digit);
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
| H A D | Parsing.cpp | 43 template <typename ResultType> struct ParseProgress { 46 ResultType Value; 124 template <typename ResultType> 125 ParseProgress<ResultType> makeParseProgress(ParseState State, in makeParseProgress() 126 ResultType Result) { in makeParseProgress() 127 return ParseProgress<ResultType>{State, std::move(Result)}; in makeParseProgress()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | riscv_vector.td | 59 return emitRVVVLEFFBuiltin(this, E, ReturnValue, ResultType, ID, Ops, 116 return emitRVVVSEMaskBuiltin(this, E, ReturnValue, ResultType, ID, Ops, 145 return emitRVVVSSEBuiltin(this, E, ReturnValue, ResultType, ID, Ops, 161 return emitRVVIndexedStoreBuiltin(this, E, ReturnValue, ResultType, ID, 317 return emitRVVPseudoUnaryBuiltin(this, E, ReturnValue, ResultType, ID, 330 return emitRVVPseudoVNotBuiltin(this, E, ReturnValue, ResultType, ID, 343 return emitRVVPseudoMaskBuiltin(this, E, ReturnValue, ResultType, ID, 356 return emitRVVPseudoVFUnaryBuiltin(this, E, ReturnValue, ResultType, ID, 371 return emitRVVPseudoVWCVTBuiltin(this, E, ReturnValue, ResultType, ID, 388 return emitRVVPseudoVNCVTBuiltin(this, E, ReturnValue, ResultType, ID, [all …]
|
| H A D | riscv_andes_vector.td | 40 Operands.push_back(llvm::PoisonValue::get(ResultType)); 54 IntrinsicTypes = {ResultType, Ops[Offset]->getType(), 128 Operands.push_back(llvm::PoisonValue::get(ResultType)); 149 IntrinsicTypes = {ResultType, Ops[Offset + 1]->getType(),
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Expression/ |
| H A D | UserExpression.h | 60 ResultType desired_type, 209 ResultType DesiredResultType() const override { return m_desired_type; } in DesiredResultType() 329 ResultType m_desired_type;
|
| H A D | Expression.h | 33 enum ResultType { eResultTypeAny, eResultTypeId }; enum 59 virtual ResultType DesiredResultType() const { return eResultTypeAny; } in DesiredResultType()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | BuiltinFunctionChecker.cpp | 98 QualType ResultType) const; 201 QualType ResultType) const { in handleOverflowBuiltin() 212 getSufficientTypeForOverflowOp(C, ResultType)); in handleOverflowBuiltin() 213 SVal RetVal = SVB.evalBinOp(State, Op, Arg1, Arg2, ResultType); in handleOverflowBuiltin() 215 auto [Overflow, NotOverflow] = checkOverflow(C, RetValMax, ResultType); in handleOverflowBuiltin()
|
| H A D | DynamicTypePropagation.cpp | 788 QualType ResultType = StaticResultType.substObjCTypeArgs( in getReturnTypeForMethod() local 791 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()
|
| /freebsd/contrib/llvm-project/clang/lib/APINotes/ |
| H A D | APINotesTypes.cpp | 78 if (!ResultType.empty()) in dump() 79 OS << "Result Type: " << ResultType << ' '; in dump()
|
| H A D | APINotesYAMLCompiler.cpp | 164 StringRef ResultType; member 199 IO.mapOptional("ResultType", M.ResultType, StringRef("")); in mapping() 296 StringRef ResultType; member 319 IO.mapOptional("ResultType", F.ResultType, StringRef("")); in mapping() 835 MI.ResultType = std::string(M.ResultType); in convertMethod() 961 FI.ResultType = std::string(Function.ResultType); in convertFunction()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Serialization/ |
| H A D | ASTRecordWriter.h | 162 QualType ResultType; in writeHLSLSpirvOperand() local 166 ResultType = Op.getResultType(); in writeHLSLSpirvOperand() 171 writeQualType(ResultType); in writeHLSLSpirvOperand()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | RetainPtrCtorAdoptChecker.cpp | 531 auto *ResultType = QT.getTypePtrOrNull(); in isOwned() local 532 if (isRetainPtr(safeGetName(Cls)) && ResultType && in isOwned() 533 (ResultType->isPointerType() || ResultType->isReferenceType() || in isOwned() 534 ResultType->isObjCObjectPointerType())) in isOwned()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaAPINotes.cpp | 572 if (Metadata.IsActive && !Info.ResultType.empty() && in ProcessAPINotes() 575 Info.ResultType, "<API Notes>", D->getLocation()); in ProcessAPINotes() 577 QualType ResultType = Sema::GetTypeFromParser(ParsedType.get()); in ProcessAPINotes() local 581 MD->getReturnType(), ResultType)) { in ProcessAPINotes() 583 S.Context.getTrivialTypeSourceInfo(ResultType, D->getLocation()); in ProcessAPINotes() 584 MD->setReturnType(ResultType); in ProcessAPINotes() 588 S, FD->getLocation(), FD->getReturnType(), ResultType)) { in ProcessAPINotes() 589 OverriddenResultType = ResultType; in ProcessAPINotes()
|
| H A D | SemaPseudoObject.cpp | 1075 QualType ResultType; in findAtIndexGetter() local 1078 ResultType = PTy->getPointeeType(); in findAtIndexGetter() 1084 CheckKeyForObjCARCConversion(S, ResultType, in findAtIndexGetter() 1090 if (ResultType.isNull()) { in findAtIndexGetter() 1111 AtIndexGetterSelector, ResultType, true /*instance*/); in findAtIndexGetter() 1174 QualType ResultType; in findAtIndexSetter() local 1177 ResultType = PTy->getPointeeType(); in findAtIndexSetter() 1184 CheckKeyForObjCARCConversion(S, ResultType, in findAtIndexSetter() 1190 if (ResultType.isNull()) { in findAtIndexSetter() 1212 AtIndexSetterSelector, ResultType, true /*instance*/); in findAtIndexSetter()
|
| H A D | CodeCompleteConsumer.cpp | 276 CodeCompletionString::Chunk::CreateResultType(const char *ResultType) { in CreateResultType() argument 277 return Chunk(CK_ResultType, ResultType); in CreateResultType() 464 void CodeCompletionBuilder::AddResultTypeChunk(const char *ResultType) { in AddResultTypeChunk() argument 465 Chunks.push_back(Chunk::CreateResultType(ResultType)); in AddResultTypeChunk()
|
| /freebsd/contrib/llvm-project/llvm/lib/Frontend/Atomic/ |
| H A D | Atomic.cpp | 37 CallInst *AtomicInfo::EmitAtomicLibcall(StringRef fnName, Type *ResultType, in EmitAtomicLibcall() argument 43 FunctionType *FnType = FunctionType::get(ResultType, ArgTys, false); in EmitAtomicLibcall()
|