| /llvm-project-15.0.7/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVInstructionSelector.cpp | 240 if (spvSelect(ResVReg, ResType, I)) { in select() 288 return selectICmp(ResVReg, ResType, I); in spvSelect() 290 return selectFCmp(ResVReg, ResType, I); in spvSelect() 296 return selectLoad(ResVReg, ResType, I); in spvSelect() 306 return selectPhi(ResVReg, ResType, I); in spvSelect() 403 .addUse(GR.getSPIRVTypeID(ResType)) in selectUnOpWithSrc() 527 .addUse(GR.getSPIRVTypeID(ResType)) in selectAtomicRMW() 787 .addUse(GR.getSPIRVTypeID(ResType)) in selectBitreverse() 832 .addUse(GR.getSPIRVTypeID(ResType)) in selectCmp() 876 ResType ? ResType : GR.getOrCreateSPIRVIntegerType(32, I, TII); in buildI32Constant() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonPatternsHVX.td | 119 def: Pat<(ResType (Load AddrFI:$fi)), (ResType (MI AddrFI:$fi, 0))>; 124 def: Pat<(ResType (Load (add I32:$Rt, ImmPred:$Off))), 126 def: Pat<(ResType (Load I32:$Rt)), 134 def: Pat<(ResType (Load (HexagonCP tconstpool:$Addr))), 142 defm: HvxLdfi_pat<MI, Load, ResType, ImmPred>; 143 defm: HvxLdgi_pat<MI, Load, ResType, ImmPred>; 144 defm: HvxLdc_pat <MI, Load, ResType>; 151 def: Pat<(ResType (Load (valignaddr I32:$Rt))), 156 defm: HvxLd_pat<MI, Load, ResType, ImmPred>; 459 : Pat<(ResType (Op RsPred:$Rs, RtPred:$Rt)), [all …]
|
| H A D | HexagonPatterns.td | 316 class OpR_RI_pat<InstHexagon MI, PatFrag Op, ValueType ResType, 318 : Pat<(ResType (Op RegPred:$Rs, ImmPred:$I)), 321 class OpR_RR_pat<InstHexagon MI, PatFrag Op, ValueType ResType, 323 : Pat<(ResType (Op RsPred:$Rs, RtPred:$Rt)), 712 class OpmR_RR_pat<PatFrag Output, PatFrag Op, ValueType ResType, 714 : Pat<(ResType (Op RsPred:$Rs, RtPred:$Rt)),
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPrintfRuntimeBinding.cpp | 219 llvm::Type *ResType = llvm::Type::getInt32Ty(Ctx); in lowerPrintfForGpu() local 223 ResType = llvm::FixedVectorType::get(ResType, NumElem); in lowerPrintfForGpu() 230 Arg = Builder.CreateZExt(Arg, ResType); in lowerPrintfForGpu() 232 Arg = Builder.CreateSExt(Arg, ResType); in lowerPrintfForGpu()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | TargetInfo.cpp | 3640 llvm::Type *ResType = nullptr; in classifyReturnType() local 3730 ResType = GetByteVectorType(RetTy); in classifyReturnType() 3752 ResType = GetX86_64ByValArgumentPair(ResType, HighPart, getDataLayout()); in classifyReturnType() 3754 return ABIArgInfo::getDirect(ResType); in classifyReturnType() 3773 llvm::Type *ResType = nullptr; in classifyArgumentType() local 3872 ResType = GetByteVectorType(Ty); in classifyArgumentType() 3880 ResType = GetX86_64ByValArgumentPair(ResType, HighPart, getDataLayout()); in classifyArgumentType() 3882 return ABIArgInfo::getDirect(ResType); in classifyArgumentType() 5738 auto *ResType = in coerceIllegalVector() local 5743 auto *ResType = in coerceIllegalVector() local [all …]
|
| H A D | CGBuiltin.cpp | 758 return emitBuiltinObjectSize(E, Type, ResType, EmittedE, IsDynamic); in evaluateOrEmitBuiltinObjectSize() 759 return ConstantInt::get(ResType, ObjectSize, /*isSigned=*/true); in evaluateOrEmitBuiltinObjectSize() 773 llvm::IntegerType *ResType, in emitBuiltinObjectSize() argument 798 return getDefaultBuiltinObjectSizeResult(Type, ResType); in emitBuiltinObjectSize() 805 CGM.getIntrinsic(Intrinsic::objectsize, {ResType, Ptr->getType()}); in emitBuiltinObjectSize() 2906 auto *ResType = cast<llvm::IntegerType>(ConvertType(E->getType())); in EmitBuiltinExpr() local 9956 llvm::Type *ResType = ConvertType(E->getType()); in EmitAArch64BuiltinExpr() local 9973 HigherBits = Builder.CreateIntCast(HigherBits, ResType, IsSigned); in EmitAArch64BuiltinExpr() 14972 llvm::Type *ResType = ConvertType(E->getType()); in EmitX86BuiltinExpr() local 14987 HigherBits = Builder.CreateIntCast(HigherBits, ResType, IsSigned); in EmitX86BuiltinExpr() [all …]
|
| H A D | CodeGenFunction.h | 4709 llvm::IntegerType *ResType, 4717 llvm::IntegerType *ResType,
|
| H A D | CGStmtOpenMP.cpp | 6172 QualType SourceType, QualType ResType, in convertToType() argument 6174 switch (CGF.getEvaluationKind(ResType)) { in convertToType() 6177 convertToScalarValue(CGF, Value, SourceType, ResType, Loc)); in convertToType() 6179 auto Res = convertToComplexValue(CGF, Value, SourceType, ResType, Loc); in convertToType()
|
| /llvm-project-15.0.7/llvm/tools/llvm-rc/ |
| H A D | ResourceFileWriter.cpp | 556 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()
|
| /llvm-project-15.0.7/llvm/utils/unittest/googlemock/include/gmock/ |
| H A D | gmock-matchers.h | 1877 template <typename ArgType, typename ResType> 1878 struct CallableTraits<ResType(*)(ArgType)> { 1879 typedef ResType ResultType; 1880 typedef ResType(*StorageType)(ArgType); 1882 static void CheckIsValid(ResType(*f)(ArgType)) { 1887 static ResType Invoke(ResType(*f)(ArgType), T arg) {
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaExpr.cpp | 10951 QualType ResType = Operand->getType(); in checkArithmeticIncompletePointerType() local 10955 assert(ResType->isAnyPointerType() && !ResType->isDependentType()); in checkArithmeticIncompletePointerType() 10973 QualType ResType = Operand->getType(); in checkArithmeticOpPointerOperand() local 14082 QualType ResType = Op->getType(); in CheckIncrementDecrementOperand() local 14105 } else if (ResType->isRealType()) { in CheckIncrementDecrementOperand() 14107 } else if (ResType->isPointerType()) { in CheckIncrementDecrementOperand() 14117 } else if (ResType->isAnyComplexType()) { in CheckIncrementDecrementOperand() 14120 << ResType << Op->getSourceRange(); in CheckIncrementDecrementOperand() 14148 << IsInc << ResType; in CheckIncrementDecrementOperand() 14156 return ResType; in CheckIncrementDecrementOperand() [all …]
|
| /llvm-project-15.0.7/clang/lib/ARCMigrate/ |
| H A D | ObjCMT.cpp | 496 QualType ResType = Context.getCanonicalType(Getter->getReturnType()); in rewriteToObjCProperty() local 497 if (const char *MemoryManagementAttr = PropertyMemoryAttribute(Context, ResType)) in rewriteToObjCProperty()
|
| /llvm-project-15.0.7/llvm/lib/AsmParser/ |
| H A D | LLParser.cpp | 6224 Type *ResType = PFS.getFunction().getReturnType(); in parseRet() local 6227 if (!ResType->isVoidTy()) in parseRet() 6229 getTypeString(ResType) + "'"); in parseRet() 6239 if (ResType != RV->getType()) in parseRet() 6241 getTypeString(ResType) + "'"); in parseRet()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | Expr.h | 4065 QualType ResType, ExprValueKind VK, ExprObjectKind OK, in CompoundAssignOperator() argument 4068 : BinaryOperator(C, lhs, rhs, opc, ResType, VK, OK, OpLoc, FPFeatures, in CompoundAssignOperator()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ASTContext.cpp | 11292 QualType ResType = DecodeTypeFromStr(TypeStr, *this, Error, in GetBuiltinType() local 11331 return getFunctionNoProtoType(ResType, EI); in GetBuiltinType() 11340 return getFunctionType(ResType, ArgTypes, EPI); in GetBuiltinType()
|