| /openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVInstructionSelector.cpp | 79 bool spvSelect(Register ResVReg, const SPIRVType *ResType, 85 bool selectUnOpWithSrc(Register ResVReg, const SPIRVType *ResType, 88 bool selectUnOp(Register ResVReg, const SPIRVType *ResType, MachineInstr &I, 91 bool selectLoad(Register ResVReg, const SPIRVType *ResType, 97 bool selectAtomicRMW(Register ResVReg, const SPIRVType *ResType, 100 bool selectAtomicCmpXchg(Register ResVReg, const SPIRVType *ResType, 105 bool selectAddrSpaceCast(Register ResVReg, const SPIRVType *ResType, 108 bool selectBitreverse(Register ResVReg, const SPIRVType *ResType, 111 bool selectConstVector(Register ResVReg, const SPIRVType *ResType, 114 bool selectCmp(Register ResVReg, const SPIRVType *ResType, [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPrintfRuntimeBinding.cpp | 224 Type *ResType = Type::getInt32Ty(Ctx); in lowerPrintfForGpu() local 226 ResType = VectorType::get(ResType, VecType->getElementCount()); in lowerPrintfForGpu() 240 Arg = Builder.CreateZExt(Arg, ResType); in lowerPrintfForGpu() 242 Arg = Builder.CreateSExt(Arg, ResType); in lowerPrintfForGpu()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/ |
| H A D | HexagonPatternsHVX.td | 124 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 D | HexagonPatterns.td | 325 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)), 737 class OpmR_RR_pat<PatFrag Output, PatFrag Op, ValueType ResType, 739 : Pat<(ResType (Op RsPred:$Rs, RtPred:$Rt)),
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | TargetInfo.cpp | 3635 llvm::Type *ResType = nullptr; in classifyReturnType() local 3658 ResType = GetINTEGERTypeAtOffset(CGT.ConvertType(RetTy), 0, RetTy, 0); in classifyReturnType() 3662 if (Hi == NoClass && isa<llvm::IntegerType>(ResType)) { in classifyReturnType() 3676 ResType = GetSSETypeAtOffset(CGT.ConvertType(RetTy), 0, RetTy, 0); in classifyReturnType() 3682 ResType = llvm::Type::getX86_FP80Ty(getVMContext()); in classifyReturnType() 3690 ResType = llvm::StructType::get(llvm::Type::getX86_FP80Ty(getVMContext()), in classifyReturnType() 3725 ResType = GetByteVectorType(RetTy); in classifyReturnType() 3747 ResType = GetX86_64ByValArgumentPair(ResType, HighPart, getDataLayout()); in classifyReturnType() 3749 return ABIArgInfo::getDirect(ResType); in classifyReturnType() 3768 llvm::Type *ResType = nullptr; in classifyArgumentType() local [all …]
|
| H A D | CGBuiltin.cpp | 762 getDefaultBuiltinObjectSizeResult(unsigned Type, llvm::IntegerType *ResType) { in getDefaultBuiltinObjectSizeResult() argument 763 return ConstantInt::get(ResType, (Type & 2) ? 0 : -1, /*isSigned=*/true); in getDefaultBuiltinObjectSizeResult() 768 llvm::IntegerType *ResType, in evaluateOrEmitBuiltinObjectSize() argument 773 return emitBuiltinObjectSize(E, Type, ResType, EmittedE, IsDynamic); in evaluateOrEmitBuiltinObjectSize() 774 return ConstantInt::get(ResType, ObjectSize, /*isSigned=*/true); in evaluateOrEmitBuiltinObjectSize() 788 llvm::IntegerType *ResType, in emitBuiltinObjectSize() argument 813 return getDefaultBuiltinObjectSizeResult(Type, ResType); in emitBuiltinObjectSize() 820 CGM.getIntrinsic(Intrinsic::objectsize, {ResType, Ptr->getType()}); in emitBuiltinObjectSize() 2932 auto *ResType = cast<llvm::IntegerType>(ConvertType(E->getType())); in EmitBuiltinExpr() local 2937 return RValue::get(emitBuiltinObjectSize(E->getArg(0), Type, ResType, in EmitBuiltinExpr() [all …]
|
| H A D | CodeGenFunction.h | 4729 llvm::IntegerType *ResType, 4737 llvm::IntegerType *ResType,
|
| H A D | CGStmtOpenMP.cpp | 6236 QualType SourceType, QualType ResType, in convertToType() argument 6238 switch (CGF.getEvaluationKind(ResType)) { in convertToType() 6241 convertToScalarValue(CGF, Value, SourceType, ResType, Loc)); in convertToType() 6243 auto Res = convertToComplexValue(CGF, Value, SourceType, ResType, Loc); in convertToType()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaExpr.cpp | 11212 QualType ResType = Operand->getType(); in checkArithmeticIncompletePointerType() local 11213 if (const AtomicType *ResAtomicType = ResType->getAs<AtomicType>()) in checkArithmeticIncompletePointerType() 11214 ResType = ResAtomicType->getValueType(); in checkArithmeticIncompletePointerType() 11216 assert(ResType->isAnyPointerType() && !ResType->isDependentType()); in checkArithmeticIncompletePointerType() 11217 QualType PointeeTy = ResType->getPointeeType(); in checkArithmeticIncompletePointerType() 11234 QualType ResType = Operand->getType(); in checkArithmeticOpPointerOperand() local 11235 if (const AtomicType *ResAtomicType = ResType->getAs<AtomicType>()) in checkArithmeticOpPointerOperand() 11236 ResType = ResAtomicType->getValueType(); in checkArithmeticOpPointerOperand() 11238 if (!ResType->isAnyPointerType()) return true; in checkArithmeticOpPointerOperand() 11240 QualType PointeeTy = ResType->getPointeeType(); in checkArithmeticOpPointerOperand() [all …]
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/lib/AsmParser/ |
| H A D | LLParser.cpp | 6508 Type *ResType = PFS.getFunction().getReturnType(); in parseRet() local 6511 if (!ResType->isVoidTy()) in parseRet() 6513 getTypeString(ResType) + "'"); in parseRet() 6523 if (ResType != RV->getType()) in parseRet() 6525 getTypeString(ResType) + "'"); in parseRet()
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | Expr.h | 4072 QualType ResType, ExprValueKind VK, ExprObjectKind OK, in CompoundAssignOperator() argument 4075 : BinaryOperator(C, lhs, rhs, opc, ResType, VK, OK, OpLoc, FPFeatures, in CompoundAssignOperator()
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | ASTContext.cpp | 11437 QualType ResType = DecodeTypeFromStr(TypeStr, *this, Error, in GetBuiltinType() local 11476 return getFunctionNoProtoType(ResType, EI); in GetBuiltinType() 11485 return getFunctionType(ResType, ArgTypes, EPI); in GetBuiltinType()
|