/external/llvm-project/llvm/include/llvm/Support/ |
D | TaskQueue.h | 41 using ResultTy = std::result_of_t<Callable()>; member 43 : C(std::move(C)), P(std::make_shared<std::promise<ResultTy>>()), in Task() 57 ResultTy *Dummy = nullptr; in operator() 63 std::shared_ptr<std::promise<ResultTy>> P; 87 using ResultTy = std::result_of_t<Callable()>; in async() local 88 std::future<ResultTy> F = T.P->get_future(); in async()
|
D | Parallel.h | 166 template <class IterTy, class ResultTy, class ReduceFuncTy, 168 ResultTy parallel_transform_reduce(IterTy Begin, IterTy End, ResultTy Init, in parallel_transform_reduce() 177 std::vector<ResultTy> Results(NumTasks, Init); in parallel_transform_reduce() 190 ResultTy R = Init; in parallel_transform_reduce() 203 ResultTy FinalResult = std::move(Results.front()); in parallel_transform_reduce() 204 for (ResultTy &PartialResult : in parallel_transform_reduce() 252 template <class IterTy, class ResultTy, class ReduceFuncTy, 254 ResultTy parallelTransformReduce(IterTy Begin, IterTy End, ResultTy Init, in parallelTransformReduce() 280 template <class RangeTy, class ResultTy, class ReduceFuncTy, 282 ResultTy parallelTransformReduce(RangeTy &&R, ResultTy Init, in parallelTransformReduce()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | TaskQueue.h | 41 using ResultTy = typename std::result_of<Callable()>::type; member 43 : C(std::move(C)), P(std::make_shared<std::promise<ResultTy>>()), in Task() 57 ResultTy *Dummy = nullptr; in operator() 63 std::shared_ptr<std::promise<ResultTy>> P; 87 using ResultTy = typename std::result_of<Callable()>::type; in async() local 88 std::future<ResultTy> F = T.P->get_future(); in async()
|
/external/llvm/include/llvm/CodeGen/ |
D | FastISel.h | 98 CallLoweringInfo &setCallee(Type *ResultTy, FunctionType *FuncTy, in setCallee() 101 RetTy = ResultTy; in setCallee() 120 CallLoweringInfo &setCallee(Type *ResultTy, FunctionType *FuncTy, 124 RetTy = ResultTy; 144 CallLoweringInfo &setCallee(CallingConv::ID CC, Type *ResultTy, 147 RetTy = ResultTy; 156 CallingConv::ID CC, Type *ResultTy, 160 CallLoweringInfo &setCallee(CallingConv::ID CC, Type *ResultTy, 163 RetTy = ResultTy;
|
/external/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
D | SpeculateAnalyses.h | 33 using ResultTy = Optional<DenseMap<StringRef, DenseSet<StringRef>>>; 42 ResultTy operator()(Function &F); 78 ResultTy operator()(Function &F);
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/ |
D | SpeculateAnalyses.h | 33 using ResultTy = Optional<DenseMap<StringRef, DenseSet<StringRef>>>; 42 ResultTy operator()(Function &F); 78 ResultTy operator()(Function &F);
|
/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | FastISel.h | 103 CallLoweringInfo &setCallee(Type *ResultTy, FunctionType *FuncTy, in setCallee() 106 RetTy = ResultTy; in setCallee() 125 CallLoweringInfo &setCallee(Type *ResultTy, FunctionType *FuncTy, 129 RetTy = ResultTy; 149 CallLoweringInfo &setCallee(CallingConv::ID CC, Type *ResultTy, 152 RetTy = ResultTy; 161 CallingConv::ID CC, Type *ResultTy, 165 CallLoweringInfo &setCallee(CallingConv::ID CC, Type *ResultTy, 168 RetTy = ResultTy;
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
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;
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | ConstantFold.cpp | 1812 Type *ResultTy; in ConstantFoldCompareInstruction() local 1814 ResultTy = VectorType::get(Type::getInt1Ty(C1->getContext()), in ConstantFoldCompareInstruction() 1817 ResultTy = Type::getInt1Ty(C1->getContext()); in ConstantFoldCompareInstruction() 1821 return Constant::getNullValue(ResultTy); in ConstantFoldCompareInstruction() 1824 return Constant::getAllOnesValue(ResultTy); in ConstantFoldCompareInstruction() 1834 return UndefValue::get(ResultTy); in ConstantFoldCompareInstruction() 1839 return ConstantInt::get(ResultTy, CmpInst::isTrueWhenEqual(Predicate)); in ConstantFoldCompareInstruction() 1843 return ConstantInt::get(ResultTy, CmpInst::isUnordered(Predicate)); in ConstantFoldCompareInstruction() 1891 case ICmpInst::ICMP_EQ: return ConstantInt::get(ResultTy, V1 == V2); in ConstantFoldCompareInstruction() 1892 case ICmpInst::ICMP_NE: return ConstantInt::get(ResultTy, V1 != V2); in ConstantFoldCompareInstruction() [all …]
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 1678 Type *ResultTy; in ConstantFoldCompareInstruction() local 1680 ResultTy = VectorType::get(Type::getInt1Ty(C1->getContext()), in ConstantFoldCompareInstruction() 1683 ResultTy = Type::getInt1Ty(C1->getContext()); in ConstantFoldCompareInstruction() 1687 return Constant::getNullValue(ResultTy); in ConstantFoldCompareInstruction() 1690 return Constant::getAllOnesValue(ResultTy); in ConstantFoldCompareInstruction() 1700 return UndefValue::get(ResultTy); in ConstantFoldCompareInstruction() 1705 return ConstantInt::get(ResultTy, CmpInst::isTrueWhenEqual(Predicate)); in ConstantFoldCompareInstruction() 1709 return ConstantInt::get(ResultTy, CmpInst::isUnordered(Predicate)); in ConstantFoldCompareInstruction() 1753 case ICmpInst::ICMP_EQ: return ConstantInt::get(ResultTy, V1 == V2); in ConstantFoldCompareInstruction() 1754 case ICmpInst::ICMP_NE: return ConstantInt::get(ResultTy, V1 != V2); in ConstantFoldCompareInstruction() [all …]
|
/external/llvm-project/clang/test/SemaTemplate/ |
D | instantiation-backtrace.cpp | 35 template <class T> class ResultTy { // expected-warning {{does not declare any constructor}} class 40 typename ResultTy<T2>::error Deduce( void (T1::*member)(T2) ) {} // \ in Deduce()
|
/external/clang/test/SemaTemplate/ |
D | instantiation-backtrace.cpp | 35 template <class T> class ResultTy { // expected-warning {{does not declare any constructor}} class 40 typename ResultTy<T2>::error Deduce( void (T1::*member)(T2) ) {} // \ in Deduce()
|
/external/llvm-project/llvm/lib/IR/ |
D | ConstantFold.cpp | 1939 Type *ResultTy; in ConstantFoldCompareInstruction() local 1941 ResultTy = VectorType::get(Type::getInt1Ty(C1->getContext()), in ConstantFoldCompareInstruction() 1944 ResultTy = Type::getInt1Ty(C1->getContext()); in ConstantFoldCompareInstruction() 1948 return Constant::getNullValue(ResultTy); in ConstantFoldCompareInstruction() 1951 return Constant::getAllOnesValue(ResultTy); in ConstantFoldCompareInstruction() 1955 return PoisonValue::get(ResultTy); in ConstantFoldCompareInstruction() 1964 return UndefValue::get(ResultTy); in ConstantFoldCompareInstruction() 1969 return ConstantInt::get(ResultTy, CmpInst::isTrueWhenEqual(Predicate)); in ConstantFoldCompareInstruction() 1973 return ConstantInt::get(ResultTy, CmpInst::isUnordered(Predicate)); in ConstantFoldCompareInstruction() 2021 case ICmpInst::ICMP_EQ: return ConstantInt::get(ResultTy, V1 == V2); in ConstantFoldCompareInstruction() [all …]
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
D | RetainCountChecker.cpp | 251 QualType ResultTy = Ex->getType(); in processObjCLiterals() local 253 RefVal::makeNotOwned(ObjKind::ObjC, ResultTy)); in processObjCLiterals() 277 QualType ResultTy = Ex->getType(); in checkPostStmt() local 279 RefVal::makeNotOwned(ObjKind::ObjC, ResultTy)); in checkPostStmt() 416 QualType ResultTy) { in refValFromRetEffect() argument 418 return RefVal::makeOwned(RE.getObjKind(), ResultTy); in refValFromRetEffect() 420 return RefVal::makeNotOwned(RE.getObjKind(), ResultTy); in refValFromRetEffect() 689 QualType ResultTy = CallOrMsg.getResultType(); in checkSummary() local 693 ResultTy = GetReturnType(Ex, C.getASTContext()); in checkSummary() 695 if (Optional<RefVal> updatedRefVal = refValFromRetEffect(RE, ResultTy)) in checkSummary() [all …]
|
/external/clang/lib/Analysis/ |
D | BodyFarm.cpp | 291 QualType ResultTy = D->getReturnType(); in create_OSAtomicCompareAndSwap() local 292 bool isBoolean = ResultTy->isBooleanType(); in create_OSAtomicCompareAndSwap() 293 if (!isBoolean && !ResultTy->isIntegralType(C)) in create_OSAtomicCompareAndSwap() 335 : M.makeIntegralCast(BoolVal, ResultTy); in create_OSAtomicCompareAndSwap() 342 : M.makeIntegralCast(BoolVal, ResultTy); in create_OSAtomicCompareAndSwap()
|
/external/llvm/lib/CodeGen/ |
D | AtomicExpandPass.cpp | 61 insertRMWLLSCLoop(IRBuilder<> &Builder, Type *ResultTy, Value *Addr, 65 Instruction *I, Type *ResultTy, Value *Addr, AtomicOrdering MemOpOrder, 865 IRBuilder<> &Builder, Type *ResultTy, Value *Addr, in insertRMWLLSCLoop() argument 1212 IRBuilder<> &Builder, Type *ResultTy, Value *Addr, in insertRMWCmpXchgLoop() argument 1244 LoadInst *InitLoaded = Builder.CreateLoad(ResultTy, Addr); in insertRMWCmpXchgLoop() 1246 InitLoaded->setAlignment(ResultTy->getPrimitiveSizeInBits() / 8); in insertRMWCmpXchgLoop() 1251 PHINode *Loaded = Builder.CreatePHI(ResultTy, 2, "loaded"); in insertRMWCmpXchgLoop() 1533 Type *ResultTy; in expandAtomicOpToLibcall() local 1595 ResultTy = Type::getInt1Ty(Ctx); in expandAtomicOpToLibcall() 1598 ResultTy = SizedIntTy; in expandAtomicOpToLibcall() [all …]
|
/external/llvm-project/mlir/include/mlir/IR/ |
D | Diagnostics.h | 163 typename ResultTy = decltype(**IteratorTy())> 165 : public llvm::mapped_iterator<IteratorTy, ResultTy (*)(NotePtrTy)> { 166 static ResultTy &unwrap(NotePtrTy note) { return *note; } in unwrap() 170 : llvm::mapped_iterator<IteratorTy, ResultTy (*)(NotePtrTy)>(it, in NoteIteratorImpl()
|
/external/llvm-project/clang/lib/Analysis/ |
D | RetainSummaryManager.cpp | 727 QualType ResultTy = CE->getCallReturnType(Ctx); in canEval() local 728 if (ResultTy->isObjCIdType()) { in canEval() 731 } else if (ResultTy->isPointerType()) { in canEval() 742 (cocoa::isRefType(ResultTy, "CF", FName) || in canEval() 743 cocoa::isRefType(ResultTy, "CG", FName) || in canEval() 744 cocoa::isRefType(ResultTy, "CV", FName)) && in canEval() 1282 QualType ResultTy = MD->getReturnType(); in getMethodSummary() local 1290 return getMethodSummary(S, ID, MD, ResultTy, *CachedSummaries); in getMethodSummary()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 1710 Type *ResultTy = nullptr; in parseTypeTableBody() local 1725 ResultTy = Type::getVoidTy(Context); in parseTypeTableBody() 1728 ResultTy = Type::getHalfTy(Context); in parseTypeTableBody() 1731 ResultTy = Type::getFloatTy(Context); in parseTypeTableBody() 1734 ResultTy = Type::getDoubleTy(Context); in parseTypeTableBody() 1737 ResultTy = Type::getX86_FP80Ty(Context); in parseTypeTableBody() 1740 ResultTy = Type::getFP128Ty(Context); in parseTypeTableBody() 1743 ResultTy = Type::getPPC_FP128Ty(Context); in parseTypeTableBody() 1746 ResultTy = Type::getLabelTy(Context); in parseTypeTableBody() 1749 ResultTy = Type::getMetadataTy(Context); in parseTypeTableBody() [all …]
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 1621 Type *ResultTy = nullptr; in parseTypeTableBody() local 1633 ResultTy = Type::getVoidTy(Context); in parseTypeTableBody() 1636 ResultTy = Type::getHalfTy(Context); in parseTypeTableBody() 1639 ResultTy = Type::getFloatTy(Context); in parseTypeTableBody() 1642 ResultTy = Type::getDoubleTy(Context); in parseTypeTableBody() 1645 ResultTy = Type::getX86_FP80Ty(Context); in parseTypeTableBody() 1648 ResultTy = Type::getFP128Ty(Context); in parseTypeTableBody() 1651 ResultTy = Type::getPPC_FP128Ty(Context); in parseTypeTableBody() 1654 ResultTy = Type::getLabelTy(Context); in parseTypeTableBody() 1657 ResultTy = Type::getMetadataTy(Context); in parseTypeTableBody() [all …]
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | SValBuilder.cpp | 335 QualType ResultTy) { in makeSymExprValNN() argument 347 return makeNonLoc(symLHS, Op, symRHS, ResultTy); in makeSymExprValNN() 351 return makeNonLoc(symLHS, Op, rInt->getValue(), ResultTy); in makeSymExprValNN() 355 return makeNonLoc(lInt->getValue(), Op, symRHS, ResultTy); in makeSymExprValNN()
|
D | CallEvent.cpp | 31 QualType ResultTy = E->getType(); in getResultType() local 40 ResultTy = Ctx.getLValueReferenceType(ResultTy); in getResultType() 43 ResultTy = Ctx.getRValueReferenceType(ResultTy); in getResultType() 50 return ResultTy; in getResultType()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | SimpleSValBuilder.cpp | 387 QualType ResultTy; in doRearrangeUnchecked() local 389 ResultTy = SVB.getConditionType(); in doRearrangeUnchecked() 391 ResultTy = SymTy; in doRearrangeUnchecked() 398 nonloc::ConcreteInt(RInt), ResultTy) in doRearrangeUnchecked() 432 SymMgr.getSymIntExpr(ResultSym, ResultOp, PersistentResultInt, ResultTy)); in doRearrangeUnchecked() 448 NonLoc Rhs, QualType ResultTy) { in tryRearrange() argument 470 if (ResultTy != SVB.getConditionType()) in tryRearrange() 474 SingleTy = ResultTy; in tryRearrange()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | AtomicExpandPass.cpp | 82 insertRMWLLSCLoop(IRBuilder<> &Builder, Type *ResultTy, Value *Addr, 86 Instruction *I, Type *ResultTy, Value *Addr, AtomicOrdering MemOpOrder, 1004 IRBuilder<> &Builder, Type *ResultTy, Value *Addr, in insertRMWLLSCLoop() argument 1346 IRBuilder<> &Builder, Type *ResultTy, Value *Addr, in insertRMWCmpXchgLoop() argument 1378 LoadInst *InitLoaded = Builder.CreateLoad(ResultTy, Addr); in insertRMWCmpXchgLoop() 1380 InitLoaded->setAlignment(MaybeAlign(ResultTy->getPrimitiveSizeInBits() / 8)); in insertRMWCmpXchgLoop() 1385 PHINode *Loaded = Builder.CreatePHI(ResultTy, 2, "loaded"); in insertRMWCmpXchgLoop() 1691 Type *ResultTy; in expandAtomicOpToLibcall() local 1763 ResultTy = Type::getInt1Ty(Ctx); in expandAtomicOpToLibcall() 1766 ResultTy = SizedIntTy; in expandAtomicOpToLibcall() [all …]
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | AtomicExpandPass.cpp | 82 insertRMWLLSCLoop(IRBuilder<> &Builder, Type *ResultTy, Value *Addr, 86 Instruction *I, Type *ResultTy, Value *Addr, AtomicOrdering MemOpOrder, 1020 IRBuilder<> &Builder, Type *ResultTy, Value *Addr, in insertRMWLLSCLoop() argument 1382 IRBuilder<> &Builder, Type *ResultTy, Value *Addr, in insertRMWCmpXchgLoop() argument 1414 LoadInst *InitLoaded = Builder.CreateLoad(ResultTy, Addr); in insertRMWCmpXchgLoop() 1416 InitLoaded->setAlignment(Align(ResultTy->getPrimitiveSizeInBits() / 8)); in insertRMWCmpXchgLoop() 1421 PHINode *Loaded = Builder.CreatePHI(ResultTy, 2, "loaded"); in insertRMWCmpXchgLoop() 1726 Type *ResultTy; in expandAtomicOpToLibcall() local 1798 ResultTy = Type::getInt1Ty(Ctx); in expandAtomicOpToLibcall() 1801 ResultTy = SizedIntTy; in expandAtomicOpToLibcall() [all …]
|