Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/CodeGen/
DFastISel.h94 CallLoweringInfo &setCallee(Type *ResultTy, FunctionType *FuncTy, in setCallee()
97 RetTy = ResultTy; in setCallee()
116 CallLoweringInfo &setCallee(Type *ResultTy, FunctionType *FuncTy,
120 RetTy = ResultTy;
140 CallLoweringInfo &setCallee(CallingConv::ID CC, Type *ResultTy,
143 RetTy = ResultTy;
152 CallingConv::ID CC, Type *ResultTy,
156 CallLoweringInfo &setCallee(CallingConv::ID CC, Type *ResultTy,
159 RetTy = ResultTy;
/external/llvm/lib/IR/
DConstantFold.cpp1661 Type *ResultTy; in ConstantFoldCompareInstruction() local
1663 ResultTy = VectorType::get(Type::getInt1Ty(C1->getContext()), in ConstantFoldCompareInstruction()
1666 ResultTy = Type::getInt1Ty(C1->getContext()); in ConstantFoldCompareInstruction()
1670 return Constant::getNullValue(ResultTy); in ConstantFoldCompareInstruction()
1673 return Constant::getAllOnesValue(ResultTy); in ConstantFoldCompareInstruction()
1683 return UndefValue::get(ResultTy); in ConstantFoldCompareInstruction()
1688 return ConstantInt::get(ResultTy, CmpInst::isTrueWhenEqual(Predicate)); in ConstantFoldCompareInstruction()
1692 return ConstantInt::get(ResultTy, CmpInst::isUnordered(Predicate)); in ConstantFoldCompareInstruction()
1736 case ICmpInst::ICMP_EQ: return ConstantInt::get(ResultTy, V1 == V2); in ConstantFoldCompareInstruction()
1737 case ICmpInst::ICMP_NE: return ConstantInt::get(ResultTy, V1 != V2); in ConstantFoldCompareInstruction()
[all …]
DFunction.cpp840 Type *ResultTy = DecodeFixedType(TableRef, Tys, Context); in getType() local
850 return FunctionType::get(ResultTy, ArgTys, true); in getType()
852 return FunctionType::get(ResultTy, ArgTys, false); in getType()
DConstants.cpp2026 Type *ResultTy = Type::getInt1Ty(LHS->getContext()); in getICmp() local
2028 ResultTy = VectorType::get(ResultTy, VT->getNumElements()); in getICmp()
2031 return pImpl->ExprConstants.getOrCreate(ResultTy, Key); in getICmp()
2050 Type *ResultTy = Type::getInt1Ty(LHS->getContext()); in getFCmp() local
2052 ResultTy = VectorType::get(ResultTy, VT->getNumElements()); in getFCmp()
2055 return pImpl->ExprConstants.getOrCreate(ResultTy, Key); in getFCmp()
/external/clang/test/SemaTemplate/
Dinstantiation-backtrace.cpp35 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/lib/Analysis/
DBodyFarm.cpp290 QualType ResultTy = D->getReturnType(); in create_OSAtomicCompareAndSwap() local
291 bool isBoolean = ResultTy->isBooleanType(); in create_OSAtomicCompareAndSwap()
292 if (!isBoolean && !ResultTy->isIntegralType(C)) in create_OSAtomicCompareAndSwap()
334 : M.makeIntegralCast(BoolVal, ResultTy); in create_OSAtomicCompareAndSwap()
341 : M.makeIntegralCast(BoolVal, ResultTy); in create_OSAtomicCompareAndSwap()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp1459 Type *ResultTy = nullptr; in parseTypeTableBody() local
1471 ResultTy = Type::getVoidTy(Context); in parseTypeTableBody()
1474 ResultTy = Type::getHalfTy(Context); in parseTypeTableBody()
1477 ResultTy = Type::getFloatTy(Context); in parseTypeTableBody()
1480 ResultTy = Type::getDoubleTy(Context); in parseTypeTableBody()
1483 ResultTy = Type::getX86_FP80Ty(Context); in parseTypeTableBody()
1486 ResultTy = Type::getFP128Ty(Context); in parseTypeTableBody()
1489 ResultTy = Type::getPPC_FP128Ty(Context); in parseTypeTableBody()
1492 ResultTy = Type::getLabelTy(Context); in parseTypeTableBody()
1495 ResultTy = Type::getMetadataTy(Context); in parseTypeTableBody()
[all …]
/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp31 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()
DSValBuilder.cpp335 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()
DExprEngineCallAndReturn.cpp566 QualType ResultTy = Call.getResultType(); in bindReturnValue() local
569 SVal R = SVB.conjureSymbolVal(nullptr, E, LCtx, ResultTy, Count); in bindReturnValue()
/external/clang/lib/StaticAnalyzer/Checkers/
DRetainCountChecker.cpp777 QualType ResultTy = MD->getReturnType(); in getMethodSummary() local
785 return getMethodSummary(S, ID, MD, ResultTy, *CachedSummaries); in getMethodSummary()
2800 QualType ResultTy = Ex->getType(); in processObjCLiterals() local
2802 RefVal::makeNotOwned(RetEffect::ObjC, ResultTy)); in processObjCLiterals()
2827 QualType ResultTy = Ex->getType(); in checkPostStmt() local
2829 RefVal::makeNotOwned(RetEffect::ObjC, ResultTy)); in checkPostStmt()
3089 QualType ResultTy = CallOrMsg.getResultType(); in checkSummary() local
3091 ResultTy)); in checkSummary()
3106 QualType ResultTy = GetReturnType(Ex, C.getASTContext()); in checkSummary() local
3108 ResultTy)); in checkSummary()
[all …]
/external/clang/lib/Sema/
DSemaExpr.cpp4025 QualType ResultTy; in ActOnOMPArraySectionExpr() local
4027 ResultTy = OriginalTy->getPointeeType(); in ActOnOMPArraySectionExpr()
4029 ResultTy = OriginalTy->getAsArrayTypeUnsafe()->getElementType(); in ActOnOMPArraySectionExpr()
4069 if (ResultTy->isFunctionType()) { in ActOnOMPArraySectionExpr()
4071 << ResultTy << Base->getSourceRange(); in ActOnOMPArraySectionExpr()
4075 if (RequireCompleteType(Base->getExprLoc(), ResultTy, in ActOnOMPArraySectionExpr()
5962 QualType ResultTy = CompositeTy.withCVRQualifiers(MergedCVRQual); in checkConditionalPointerCompatibility() local
5964 ResultTy = S.Context.getBlockPointerType(ResultTy); in checkConditionalPointerCompatibility()
5966 ResultTy = S.Context.getPointerType(ResultTy); in checkConditionalPointerCompatibility()
5968 LHS = S.ImpCastExprToType(LHS.get(), ResultTy, CK_BitCast); in checkConditionalPointerCompatibility()
[all …]
DSemaOverload.cpp1336 QualType &ResultTy) { in IsNoReturnConversion() argument
1377 ResultTy = ToType; in IsNoReturnConversion()
6715 void Sema::AddBuiltinCandidate(QualType ResultTy, QualType *ParamTys, in AddBuiltinCandidate() argument
6729 Candidate.BuiltinTypes.ResultTy = ResultTy; in AddBuiltinCandidate()
8068 QualType ResultTy = S.Context.getLValueReferenceType(PointeeType); in addSubscriptOverloads() local
8071 S.AddBuiltinCandidate(ResultTy, ParamTypes, Args, CandidateSet); in addSubscriptOverloads()
8083 QualType ResultTy = S.Context.getLValueReferenceType(PointeeType); in addSubscriptOverloads() local
8086 S.AddBuiltinCandidate(ResultTy, ParamTypes, Args, CandidateSet); in addSubscriptOverloads()
8136 QualType ResultTy = S.Context.getLValueReferenceType(T); in addArrowStarOverloads() local
8137 S.AddBuiltinCandidate(ResultTy, ParamTypes, Args, CandidateSet); in addArrowStarOverloads()
[all …]
DSemaTemplateDeduction.cpp2711 QualType ResultTy; in CheckOriginalCallArgDeduction() local
2715 S.IsNoReturnConversion(A, DeducedA, ResultTy))) in CheckOriginalCallArgDeduction()
/external/llvm/lib/Analysis/
DConstantFolding.cpp678 Type *ResultTy, const DataLayout &DL, in CastGEPIndices() argument
680 Type *IntPtrTy = DL.getIntPtrType(ResultTy); in CastGEPIndices()
731 Type *ResultTy, const DataLayout &DL, in SymbolicallyEvaluateGEP() argument
739 Type *ResultElementTy = ResultTy->getPointerElementType(); in SymbolicallyEvaluateGEP()
756 Res = ConstantExpr::getIntToPtr(Res, ResultTy); in SymbolicallyEvaluateGEP()
804 return ConstantExpr::getIntToPtr(C, ResultTy); in SymbolicallyEvaluateGEP()
879 C = FoldBitCast(C, ResultTy, DL); in SymbolicallyEvaluateGEP()
DLazyValueInfo.cpp832 IntegerType *ResultTy = cast<IntegerType>(BBI->getType()); in solveBlockValueConstantRange() local
866 Result.markConstantRange(LHSRange.truncate(ResultTy->getBitWidth())); in solveBlockValueConstantRange()
869 Result.markConstantRange(LHSRange.signExtend(ResultTy->getBitWidth())); in solveBlockValueConstantRange()
872 Result.markConstantRange(LHSRange.zeroExtend(ResultTy->getBitWidth())); in solveBlockValueConstantRange()
/external/clang/include/clang/AST/
DDeclBase.h1050 typedef ArrayRef<NamedDecl *> ResultTy; typedef
1051 ResultTy Result;
1066 typedef llvm::iterator_adaptor_base<iterator, ResultTy::iterator,
DASTContext.h1173 QualType getFunctionNoProtoType(QualType ResultTy,
1176 QualType getFunctionNoProtoType(QualType ResultTy) const { in getFunctionNoProtoType() argument
1177 return getFunctionNoProtoType(ResultTy, FunctionType::ExtInfo()); in getFunctionNoProtoType()
1181 QualType getFunctionType(QualType ResultTy, ArrayRef<QualType> Args,
/external/clang/include/clang/Sema/
DOverload.h604 QualType ResultTy; member
/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp516 Type *ResultTy) { in expandSCEVIfNeeded() argument
520 if (ExistingValue->getType() == ResultTy) in expandSCEVIfNeeded()
524 return Rewriter.expandCodeFor(S, ResultTy, InsertPt); in expandSCEVIfNeeded()
/external/llvm/lib/AsmParser/
DLLParser.h305 Type *&ResultTy);
DLLParser.cpp2143 Type *&ResultTy) { in ParseStructDefinition() argument
2157 ResultTy = Entry.first; in ParseStructDefinition()
2171 ResultTy = nullptr; in ParseStructDefinition()
2173 return ParseArrayVectorType(ResultTy, true); in ParseStructDefinition()
2174 return ParseType(ResultTy); in ParseStructDefinition()
2192 ResultTy = STy; in ParseStructDefinition()
/external/clang/lib/AST/
DASTContext.cpp2980 ASTContext::getFunctionNoProtoType(QualType ResultTy, in getFunctionNoProtoType() argument
2987 FunctionNoProtoType::Profile(ID, ResultTy, Info); in getFunctionNoProtoType()
2995 if (!ResultTy.isCanonical()) { in getFunctionNoProtoType()
2996 Canonical = getFunctionNoProtoType(getCanonicalType(ResultTy), Info); in getFunctionNoProtoType()
3006 FunctionNoProtoType(ResultTy, Canonical, newInfo); in getFunctionNoProtoType()
3035 ASTContext::getFunctionType(QualType ResultTy, ArrayRef<QualType> ArgArray, in getFunctionType() argument
3042 FunctionProtoType::Profile(ID, ResultTy, ArgArray.begin(), NumArgs, EPI, in getFunctionType()
3052 EPI.ExceptionSpec.Type == EST_None && isCanonicalResultType(ResultTy) && in getFunctionType()
3072 CanQualType CanResultTy = getCanonicalFunctionResultType(ResultTy); in getFunctionType()
3105 new (FTP) FunctionProtoType(ResultTy, ArgArray, Canonical, newEPI); in getFunctionType()
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp2619 QualType ResultTy = OMethod->getReturnType(); in getOrCreateFunctionType() local
2622 if (ResultTy == CGM.getContext().getObjCInstanceType()) in getOrCreateFunctionType()
2623 ResultTy = CGM.getContext().getPointerType( in getOrCreateFunctionType()
2626 Elts.push_back(getOrCreateType(ResultTy, F)); in getOrCreateFunctionType()
/external/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp709 const DataLayout &DL, MCContext &Ctx, CallingConv::ID CC, Type *ResultTy, in setCallee() argument
714 return setCallee(CC, ResultTy, Sym, std::move(ArgsList), FixedArgs); in setCallee()

12