Home
last modified time | relevance | path

Searched refs:OrigTy (Results 1 – 14 of 14) sorted by relevance

/external/clang/lib/StaticAnalyzer/Checkers/
DCastToStructChecker.cpp38 QualType OrigTy = Ctx.getCanonicalType(E->getType()); in checkPreStmt() local
41 const PointerType *OrigPTy = dyn_cast<PointerType>(OrigTy.getTypePtr()); in checkPreStmt()
/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp992 QualType OrigTy = OrigArg->getType(); in rewriteToNumericBoxedExpression() local
994 uint64_t OrigTySize = Ctx.getTypeSize(OrigTy); in rewriteToNumericBoxedExpression()
1007 if (MK == NSAPI::NSNumberWithBool && OrigTy->isBooleanType()) in rewriteToNumericBoxedExpression()
1014 if (OrigTy->getAs<EnumType>() || isEnumConstant(OrigArg)) in rewriteToNumericBoxedExpression()
1016 if ((MK==NSAPI::NSNumberWithInteger) == OrigTy->isSignedIntegerType() && in rewriteToNumericBoxedExpression()
1088 Diags.Report(Msg->getExprLoc(), diagID) << OrigTy << FinalTy in rewriteToNumericBoxedExpression()
1118 QualType OrigTy = OrigArg->getType(); in doRewriteToUTF8StringBoxedExpressionHelper() local
1119 if (OrigTy->isArrayType()) in doRewriteToUTF8StringBoxedExpressionHelper()
1120 OrigTy = Ctx.getArrayDecayedType(OrigTy); in doRewriteToUTF8StringBoxedExpressionHelper()
1129 if (const PointerType *PT = OrigTy->getAs<PointerType>()) { in doRewriteToUTF8StringBoxedExpressionHelper()
/external/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp443 Type *OrigTy = cast<PointerType>(Addr->getType())->getElementType(); in instrumentLoadOrStore() local
444 const uint32_t TypeSize = DL.getTypeStoreSizeInBits(OrigTy); in instrumentLoadOrStore()
589 Type *OrigTy = cast<PointerType>(OrigPtrTy)->getElementType(); in getMemoryAccessFuncIndex() local
590 assert(OrigTy->isSized()); in getMemoryAccessFuncIndex()
591 uint32_t TypeSize = DL.getTypeStoreSizeInBits(OrigTy); in getMemoryAccessFuncIndex()
DMemorySanitizer.cpp870 Type *getShadowTy(Type *OrigTy) { in getShadowTy()
871 if (!OrigTy->isSized()) { in getShadowTy()
876 if (IntegerType *IT = dyn_cast<IntegerType>(OrigTy)) in getShadowTy()
879 if (VectorType *VT = dyn_cast<VectorType>(OrigTy)) { in getShadowTy()
884 if (ArrayType *AT = dyn_cast<ArrayType>(OrigTy)) { in getShadowTy()
888 if (StructType *ST = dyn_cast<StructType>(OrigTy)) { in getShadowTy()
896 uint32_t TypeSize = DL.getTypeSizeInBits(OrigTy); in getShadowTy()
/external/clang/lib/CodeGen/
DCGExpr.cpp1550 llvm::Type *OrigTy = CGM.getTypes().ConvertType(LV.getType()); in EmitLoadOfGlobalRegLValue() local
1551 llvm::Type *Ty = OrigTy; in EmitLoadOfGlobalRegLValue()
1552 if (OrigTy->isPointerTy()) in EmitLoadOfGlobalRegLValue()
1553 Ty = CGM.getTypes().getDataLayout().getIntPtrType(OrigTy); in EmitLoadOfGlobalRegLValue()
1559 if (OrigTy->isPointerTy()) in EmitLoadOfGlobalRegLValue()
1560 Call = Builder.CreateIntToPtr(Call, OrigTy); in EmitLoadOfGlobalRegLValue()
1804 llvm::Type *OrigTy = CGM.getTypes().ConvertType(Dst.getType()); in EmitStoreThroughGlobalRegLValue() local
1805 llvm::Type *Ty = OrigTy; in EmitStoreThroughGlobalRegLValue()
1806 if (OrigTy->isPointerTy()) in EmitStoreThroughGlobalRegLValue()
1807 Ty = CGM.getTypes().getDataLayout().getIntPtrType(OrigTy); in EmitStoreThroughGlobalRegLValue()
[all …]
DTargetInfo.cpp6218 QualType OrigTy) const { in EmitVAArg()
6219 QualType Ty = OrigTy; in EmitVAArg()
6251 Address Temp = CGF.CreateMemTemp(OrigTy, "vaarg.promotion-temp"); in EmitVAArg()
6255 llvm::Type *IntTy = (OrigTy->isIntegerType() ? Temp.getElementType() in EmitVAArg()
6258 if (OrigTy->isPointerType()) in EmitVAArg()
DMicrosoftCXXABI.cpp2093 auto OrigTy = Ret.getType(); in performReturnAdjustment() local
2111 return CGF.Builder.CreateBitCast(V, OrigTy); in performReturnAdjustment()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp340 Type *OrigTy = V->getType(); in canEvaluateTruncated() local
367 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in canEvaluateTruncated()
393 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in canEvaluateTruncated()
DInstCombineShifts.cpp92 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in CanEvaluateShifted()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorOps.cpp794 EVT OrigTy = cast<VTSDNode>(Op->getOperand(1))->getVT(); in ExpandSEXTINREG() local
797 unsigned OrigBW = OrigTy.getScalarType().getSizeInBits(); in ExpandSEXTINREG()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp2314 Type *OrigTy; member in __anonebd7bfba0211::TypePromotionTransaction::TypeMutator
2319 : TypePromotionAction(Inst), OrigTy(Inst->getType()) { in TypeMutator()
2327 DEBUG(dbgs() << "Undo: MutateType: " << *Inst << " with " << *OrigTy in undo()
2329 Inst->mutateType(OrigTy); in undo()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp2036 const EVT &OrigTy, in addRequiredExtensionForVectorMULL() argument
2043 if (OrigTy.getSizeInBits() >= 64) in addRequiredExtensionForVectorMULL()
2047 EVT NewVT = getExtensionTo64Bits(OrigTy); in addRequiredExtensionForVectorMULL()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp6245 const EVT &OrigTy, in AddRequiredExtensionForVMULL() argument
6252 if (OrigTy.getSizeInBits() >= 64) in AddRequiredExtensionForVMULL()
6256 EVT NewVT = getExtensionTo64Bits(OrigTy); in AddRequiredExtensionForVMULL()
/external/clang/lib/Sema/
DSemaExpr.cpp4679 QualType OrigTy = Param->getOriginalType(); in CheckStaticArrayArgument() local
4681 const ArrayType *AT = Context.getAsArrayType(OrigTy); in CheckStaticArrayArgument()