Home
last modified time | relevance | path

Searched refs:OrigTy (Results 1 – 19 of 19) 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/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp495 Type *OrigTy = cast<PointerType>(Addr->getType())->getElementType(); in instrumentLoadOrStore() local
496 const uint32_t TypeSize = DL.getTypeStoreSizeInBits(OrigTy); in instrumentLoadOrStore()
579 Type *OrigTy = cast<PointerType>(Addr->getType())->getElementType(); in instrumentAtomic() local
580 if (Ty == OrigTy) { in instrumentAtomic()
586 Instruction *Cast = CastInst::Create(Instruction::IntToPtr, C, OrigTy); in instrumentAtomic()
666 Type *OrigTy = cast<PointerType>(OrigPtrTy)->getElementType(); in getMemoryAccessFuncIndex() local
667 assert(OrigTy->isSized()); in getMemoryAccessFuncIndex()
668 uint32_t TypeSize = DL.getTypeStoreSizeInBits(OrigTy); in getMemoryAccessFuncIndex()
DEfficiencySanitizer.cpp672 Type *OrigTy = cast<PointerType>(Addr->getType())->getElementType(); in instrumentLoadOrStore() local
673 const uint32_t TypeSizeBytes = DL.getTypeStoreSizeInBits(OrigTy) / 8; in instrumentLoadOrStore()
678 Alignment = DL.getPrefTypeAlignment(OrigTy); in instrumentLoadOrStore()
812 Type *OrigTy = cast<PointerType>(OrigPtrTy)->getElementType(); in getMemoryAccessFuncIndex() local
813 assert(OrigTy->isSized()); in getMemoryAccessFuncIndex()
815 uint32_t TypeSizeBytes = DL.getTypeStoreSizeInBits(OrigTy) / 8; in getMemoryAccessFuncIndex()
850 Type *OrigTy = cast<PointerType>(Addr->getType())->getElementType(); in instrumentFastpathWorkingSet() local
851 const uint32_t TypeSize = DL.getTypeStoreSizeInBits(OrigTy); in instrumentFastpathWorkingSet()
DMemorySanitizer.cpp891 Type *getShadowTy(Type *OrigTy) { in getShadowTy()
892 if (!OrigTy->isSized()) { in getShadowTy()
897 if (IntegerType *IT = dyn_cast<IntegerType>(OrigTy)) in getShadowTy()
900 if (VectorType *VT = dyn_cast<VectorType>(OrigTy)) { in getShadowTy()
905 if (ArrayType *AT = dyn_cast<ArrayType>(OrigTy)) { in getShadowTy()
909 if (StructType *ST = dyn_cast<StructType>(OrigTy)) { in getShadowTy()
917 uint32_t TypeSize = DL.getTypeSizeInBits(OrigTy); in getShadowTy()
/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()
1091 Diags.Report(Msg->getExprLoc(), diagID) << OrigTy << FinalTy in rewriteToNumericBoxedExpression()
1121 QualType OrigTy = OrigArg->getType(); in doRewriteToUTF8StringBoxedExpressionHelper() local
1122 if (OrigTy->isArrayType()) in doRewriteToUTF8StringBoxedExpressionHelper()
1123 OrigTy = Ctx.getArrayDecayedType(OrigTy); in doRewriteToUTF8StringBoxedExpressionHelper()
1132 if (const PointerType *PT = OrigTy->getAs<PointerType>()) { in doRewriteToUTF8StringBoxedExpressionHelper()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUTargetTransformInfo.cpp115 EVT OrigTy = TLI->getValueType(DL, Ty); in getArithmeticInstrCost() local
116 if (!OrigTy.isSimple()) { in getArithmeticInstrCost()
/external/clang/lib/CodeGen/
DCGExpr.cpp1575 llvm::Type *OrigTy = CGM.getTypes().ConvertType(LV.getType()); in EmitLoadOfGlobalRegLValue() local
1576 llvm::Type *Ty = OrigTy; in EmitLoadOfGlobalRegLValue()
1577 if (OrigTy->isPointerTy()) in EmitLoadOfGlobalRegLValue()
1578 Ty = CGM.getTypes().getDataLayout().getIntPtrType(OrigTy); in EmitLoadOfGlobalRegLValue()
1584 if (OrigTy->isPointerTy()) in EmitLoadOfGlobalRegLValue()
1585 Call = Builder.CreateIntToPtr(Call, OrigTy); in EmitLoadOfGlobalRegLValue()
1828 llvm::Type *OrigTy = CGM.getTypes().ConvertType(Dst.getType()); in EmitStoreThroughGlobalRegLValue() local
1829 llvm::Type *Ty = OrigTy; in EmitStoreThroughGlobalRegLValue()
1830 if (OrigTy->isPointerTy()) in EmitStoreThroughGlobalRegLValue()
1831 Ty = CGM.getTypes().getDataLayout().getIntPtrType(OrigTy); in EmitStoreThroughGlobalRegLValue()
[all …]
DTargetInfo.cpp6476 QualType OrigTy) const { in EmitVAArg()
6477 QualType Ty = OrigTy; in EmitVAArg()
6509 Address Temp = CGF.CreateMemTemp(OrigTy, "vaarg.promotion-temp"); in EmitVAArg()
6513 llvm::Type *IntTy = (OrigTy->isIntegerType() ? Temp.getElementType() in EmitVAArg()
6516 if (OrigTy->isPointerType()) in EmitVAArg()
DMicrosoftCXXABI.cpp2101 auto OrigTy = Ret.getType(); in performReturnAdjustment() local
2119 return CGF.Builder.CreateBitCast(V, OrigTy); in performReturnAdjustment()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCasts.cpp336 Type *OrigTy = V->getType(); in CanEvaluateTruncated() local
363 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in CanEvaluateTruncated()
389 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in CanEvaluateTruncated()
DInstCombineShifts.cpp90 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in CanEvaluateShifted()
/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.cpp137 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in CanEvaluateShifted()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorOps.cpp776 EVT OrigTy = cast<VTSDNode>(Op->getOperand(1))->getVT(); in ExpandSEXTINREG() local
779 unsigned OrigBW = OrigTy.getScalarType().getSizeInBits(); in ExpandSEXTINREG()
/external/spirv-llvm/lib/SPIRV/
DSPIRVWriter.cpp1334 auto OrigTy = Arg->getType(); in mutateFuncArgType() local
1335 if (OrigTy == I.second) in mutateFuncArgType()
1338 auto CastF = M->getOrInsertFunction(SPCV_CAST, I.second, OrigTy, nullptr); in mutateFuncArgType()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp2372 Type *OrigTy; member in __anonebd7bfba0211::TypePromotionTransaction::TypeMutator
2377 : TypePromotionAction(Inst), OrigTy(Inst->getType()) { in TypeMutator()
2385 DEBUG(dbgs() << "Undo: MutateType: " << *Inst << " with " << *OrigTy in undo()
2387 Inst->mutateType(OrigTy); in undo()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp2107 const EVT &OrigTy, in addRequiredExtensionForVectorMULL() argument
2114 if (OrigTy.getSizeInBits() >= 64) in addRequiredExtensionForVectorMULL()
2118 EVT NewVT = getExtensionTo64Bits(OrigTy); in addRequiredExtensionForVectorMULL()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp6528 const EVT &OrigTy, in AddRequiredExtensionForVMULL() argument
6535 if (OrigTy.getSizeInBits() >= 64) in AddRequiredExtensionForVMULL()
6539 EVT NewVT = getExtensionTo64Bits(OrigTy); in AddRequiredExtensionForVMULL()
/external/clang/lib/Sema/
DSemaExpr.cpp4927 QualType OrigTy = Param->getOriginalType(); in CheckStaticArrayArgument() local
4929 const ArrayType *AT = Context.getAsArrayType(OrigTy); in CheckStaticArrayArgument()