Home
last modified time | relevance | path

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

12

/external/libbrillo/brillo/dbus/
Ddbus_object_test_helpers.h80 template<typename RetType>
91 static RetType Call( in Call()
94 void(Class::*method)(std::unique_ptr<DBusMethodResponse<RetType>>, in Call()
100 std::unique_ptr<DBusMethodResponse<RetType>> method_response{ in Call()
101 new DBusMethodResponse<RetType>( in Call()
108 RetType ret_val; in Call()
/external/llvm/lib/Transforms/IPO/
DWholeProgramDevirt.cpp278 bool tryUniformRetValOpt(IntegerType *RetType,
444 IntegerType *RetType, ArrayRef<VirtualCallTarget> TargetsForSlot, in tryUniformRetValOpt() argument
453 auto TheRetValConst = ConstantInt::get(RetType, TheRetVal); in tryUniformRetValOpt()
502 auto RetType = dyn_cast<IntegerType>(TargetsForSlot[0].Fn->getReturnType()); in tryVirtualConstProp() local
503 if (!RetType) in tryVirtualConstProp()
505 unsigned BitWidth = RetType->getBitWidth(); in tryVirtualConstProp()
515 Target.Fn->getReturnType() != RetType) in tryVirtualConstProp()
536 if (VCallSite.CS.getType() != RetType) in tryVirtualConstProp()
554 if (tryUniformRetValOpt(RetType, TargetsForSlot, CSByConstantArg.second)) in tryVirtualConstProp()
604 Value *ValAddr = B.CreateBitCast(Addr, RetType->getPointerTo()); in tryVirtualConstProp()
[all …]
/external/clang/test/CodeGen/
Dxcore-stringtype.c94 typedef int RetType[2]; typedef
95 RetType* arrayType(int A1[], int const volatile A2[2], int A3[][2], in arrayType()
/external/llvm/lib/Target/Mips/
DMipsOs16.cpp53 Type* RetType = F.getReturnType(); in needsFPFromSig() local
54 switch (RetType->getTypeID()) { in needsFPFromSig()
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()
DMipsAsmPrinter.cpp885 const char *RetType; in EmitFPCallStub() local
893 RetType = "float"; in EmitFPCallStub()
896 RetType = "double"; in EmitFPCallStub()
899 RetType = "complex"; in EmitFPCallStub()
902 RetType = "double complex"; in EmitFPCallStub()
905 RetType = ""; in EmitFPCallStub()
932 OutStreamer->AddComment("\t# Stub function to call " + Twine(RetType) + " " + in EmitFPCallStub()
/external/guice/core/test/com/google/inject/
DMethodInterceptionTest.java275 static class RetType extends ErasedType {} class in MethodInterceptionTest
280 RetType aMethod(RetType obj); in aMethod()
282 public static class Impl extends Superclass<RetType> implements Interface {
/external/tensorflow/tensorflow/core/framework/
Dtensor_types.h121 TensorType::NumIndices>::Tensor32Bit RetType; in To32Bit() typedef
122 return RetType(in.data(), To32BitDims(in.dimensions())); in To32Bit()
/external/clang/lib/Sema/
DSemaCoroutine.cpp427 QualType RetType = FD->getReturnType(); in CheckCompletedCoroutineBody() local
428 if (!RetType->isDependentType()) { in CheckCompletedCoroutineBody()
430 InitializedEntity::InitializeResult(Loc, RetType, false); in CheckCompletedCoroutineBody()
431 ReturnObject = PerformMoveOrCopyInitialization(Entity, nullptr, RetType, in CheckCompletedCoroutineBody()
DSemaStmt.cpp3343 QualType RetType = RelatedRetType.isNull() ? FnRetType : RelatedRetType; in BuildReturnStmt() local
3356 RetType, in BuildReturnStmt()
3359 RetType, RetValExp); in BuildReturnStmt()
/external/spirv-llvm/test/SPIRV/transcoding/
DOpImageSampleExplicitLod.ll10 ; CHECK-SPIRV-DAG: 7 ImageSampleExplicitLod [[RetType:[0-9]+]] [[RetID:[0-9]+]] {{[0-9]+}} {{[0-9]+…
11 ; CHECK-SPIRV-DAG: 4 TypeVector [[RetType]] {{[0-9]+}} 4
/external/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp385 Type *RetType = T->getReturnType(); in getArgsFunctionType() local
386 if (!RetType->isVoidTy()) in getArgsFunctionType()
387 RetType = StructType::get(RetType, ShadowTy, (Type *)nullptr); in getArgsFunctionType()
388 return FunctionType::get(RetType, ArgTypes, T->isVarArg()); in getArgsFunctionType()
397 Type *RetType = T->getReturnType(); in getTrampolineFunctionType() local
398 if (!RetType->isVoidTy()) in getTrampolineFunctionType()
420 Type *RetType = T->getReturnType(); in getCustomFunctionType() local
421 if (!RetType->isVoidTy()) in getCustomFunctionType()
/external/clang/lib/Analysis/
DConsumed.cpp690 QualType RetType = Fun->getCallResultType(); in propagateReturnType() local
691 if (RetType->isReferenceType()) in propagateReturnType()
692 RetType = RetType->getPointeeType(); in propagateReturnType()
694 if (isConsumableType(RetType)) { in propagateReturnType()
699 ReturnState = mapConsumableAttrState(RetType); in propagateReturnType()
/external/llvm/lib/AsmParser/
DLLParser.cpp4558 Type *RetType = nullptr; in ParseFunctionHeader() local
4562 ParseType(RetType, RetTypeLoc, true /*void allowed*/)) in ParseFunctionHeader()
4592 if (!FunctionType::isValidReturnType(RetType)) in ParseFunctionHeader()
4663 Attrs.push_back(AttributeSet::get(RetType->getContext(), in ParseFunctionHeader()
4671 Attrs.push_back(AttributeSet::get(RetType->getContext(), i + 1, B)); in ParseFunctionHeader()
4676 Attrs.push_back(AttributeSet::get(RetType->getContext(), in ParseFunctionHeader()
4682 if (PAL.hasAttribute(1, Attribute::StructRet) && !RetType->isVoidTy()) in ParseFunctionHeader()
4686 FunctionType::get(RetType, ParamTypeList, isVarArg); in ParseFunctionHeader()
5249 Type *RetType = nullptr; in ParseInvoke() local
5257 ParseType(RetType, RetTypeLoc, true /*void allowed*/) || in ParseInvoke()
[all …]
/external/llvm/include/llvm/Support/
DCasting.h44 RetType;
45 static RetType getSimplifiedValue(const From& Val) {
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DCasting.h44 RetType;
45 static RetType getSimplifiedValue(const From& Val) {
/external/swiftshader/third_party/LLVM/lib/AsmParser/
DLLParser.cpp2590 Type *RetType = 0; in ParseFunctionHeader() local
2596 ParseType(RetType, RetTypeLoc, true /*void allowed*/)) in ParseFunctionHeader()
2627 if (!FunctionType::isValidReturnType(RetType)) in ParseFunctionHeader()
2695 if (PAL.paramHasAttr(1, Attribute::StructRet) && !RetType->isVoidTy()) in ParseFunctionHeader()
2699 FunctionType::get(RetType, ParamTypeList, isVarArg); in ParseFunctionHeader()
3174 Type *RetType = 0; in ParseInvoke() local
3182 ParseType(RetType, RetTypeLoc, true /*void allowed*/) || in ParseInvoke()
3197 if (!(PFTy = dyn_cast<PointerType>(RetType)) || in ParseInvoke()
3204 if (!FunctionType::isValidReturnType(RetType)) in ParseInvoke()
3207 Ty = FunctionType::get(RetType, ParamTypes, false); in ParseInvoke()
[all …]
/external/llvm/lib/DebugInfo/PDB/DIA/
DDIARawSymbol.cpp98 template <typename ArgType, typename RetType>
99 RetType PrivateGetDIAValue(IDiaSymbol *Symbol, in PrivateGetDIAValue()
103 return static_cast<RetType>(Value); in PrivateGetDIAValue()
105 return RetType(); in PrivateGetDIAValue()
/external/clang/lib/StaticAnalyzer/Checkers/
DNullabilityChecker.cpp847 QualType RetType = Decl->getReturnType(); in checkPostObjCMessage() local
848 if (!RetType->isAnyPointerType()) in checkPostObjCMessage()
933 Nullability RetNullability = getNullabilityAnnotation(RetType); in checkPostObjCMessage()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp1563 auto RetType = cast<VectorType>(II->getType()); in visitCallInst() local
1565 unsigned RetWidth = RetType->getNumElements(); in visitCallInst()
1570 assert(RetType->getScalarType()->isFloatTy() && in visitCallInst()
1575 return replaceInstUsesWith(*II, ConstantAggregateZero::get(RetType)); in visitCallInst()
1591 auto VectorFloats = Builder->CreateFPExt(VectorHalfs, RetType); in visitCallInst()
/external/clang/lib/CodeGen/
DCGClass.cpp2228 QualType RetType = BuildFunctionArgList(CurGD, Params); in EmitInlinedInheritingCXXConstructorCall() local
2229 FnRetTy = RetType; in EmitInlinedInheritingCXXConstructorCall()
2251 if (!RetType->isVoidType()) in EmitInlinedInheritingCXXConstructorCall()
2252 ReturnValue = CreateIRTemp(RetType, "retval.inhctor"); in EmitInlinedInheritingCXXConstructorCall()
DCGOpenMPRuntime.cpp6296 QualType RetType = FD->getReturnType(); in evaluateCDTSize() local
6297 if (RetType.isNull()) in evaluateCDTSize()
6301 if (!RetType.isNull() && !RetType->isVoidType()) in evaluateCDTSize()
6302 CDT = RetType; in evaluateCDTSize()
/external/clang/lib/AST/
DDecl.cpp2932 QualType RetType = getReturnType(); in getUnusedResultAttr() local
2933 if (RetType->isRecordType()) { in getUnusedResultAttr()
2934 const CXXRecordDecl *Ret = RetType->getAsCXXRecordDecl(); in getUnusedResultAttr()
2940 } else if (const auto *ET = RetType->getAs<EnumType>()) { in getUnusedResultAttr()
/external/protobuf/src/google/protobuf/
Drepeated_field.h335 template<typename U, typename RetType, RetType (U::*)(const U& arg)>
/external/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp3399 const EVT RetType[] = {MVT::i32, MVT::i32, MVT::Other}; in Select() local
3401 ReplaceNode(N, CurDAG->getMachineNode(Opc, dl, RetType, Ops)); in Select()

12