Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVInstructionSelector.cpp111 bool spvSelect(Register ResVReg, const SPIRVType *ResType,
117 bool selectUnOpWithSrc(Register ResVReg, const SPIRVType *ResType,
120 bool selectUnOp(Register ResVReg, const SPIRVType *ResType, MachineInstr &I,
123 bool selectBitcast(Register ResVReg, const SPIRVType *ResType,
126 bool selectLoad(Register ResVReg, const SPIRVType *ResType,
130 bool selectStackSave(Register ResVReg, const SPIRVType *ResType,
136 bool selectAtomicRMW(Register ResVReg, const SPIRVType *ResType,
140 bool selectAtomicCmpXchg(Register ResVReg, const SPIRVType *ResType,
145 bool selectAddrSpaceCast(Register ResVReg, const SPIRVType *ResType,
148 bool selectAnyOrAll(Register ResVReg, const SPIRVType *ResType,
[all …]
H A DSPIRVPostLegalizer.cpp101 SPIRVType *ResType = GR->getSPIRVTypeForVReg(ResVReg); in processNewInstrs() local
102 if (!ResType) { in processNewInstrs()
104 ResType = ScalarType; in processNewInstrs()
107 LLT::scalar(GR->getScalarOrVectorBitWidth(ResType))); in processNewInstrs()
108 GR->assignSPIRVTypeToVReg(ResType, ResVReg, *GR->CurMF); in processNewInstrs()
H A DSPIRVISelLowering.cpp135 bool EmitIR, SPIRVType *ResType, in createNewPtrType() argument
142 ReuseType ? ResType in createNewPtrType()
153 SPIRVType *ResType, const Type *ResTy = nullptr) { in validatePtrTypes() argument
159 if (!ResType || !OpType || OpType->getOpcode() != SPIRV::OpTypePointer) in validatePtrTypes()
167 bool IsSameMF = MF == ResType->getParent()->getParent(); in validatePtrTypes()
168 bool IsEqualTypes = IsSameMF ? ElemType == ResType in validatePtrTypes()
175 createNewPtrType(GR, I, OpType, IsSameMF, false, ResType, ResTy); in validatePtrTypes()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DAArch64.cpp221 llvm::ScalableVectorType *ResType = nullptr; in coerceIllegalVector() local
227 ResType = llvm::ScalableVectorType::get( in coerceIllegalVector()
232 ResType = llvm::ScalableVectorType::get( in coerceIllegalVector()
237 ResType = llvm::ScalableVectorType::get( in coerceIllegalVector()
242 ResType = llvm::ScalableVectorType::get( in coerceIllegalVector()
246 ResType = llvm::ScalableVectorType::get( in coerceIllegalVector()
250 ResType = llvm::ScalableVectorType::get( in coerceIllegalVector()
254 ResType = llvm::ScalableVectorType::get( in coerceIllegalVector()
258 ResType = llvm::ScalableVectorType::get( in coerceIllegalVector()
262 return ABIArgInfo::getDirect(ResType); in coerceIllegalVector()
[all …]
H A DX86.cpp2590 llvm::Type *ResType = nullptr; in classifyReturnType() local
2613 ResType = GetINTEGERTypeAtOffset(CGT.ConvertType(RetTy), 0, RetTy, 0); in classifyReturnType()
2617 if (Hi == NoClass && isa<llvm::IntegerType>(ResType)) { in classifyReturnType()
2631 ResType = GetSSETypeAtOffset(CGT.ConvertType(RetTy), 0, RetTy, 0); in classifyReturnType()
2637 ResType = llvm::Type::getX86_FP80Ty(getVMContext()); in classifyReturnType()
2645 ResType = llvm::StructType::get(llvm::Type::getX86_FP80Ty(getVMContext()), in classifyReturnType()
2680 ResType = GetByteVectorType(RetTy); in classifyReturnType()
2702 ResType = GetX86_64ByValArgumentPair(ResType, HighPart, getDataLayout()); in classifyReturnType()
2704 return ABIArgInfo::getDirect(ResType); in classifyReturnType()
2723 llvm::Type *ResType = nullptr; in classifyArgumentType() local
[all …]
H A DARM.cpp292 llvm::Type *ResType = in coerceIllegalVector() local
294 return ABIArgInfo::getDirect(ResType); in coerceIllegalVector()
297 auto *ResType = llvm::FixedVectorType::get( in coerceIllegalVector() local
299 return ABIArgInfo::getDirect(ResType); in coerceIllegalVector()
H A DRISCV.cpp344 llvm::ScalableVectorType *ResType = in coerceVLSVector() local
346 return ABIArgInfo::getDirect(ResType); in coerceVLSVector()
/freebsd/sys/contrib/edk2/Include/IndustryStandard/
H A DAcpi10.h118 UINT8 ResType;
234 UINT8 ResType;
249 UINT8 ResType;
264 UINT8 ResType;
H A DAcpi30.h30 UINT8 ResType;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopIdiomVectorize.cpp380 Type *ResType = Builder.getInt32Ty(); in createMaskedFindMismatch() local
474 Intrinsic::experimental_cttz_elts, {ResType, PredMatchCmp->getType()}, in createMaskedFindMismatch()
479 return Builder.CreateTrunc(VectorLoopRes64, ResType); in createMaskedFindMismatch()
487 Type *ResType = I32Type; in createPredicatedFindMismatch() local
538 Intrinsic::vp_cttz_elts, {ResType, VectorMatchCmp->getType()}, in createPredicatedFindMismatch()
582 return Builder.CreateTrunc(VectorLoopRes64, ResType); in createPredicatedFindMismatch()
596 Type *ResType = Builder.getInt32Ty(); in expandFindMismatch() local
774 PHINode *IndexPhi = Builder.CreatePHI(ResType, 2, "mismatch_index"); in expandFindMismatch()
799 Value *PhiInc = Builder.CreateAdd(IndexPhi, ConstantInt::get(ResType, 1), "", in expandFindMismatch()
818 PHINode *ResPhi = Builder.CreatePHI(ResType, 4, "mismatch_result"); in expandFindMismatch()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPrintfRuntimeBinding.cpp192 Type *ResType = Type::getInt32Ty(Ctx); in lowerPrintfForGpu() local
194 ResType = VectorType::get(ResType, VecType->getElementCount()); in lowerPrintfForGpu()
208 Arg = Builder.CreateZExt(Arg, ResType); in lowerPrintfForGpu()
210 Arg = Builder.CreateSExt(Arg, ResType); in lowerPrintfForGpu()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonPatternsHVX.td124 multiclass HvxLdfi_pat<InstHexagon MI, PatFrag Load, ValueType ResType,
126 def: Pat<(ResType (Load (add (i32 AddrFI:$fi), ImmPred:$Off))),
128 def: Pat<(ResType (Load (IsOrAdd (i32 AddrFI:$fi), ImmPred:$Off))),
130 def: Pat<(ResType (Load AddrFI:$fi)), (ResType (MI AddrFI:$fi, 0))>;
133 multiclass HvxLdgi_pat<InstHexagon MI, PatFrag Load, ValueType ResType,
135 def: Pat<(ResType (Load (add I32:$Rt, ImmPred:$Off))),
137 def: Pat<(ResType (Load I32:$Rt)),
141 multiclass HvxLdc_pat<InstHexagon MI, PatFrag Load, ValueType ResType> {
145 def: Pat<(ResType (Load (HexagonCP tconstpool:$Addr))),
147 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)),
751 class OpmR_RR_pat<PatFrag Output, PatFrag Op, ValueType ResType,
753 : Pat<(ResType (Op RsPred:$Rs, RtPred:$Rt)),
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp10648 QualType ResType = Operand->getType(); in checkArithmeticIncompletePointerType() local
10649 if (const AtomicType *ResAtomicType = ResType->getAs<AtomicType>()) in checkArithmeticIncompletePointerType()
10650 ResType = ResAtomicType->getValueType(); in checkArithmeticIncompletePointerType()
10652 assert(ResType->isAnyPointerType()); in checkArithmeticIncompletePointerType()
10653 QualType PointeeTy = ResType->getPointeeType(); in checkArithmeticIncompletePointerType()
10670 QualType ResType = Operand->getType(); in checkArithmeticOpPointerOperand() local
10671 if (const AtomicType *ResAtomicType = ResType->getAs<AtomicType>()) in checkArithmeticOpPointerOperand()
10672 ResType = ResAtomicType->getValueType(); in checkArithmeticOpPointerOperand()
10674 if (!ResType->isAnyPointerType()) return true; in checkArithmeticOpPointerOperand()
10676 QualType PointeeTy = ResType->getPointeeType(); in checkArithmeticOpPointerOperand()
[all …]
/freebsd/contrib/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h2193 template <typename ArgType, typename ResType>
2194 struct CallableTraits<ResType (*)(ArgType)> {
2195 typedef ResType ResultType;
2196 typedef ResType (*StorageType)(ArgType);
2198 static void CheckIsValid(ResType (*f)(ArgType)) {
2203 static ResType Invoke(ResType (*f)(ArgType), T arg) {
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DObjCMT.cpp493 QualType ResType = Context.getCanonicalType(Getter->getReturnType()); in rewriteToObjCProperty() local
494 if (const char *MemoryManagementAttr = PropertyMemoryAttribute(Context, ResType)) in rewriteToObjCProperty()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp817 getDefaultBuiltinObjectSizeResult(unsigned Type, llvm::IntegerType *ResType) { in getDefaultBuiltinObjectSizeResult() argument
818 return ConstantInt::get(ResType, (Type & 2) ? 0 : -1, /*isSigned=*/true); in getDefaultBuiltinObjectSizeResult()
823 llvm::IntegerType *ResType, in evaluateOrEmitBuiltinObjectSize() argument
828 return emitBuiltinObjectSize(E, Type, ResType, EmittedE, IsDynamic); in evaluateOrEmitBuiltinObjectSize()
829 return ConstantInt::get(ResType, ObjectSize, /*isSigned=*/true); in evaluateOrEmitBuiltinObjectSize()
886 llvm::IntegerType *ResType) { in emitFlexibleArrayMemberSize() argument
927 return getDefaultBuiltinObjectSizeResult(Type, ResType); in emitFlexibleArrayMemberSize()
1026 return getDefaultBuiltinObjectSizeResult(Type, ResType); in emitFlexibleArrayMemberSize()
1028 CountedByInst = Builder.CreateIntCast(CountedByInst, ResType, IsSigned); in emitFlexibleArrayMemberSize()
1035 return getDefaultBuiltinObjectSizeResult(Type, ResType); in emitFlexibleArrayMemberSize()
[all …]
H A DCodeGenFunction.h5221 llvm::IntegerType *ResType,
5229 llvm::IntegerType *ResType,
5234 llvm::IntegerType *ResType);
H A DCGStmtOpenMP.cpp6339 QualType SourceType, QualType ResType, in convertToType() argument
6341 switch (CGF.getEvaluationKind(ResType)) { in convertToType()
6344 convertToScalarValue(CGF, Value, SourceType, ResType, Loc)); in convertToType()
6346 auto Res = convertToComplexValue(CGF, Value, SourceType, ResType, Loc); in convertToType()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp7122 Type *ResType = PFS.getFunction().getReturnType(); in parseRet() local
7125 if (!ResType->isVoidTy()) in parseRet()
7127 getTypeString(ResType) + "'"); in parseRet()
7137 if (ResType != RV->getType()) in parseRet()
7139 getTypeString(ResType) + "'"); in parseRet()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h4123 QualType ResType, ExprValueKind VK, ExprObjectKind OK, in CompoundAssignOperator() argument
4126 : BinaryOperator(C, lhs, rhs, opc, ResType, VK, OK, OpLoc, FPFeatures, in CompoundAssignOperator()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp12037 QualType ResType = DecodeTypeFromStr(TypeStr, *this, Error, in GetBuiltinType() local
12076 return getFunctionNoProtoType(ResType, EI); in GetBuiltinType()
12085 return getFunctionType(ResType, ArgTypes, EPI); in GetBuiltinType()