Home
last modified time | relevance | path

Searched refs:origType (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Dialect/Math/Transforms/
H A DPolynomialApproximation.cpp298 Type origType = op->getResultTypes().front(); in insertCasts() local
300 if (origType != t) in insertCasts()
303 if (origType != t) in insertCasts()
307 if (getElementTypeOrSelf(origType).isF32() || in insertCasts()
308 getElementTypeOrSelf(origType).getIntOrFloatBitWidth() > 32) in insertCasts()
313 if (auto shaped = origType.dyn_cast<ShapedType>()) { in insertCasts()
315 } else if (origType.isa<FloatType>()) { in insertCasts()
327 rewriter.replaceOpWithNewOp<arith::TruncFOp>(op, origType, result); in insertCasts()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGObjC.cpp2137 llvm::Type *origType = returnType ? returnType : value->getType(); in emitARCValueOperation() local
2145 return CGF.Builder.CreateBitCast(call, origType); in emitARCValueOperation()
2157 llvm::Type *origType = addr.getElementType(); in emitARCLoadOperation() local
2164 if (origType != CGF.Int8PtrTy) in emitARCLoadOperation()
2165 result = CGF.Builder.CreateBitCast(result, origType); in emitARCLoadOperation()
2182 llvm::Type *origType = value->getType(); in emitARCStoreOperation() local
2192 return CGF.Builder.CreateBitCast(result, origType); in emitARCStoreOperation()
2235 llvm::Type *origType = returnType ? returnType : value->getType(); in emitObjCValueOperation() local
2248 return CGF.Builder.CreateBitCast(Inst, origType); in emitObjCValueOperation()
2543 llvm::Type *origType = value->getType(); in EmitARCRetainAutorelease() local
[all …]
/llvm-project-15.0.7/llvm/lib/MC/
H A DELFObjectWriter.cpp466 static uint8_t mergeTypeForSet(uint8_t origType, uint8_t newType) { in mergeTypeForSet() argument
474 switch (origType) { in mergeTypeForSet()
/llvm-project-15.0.7/mlir/lib/Transforms/Utils/
H A DDialectConversion.cpp1264 Type origType = operand.getType(); in remapValues() local
1272 if (failed(currentTypeConverter->convertType(origType, legalTypes))) { in remapValues()
1276 << it.index() << ", type was " << origType; in remapValues()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaType.cpp6856 QualType origType = type; in handleObjCOwnershipTypeAttr() local
6865 origType, type); in handleObjCOwnershipTypeAttr()
6961 QualType origType = type; in handleObjCGCTypeAttr() local
6962 type = S.Context.getObjCGCQualType(origType, GCAttr); in handleObjCGCTypeAttr()
6967 ::new (S.Context) ObjCGCAttr(S.Context, attr, II), origType, type); in handleObjCGCTypeAttr()
7622 QualType origType = type; in handleFunctionTypeAttr() local
7630 origType, type); in handleFunctionTypeAttr()
H A DSemaExprObjC.cpp1431 QualType origType = T; in stripObjCInstanceType() local
1440 return origType; in stripObjCInstanceType()
1446 return origType; in stripObjCInstanceType()