/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | Parallel.h | 165 template <class IterTy, class ResultTy, class ReduceFuncTy, 167 ResultTy parallel_transform_reduce(IterTy Begin, IterTy End, ResultTy Init, in parallel_transform_reduce() 176 std::vector<ResultTy> Results(NumTasks, Init); in parallel_transform_reduce() 189 ResultTy R = Init; in parallel_transform_reduce() 202 ResultTy FinalResult = std::move(Results.front()); in parallel_transform_reduce() 203 for (ResultTy &PartialResult : in parallel_transform_reduce() 235 template <class IterTy, class ResultTy, class ReduceFuncTy, 237 ResultTy parallelTransformReduce(IterTy Begin, IterTy End, ResultTy Init, in parallelTransformReduce() 263 template <class RangeTy, class ResultTy, class ReduceFuncTy, 265 ResultTy parallelTransformReduce(RangeTy &&R, ResultTy Init, in parallelTransformReduce()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | FastISel.h | 104 CallLoweringInfo &setCallee(Type *ResultTy, FunctionType *FuncTy, in setCallee() 107 RetTy = ResultTy; in setCallee() 126 CallLoweringInfo &setCallee(Type *ResultTy, FunctionType *FuncTy, 130 RetTy = ResultTy; 150 CallLoweringInfo &setCallee(CallingConv::ID CC, Type *ResultTy, 153 RetTy = ResultTy; 162 CallingConv::ID CC, Type *ResultTy, 166 CallLoweringInfo &setCallee(CallingConv::ID CC, Type *ResultTy, 169 RetTy = ResultTy;
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
H A D | SpeculateAnalyses.h | 31 using ResultTy = std::optional<DenseMap<StringRef, DenseSet<StringRef>>>; 40 ResultTy operator()(Function &F); 76 ResultTy operator()(Function &F);
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | ConstantFold.cpp | 1127 Type *ResultTy; in ConstantFoldCompareInstruction() local 1129 ResultTy = VectorType::get(Type::getInt1Ty(C1->getContext()), in ConstantFoldCompareInstruction() 1132 ResultTy = Type::getInt1Ty(C1->getContext()); in ConstantFoldCompareInstruction() 1136 return Constant::getNullValue(ResultTy); in ConstantFoldCompareInstruction() 1139 return Constant::getAllOnesValue(ResultTy); in ConstantFoldCompareInstruction() 1143 return PoisonValue::get(ResultTy); in ConstantFoldCompareInstruction() 1151 return UndefValue::get(ResultTy); in ConstantFoldCompareInstruction() 1156 return ConstantInt::get(ResultTy, CmpInst::isTrueWhenEqual(Predicate)); in ConstantFoldCompareInstruction() 1160 return ConstantInt::get(ResultTy, CmpInst::isUnordered(Predicate)); in ConstantFoldCompareInstruction() 1168 return Constant::getAllOnesValue(ResultTy); in ConstantFoldCompareInstruction() [all …]
|
H A D | Verifier.cpp | 5953 Type *ResultTy = Call.getType(); in visitIntrinsicCall() local 5955 ValTy->isFPOrFPVectorTy() && ResultTy->isIntOrIntVectorTy(), in visitIntrinsicCall() 5959 Check(ValTy->isVectorTy() == ResultTy->isVectorTy(), in visitIntrinsicCall() 5964 cast<VectorType>(ResultTy)->getElementCount(), in visitIntrinsicCall() 5973 Type *ResultTy = Call.getType(); in visitIntrinsicCall() local 5974 Check(!ValTy->isVectorTy() && !ResultTy->isVectorTy(), in visitIntrinsicCall() 6000 VectorType *ResultTy; in visitIntrinsicCall() local 6019 ResultTy = cast<VectorType>(Call.getType()); in visitIntrinsicCall() 6029 ResultTy = cast<VectorType>(Call.getType()); in visitIntrinsicCall() 6037 ResultTy = cast<VectorType>(Call.getType()); in visitIntrinsicCall() [all …]
|
H A D | AutoUpgrade.cpp | 1495 auto *ResultTy = cast<FixedVectorType>(Op->getType()); in upgradeX86PSLLDQIntrinsics() local 1496 unsigned NumElts = ResultTy->getNumElements() * 8; in upgradeX86PSLLDQIntrinsics() 1522 return Builder.CreateBitCast(Res, ResultTy, "cast"); in upgradeX86PSLLDQIntrinsics() 1529 auto *ResultTy = cast<FixedVectorType>(Op->getType()); in upgradeX86PSRLDQIntrinsics() local 1530 unsigned NumElts = ResultTy->getNumElements() * 8; in upgradeX86PSRLDQIntrinsics() 1556 return Builder.CreateBitCast(Res, ResultTy, "cast"); in upgradeX86PSRLDQIntrinsics() 2664 auto *ResultTy = cast<FixedVectorType>(CI->getType()); in upgradeX86IntrinsicCall() local 2665 Type *PtrTy = ResultTy->getElementType(); in upgradeX86IntrinsicCall() 2672 ResultTy->getNumElements()); in upgradeX86IntrinsicCall() 2675 F->getParent(), Intrinsic::masked_expandload, ResultTy); in upgradeX86IntrinsicCall() [all …]
|
H A D | Function.cpp | 1487 Type *ResultTy = DecodeFixedType(TableRef, Tys, Context); in getType() local 1497 return FunctionType::get(ResultTy, ArgTys, true); in getType() 1499 return FunctionType::get(ResultTy, ArgTys, false); in getType()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
H A D | RetainCountChecker.cpp | 250 QualType ResultTy = Ex->getType(); in processObjCLiterals() local 252 RefVal::makeNotOwned(ObjKind::ObjC, ResultTy)); in processObjCLiterals() 276 QualType ResultTy = Ex->getType(); in checkPostStmt() local 278 RefVal::makeNotOwned(ObjKind::ObjC, ResultTy)); in checkPostStmt() 415 QualType ResultTy) { in refValFromRetEffect() argument 417 return RefVal::makeOwned(RE.getObjKind(), ResultTy); in refValFromRetEffect() 419 return RefVal::makeNotOwned(RE.getObjKind(), ResultTy); in refValFromRetEffect() 688 QualType ResultTy = CallOrMsg.getResultType(); in checkSummary() local 692 ResultTy = GetReturnType(Ex, C.getASTContext()); in checkSummary() 694 if (std::optional<RefVal> updatedRefVal = refValFromRetEffect(RE, ResultTy)) in checkSummary() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | MVEGatherScatterLowering.cpp | 500 Type *ResultTy = MemoryTy; in tryCreateMaskedGatherOffset() local 518 ResultTy = User->getType(); in tryCreateMaskedGatherOffset() 523 << *ResultTy << "\n"); in tryCreateMaskedGatherOffset() 525 ResultTy = User->getType(); in tryCreateMaskedGatherOffset() 531 if (ResultTy->getPrimitiveSizeInBits() < 128 && in tryCreateMaskedGatherOffset() 532 ResultTy->isIntOrIntVectorTy()) { in tryCreateMaskedGatherOffset() 533 ResultTy = ResultTy->getWithNewBitWidth( in tryCreateMaskedGatherOffset() 534 128 / cast<FixedVectorType>(ResultTy)->getNumElements()); in tryCreateMaskedGatherOffset() 537 << *ResultTy << "\n"); in tryCreateMaskedGatherOffset() 541 if (ResultTy->getPrimitiveSizeInBits() != 128) { in tryCreateMaskedGatherOffset() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | VPlanAnalysis.cpp | 245 Type *ResultTy = in inferScalarType() local 282 assert(ResultTy && "could not infer type for the given VPValue"); in inferScalarType() 283 CachedTypes[V] = ResultTy; in inferScalarType() 284 return ResultTy; in inferScalarType()
|
H A D | VPlan.h | 1444 Type *ResultTy; variable 1447 VPWidenCastRecipe(Instruction::CastOps Opcode, VPValue *Op, Type *ResultTy, in VPWidenCastRecipe() argument 1450 ResultTy(ResultTy) { in VPWidenCastRecipe() 1455 VPWidenCastRecipe(Instruction::CastOps Opcode, VPValue *Op, Type *ResultTy) in VPWidenCastRecipe() argument 1457 ResultTy(ResultTy) {} in VPWidenCastRecipe() 1463 return new VPWidenCastRecipe(Opcode, getOperand(0), ResultTy, in clone() 1466 return new VPWidenCastRecipe(Opcode, getOperand(0), ResultTy); in clone() 1483 Type *getResultType() const { return ResultTy; } in getResultType() 1490 Type *ResultTy; variable 1495 VPScalarCastRecipe(Instruction::CastOps Opcode, VPValue *Op, Type *ResultTy) in VPScalarCastRecipe() argument [all …]
|
H A D | VPlanTransforms.cpp | 539 Type *ResultTy = TypeInfo.inferScalarType(BaseIV); in createScalarIVSteps() local 542 assert(ResultTy->getScalarSizeInBits() > TruncTy->getScalarSizeInBits() && in createScalarIVSteps() 544 assert(ResultTy->isIntegerTy() && "Truncation requires an integer type"); in createScalarIVSteps() 547 ResultTy = TruncTy; in createScalarIVSteps() 552 if (ResultTy != StepTy) { in createScalarIVSteps() 553 assert(StepTy->getScalarSizeInBits() > ResultTy->getScalarSizeInBits() && in createScalarIVSteps() 556 Step = new VPScalarCastRecipe(Instruction::Trunc, Step, ResultTy); in createScalarIVSteps()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | FixedPointBuilder.h | 202 Type *ResultTy = B.getIntNTy(DstSema.getWidth()); in CreateFloatingToFixed() local 206 Result = B.CreateIntrinsic(IID, {ResultTy, OpTy}, {Result}); in CreateFloatingToFixed() 208 Result = UseSigned ? B.CreateFPToSI(Result, ResultTy) in CreateFloatingToFixed() 209 : B.CreateFPToUI(Result, ResultTy); in CreateFloatingToFixed()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | AtomicExpandPass.cpp | 82 insertRMWLLSCLoop(IRBuilderBase &Builder, Type *ResultTy, Value *Addr, 86 Instruction *I, Type *ResultTy, Value *Addr, Align AddrAlign, 1200 IRBuilderBase &Builder, Type *ResultTy, Value *Addr, Align AddrAlign, in insertRMWLLSCLoop() argument 1208 F->getDataLayout().getTypeStoreSize(ResultTy) && in insertRMWLLSCLoop() 1235 Value *Loaded = TLI->emitLoadLinked(Builder, ResultTy, Addr, MemOpOrder); in insertRMWLLSCLoop() 1563 IRBuilderBase &Builder, Type *ResultTy, Value *Addr, Align AddrAlign, in insertRMWCmpXchgLoop() argument 1595 LoadInst *InitLoaded = Builder.CreateAlignedLoad(ResultTy, Addr, AddrAlign); in insertRMWCmpXchgLoop() 1600 PHINode *Loaded = Builder.CreatePHI(ResultTy, 2, "loaded"); in insertRMWCmpXchgLoop() 1924 Type *ResultTy; in expandAtomicOpToLibcall() local 1984 ResultTy = Type::getInt1Ty(Ctx); in expandAtomicOpToLibcall() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
H A D | BitcodeReader.cpp | 2453 Type *ResultTy = nullptr; in parseTypeTableBody() local 2469 ResultTy = Type::getVoidTy(Context); in parseTypeTableBody() 2472 ResultTy = Type::getHalfTy(Context); in parseTypeTableBody() 2475 ResultTy = Type::getBFloatTy(Context); in parseTypeTableBody() 2478 ResultTy = Type::getFloatTy(Context); in parseTypeTableBody() 2481 ResultTy = Type::getDoubleTy(Context); in parseTypeTableBody() 2484 ResultTy = Type::getX86_FP80Ty(Context); in parseTypeTableBody() 2487 ResultTy = Type::getFP128Ty(Context); in parseTypeTableBody() 2490 ResultTy = Type::getPPC_FP128Ty(Context); in parseTypeTableBody() 2493 ResultTy = Type::getLabelTy(Context); in parseTypeTableBody() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
H A D | SpeculateAnalyses.cpp | 87 BlockFreqQuery::ResultTy BlockFreqQuery::operator()(Function &F) { 281 SpeculateQuery::ResultTy SequenceBBQuery::operator()(Function &F) {
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaOpenACC.cpp | 1450 QualType ResultTy; in ActOnArraySectionExpr() local 1453 ResultTy = OriginalBaseTy->getPointeeType(); in ActOnArraySectionExpr() 1455 ResultTy = OriginalBaseTy->getAsArrayTypeUnsafe()->getElementType(); in ActOnArraySectionExpr() 1462 if (ResultTy->isFunctionType()) { in ActOnArraySectionExpr() 1464 << ResultTy << Base->getSourceRange(); in ActOnArraySectionExpr() 1468 if (SemaRef.RequireCompleteType(Base->getExprLoc(), ResultTy, in ActOnArraySectionExpr()
|
H A D | SemaExpr.cpp | 1464 QualType ResultTy = LHSTyRank > RHSTyRank ? LHSTy : RHSTy; in handleFixedPointConversion() local 1467 ResultTy = S.Context.getCorrespondingSaturatedType(ResultTy); in handleFixedPointConversion() 1469 return ResultTy; in handleFixedPointConversion() 5058 QualType ResultTy = E->getType(); in CheckSubscriptAccessOfNoDeref() local 5062 if (isa<ArrayType>(ResultTy)) in CheckSubscriptAccessOfNoDeref() 5065 if (ResultTy->hasAttr(attr::NoDeref)) { in CheckSubscriptAccessOfNoDeref() 6701 QualType ResultTy; in BuildResolvedCallExpr() local 6710 ResultTy = FDecl->getCallResultType(); in BuildResolvedCallExpr() 6713 ResultTy = Context.BoolTy; in BuildResolvedCallExpr() 6761 Args, ResultTy, VK_PRValue, RParenLoc, in BuildResolvedCallExpr() [all …]
|
H A D | SemaOverload.cpp | 1781 QualType &ResultTy) { in IsFunctionConversion() argument 1891 ResultTy = ToType; in IsFunctionConversion() 14286 QualType ResultTy = FnDecl->getReturnType(); in CreateOverloadedUnaryOp() local 14287 ExprValueKind VK = Expr::getValueKindForType(ResultTy); in CreateOverloadedUnaryOp() 14288 ResultTy = ResultTy.getNonLValueExprType(Context); in CreateOverloadedUnaryOp() 14292 Context, Op, FnExpr.get(), ArgsArray, ResultTy, VK, OpLoc, in CreateOverloadedUnaryOp() 14675 QualType ResultTy = FnDecl->getReturnType(); in CreateOverloadedBinOp() local 14676 ExprValueKind VK = Expr::getValueKindForType(ResultTy); in CreateOverloadedBinOp() 14677 ResultTy = ResultTy.getNonLValueExprType(Context); in CreateOverloadedBinOp() 14686 Context, ChosenOp, FnExpr.get(), Args, ResultTy, VK, OpLoc, in CreateOverloadedBinOp() [all …]
|
H A D | SemaExprMember.cpp | 1796 QualType ResultTy = E->getType(); in CheckMemberAccessOfNoDeref() local 1804 if (ResultTy->isArrayType()) { in CheckMemberAccessOfNoDeref()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | ASTContext.h | 1604 QualType getFunctionNoProtoType(QualType ResultTy, 1607 QualType getFunctionNoProtoType(QualType ResultTy) const { in getFunctionNoProtoType() argument 1608 return getFunctionNoProtoType(ResultTy, FunctionType::ExtInfo()); in getFunctionNoProtoType() 1612 QualType getFunctionType(QualType ResultTy, ArrayRef<QualType> Args, in getFunctionType() argument 1614 return getFunctionTypeInternal(ResultTy, Args, EPI, false); in getFunctionType() 1621 QualType getFunctionTypeInternal(QualType ResultTy, ArrayRef<QualType> Args,
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | Expr.cpp | 565 QualType ResultTy, in SYCLUniqueStableNameExpr() argument 567 : Expr(SYCLUniqueStableNameExprClass, ResultTy, VK_PRValue, OK_Ordinary), in SYCLUniqueStableNameExpr() 574 QualType ResultTy) in SYCLUniqueStableNameExpr() argument 575 : Expr(SYCLUniqueStableNameExprClass, ResultTy, VK_PRValue, OK_Ordinary) {} in SYCLUniqueStableNameExpr() 581 QualType ResultTy = Ctx.getPointerType(Ctx.CharTy.withConst()); in Create() local 583 SYCLUniqueStableNameExpr(OpLoc, LParen, RParen, ResultTy, TSI); in Create() 588 QualType ResultTy = Ctx.getPointerType(Ctx.CharTy.withConst()); in CreateEmpty() local 589 return new (Ctx) SYCLUniqueStableNameExpr(EmptyShell(), ResultTy); in CreateEmpty() 2241 QualType ResultTy, SourceLocation BLoc, in SourceLocExpr() argument 2244 : Expr(SourceLocExprClass, ResultTy, VK_PRValue, OK_Ordinary), in SourceLocExpr()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/ |
H A D | ClauseT.h | 314 typename ResultTy = std::invoke_result_t<FunctionTy, ElemTy>> 315 ListT<ResultTy> makeList(ContainerTy &&container, FunctionTy &&func) { 316 ListT<ResultTy> v;
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | ExprEngineCallAndReturn.cpp | 766 QualType ResultTy = Call.getResultType(); in bindReturnValue() local 823 R = svalBuilder.conjureSymbolVal(nullptr, E, LCtx, ResultTy, Count); in bindReturnValue()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | LegalizerHelper.h | 199 void insertParts(Register DstReg, LLT ResultTy,
|