Home
last modified time | relevance | path

Searched refs:ResType (Results 1 – 15 of 15) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonPatternsHVX.td98 multiclass HvxLdfi_pat<InstHexagon MI, PatFrag Load, ValueType ResType,
100 def: Pat<(ResType (Load (add (i32 AddrFI:$fi), ImmPred:$Off))),
102 def: Pat<(ResType (Load (IsOrAdd (i32 AddrFI:$fi), ImmPred:$Off))),
104 def: Pat<(ResType (Load AddrFI:$fi)), (ResType (MI AddrFI:$fi, 0))>;
107 multiclass HvxLdgi_pat<InstHexagon MI, PatFrag Load, ValueType ResType,
109 def: Pat<(ResType (Load (add I32:$Rt, ImmPred:$Off))),
111 def: Pat<(ResType (Load I32:$Rt)),
115 multiclass HvxLdc_pat<InstHexagon MI, PatFrag Load, ValueType ResType> {
119 def: Pat<(ResType (Load (HexagonCP tconstpool:$Addr))),
121 def: Pat<(ResType (Load (HexagonAtPcrel tconstpool:$Addr))),
[all …]
H A DHexagonPatterns.td325 class OpR_RI_pat<InstHexagon MI, PatFrag Op, ValueType ResType,
327 : Pat<(ResType (Op RegPred:$Rs, ImmPred:$I)),
330 class OpR_RR_pat<InstHexagon MI, PatFrag Op, ValueType ResType,
332 : Pat<(ResType (Op RsPred:$Rs, RtPred:$Rt)),
715 class OpmR_RR_pat<PatFrag Output, PatFrag Op, ValueType ResType,
717 : Pat<(ResType (Op RsPred:$Rs, RtPred:$Rt)),
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUPrintfRuntimeBinding.cpp218 llvm::Type *ResType = llvm::Type::getInt32Ty(Ctx); in lowerPrintfForGpu() local
222 ResType = llvm::FixedVectorType::get(ResType, NumElem); in lowerPrintfForGpu()
229 Arg = Builder.CreateZExt(Arg, ResType); in lowerPrintfForGpu()
231 Arg = Builder.CreateSExt(Arg, ResType); in lowerPrintfForGpu()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DTargetInfo.cpp3556 llvm::Type *ResType = nullptr; in classifyReturnType() local
3579 ResType = GetINTEGERTypeAtOffset(CGT.ConvertType(RetTy), 0, RetTy, 0); in classifyReturnType()
3583 if (Hi == NoClass && isa<llvm::IntegerType>(ResType)) { in classifyReturnType()
3597 ResType = GetSSETypeAtOffset(CGT.ConvertType(RetTy), 0, RetTy, 0); in classifyReturnType()
3603 ResType = llvm::Type::getX86_FP80Ty(getVMContext()); in classifyReturnType()
3611 ResType = llvm::StructType::get(llvm::Type::getX86_FP80Ty(getVMContext()), in classifyReturnType()
3646 ResType = GetByteVectorType(RetTy); in classifyReturnType()
3668 ResType = GetX86_64ByValArgumentPair(ResType, HighPart, getDataLayout()); in classifyReturnType()
3670 return ABIArgInfo::getDirect(ResType); in classifyReturnType()
3690 llvm::Type *ResType = nullptr; in classifyArgumentType() local
[all …]
H A DCGBuiltin.cpp723 getDefaultBuiltinObjectSizeResult(unsigned Type, llvm::IntegerType *ResType) { in getDefaultBuiltinObjectSizeResult() argument
724 return ConstantInt::get(ResType, (Type & 2) ? 0 : -1, /*isSigned=*/true); in getDefaultBuiltinObjectSizeResult()
729 llvm::IntegerType *ResType, in evaluateOrEmitBuiltinObjectSize() argument
734 return emitBuiltinObjectSize(E, Type, ResType, EmittedE, IsDynamic); in evaluateOrEmitBuiltinObjectSize()
735 return ConstantInt::get(ResType, ObjectSize, /*isSigned=*/true); in evaluateOrEmitBuiltinObjectSize()
749 llvm::IntegerType *ResType, in emitBuiltinObjectSize() argument
774 return getDefaultBuiltinObjectSizeResult(Type, ResType); in emitBuiltinObjectSize()
781 CGM.getIntrinsic(Intrinsic::objectsize, {ResType, Ptr->getType()}); in emitBuiltinObjectSize()
2905 auto *ResType = cast<llvm::IntegerType>(ConvertType(E->getType())); in EmitBuiltinExpr() local
2910 return RValue::get(emitBuiltinObjectSize(E->getArg(0), Type, ResType, in EmitBuiltinExpr()
[all …]
H A DCGStmtOpenMP.cpp5615 QualType SourceType, QualType ResType, in convertToType() argument
5617 switch (CGF.getEvaluationKind(ResType)) { in convertToType()
5620 convertToScalarValue(CGF, Value, SourceType, ResType, Loc)); in convertToType()
5622 auto Res = convertToComplexValue(CGF, Value, SourceType, ResType, Loc); in convertToType()
H A DCodeGenFunction.h4634 llvm::IntegerType *ResType,
4642 llvm::IntegerType *ResType,
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-rc/
H A DResourceFileWriter.cpp556 auto ResType = Res->getResourceType(); in writeResource() local
557 RETURN_IF_ERROR(checkIntOrString(ResType, "Resource type")); in writeResource()
559 RETURN_IF_ERROR(handleError(writeIdentifier(ResType), Res)); in writeResource()
784 ulittle16_t ResType; // 1 for icons, 2 for cursors. member
902 if (Header->ResType != NeededType) in visitIconOrCursorResource()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaExpr.cpp10403 QualType ResType = Operand->getType(); in checkArithmeticIncompletePointerType() local
10404 if (const AtomicType *ResAtomicType = ResType->getAs<AtomicType>()) in checkArithmeticIncompletePointerType()
10405 ResType = ResAtomicType->getValueType(); in checkArithmeticIncompletePointerType()
10407 assert(ResType->isAnyPointerType() && !ResType->isDependentType()); in checkArithmeticIncompletePointerType()
10408 QualType PointeeTy = ResType->getPointeeType(); in checkArithmeticIncompletePointerType()
10425 QualType ResType = Operand->getType(); in checkArithmeticOpPointerOperand() local
10426 if (const AtomicType *ResAtomicType = ResType->getAs<AtomicType>()) in checkArithmeticOpPointerOperand()
10427 ResType = ResAtomicType->getValueType(); in checkArithmeticOpPointerOperand()
10429 if (!ResType->isAnyPointerType()) return true; in checkArithmeticOpPointerOperand()
10431 QualType PointeeTy = ResType->getPointeeType(); in checkArithmeticOpPointerOperand()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/utils/unittest/googlemock/include/gmock/
H A Dgmock-matchers.h1876 template <typename ArgType, typename ResType>
1877 struct CallableTraits<ResType(*)(ArgType)> {
1878 typedef ResType ResultType;
1879 typedef ResType(*StorageType)(ArgType);
1881 static void CheckIsValid(ResType(*f)(ArgType)) {
1886 static ResType Invoke(ResType(*f)(ArgType), T arg) {
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp2710 Type *ResType = I.getType(); in translateAtomicCmpXchg() local
2711 Type *ValType = ResType->Type::getStructElementType(0); in translateAtomicCmpXchg()
2738 Type *ResType = I.getType(); in translateAtomicRMW() local
2795 Flags, DL->getTypeStoreSize(ResType), in translateAtomicRMW()
/netbsd-src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A DObjCMT.cpp497 QualType ResType = Context.getCanonicalType(Getter->getReturnType()); in rewriteToObjCProperty() local
498 if (const char *MemoryManagementAttr = PropertyMemoryAttribute(Context, ResType)) in rewriteToObjCProperty()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/AsmParser/
H A DLLParser.cpp6400 Type *ResType = PFS.getFunction().getReturnType(); in parseRet() local
6403 if (!ResType->isVoidTy()) in parseRet()
6405 getTypeString(ResType) + "'"); in parseRet()
6415 if (ResType != RV->getType()) in parseRet()
6417 getTypeString(ResType) + "'"); in parseRet()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DExpr.h3987 QualType ResType, ExprValueKind VK, ExprObjectKind OK, in CompoundAssignOperator() argument
3990 : BinaryOperator(C, lhs, rhs, opc, ResType, VK, OK, OpLoc, FPFeatures, in CompoundAssignOperator()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DASTContext.cpp10608 QualType ResType = DecodeTypeFromStr(TypeStr, *this, Error, in GetBuiltinType() local
10647 return getFunctionNoProtoType(ResType, EI); in GetBuiltinType()
10656 return getFunctionType(ResType, ArgTypes, EPI); in GetBuiltinType()