Searched refs:OrigTy (Results 1 - 25 of 26) sorted by relevance

12

/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCastToStructChecker.cpp42 QualType OrigTy = Ctx.getCanonicalType(E->getType()); local
45 const PointerType *OrigPTy = dyn_cast<PointerType>(OrigTy.getTypePtr());
/freebsd-11-stable/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp994 QualType OrigTy = OrigArg->getType(); local
996 uint64_t OrigTySize = Ctx.getTypeSize(OrigTy);
1009 if (MK == NSAPI::NSNumberWithBool && OrigTy->isBooleanType())
1016 if (OrigTy->getAs<EnumType>() || isEnumConstant(OrigArg))
1018 if ((MK==NSAPI::NSNumberWithInteger) == OrigTy->isSignedIntegerType() &&
1101 Diags.Report(Msg->getExprLoc(), diagID) << OrigTy << FinalTy
1131 QualType OrigTy = OrigArg->getType(); local
1132 if (OrigTy->isArrayType())
1133 OrigTy = Ctx.getArrayDecayedType(OrigTy);
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.cpp348 EVT OrigTy = TLI->getValueType(DL, Ty); local
349 if (!OrigTy.isSimple()) {
473 EVT OrigTy = TLI->getValueType(DL, RetTy);
474 if (!OrigTy.isSimple()) {
522 EVT OrigTy = TLI->getValueType(DL, Ty); local
528 OrigTy.getScalarSizeInBits() != 16)
538 EVT OrigTy = TLI->getValueType(DL, Ty); local
544 OrigTy.getScalarSizeInBits() != 16)
H A DAMDGPUCallLowering.cpp207 // Get the appropriate type to make \p OrigTy \p Factor times bigger.
208 static LLT getMultipleType(LLT OrigTy, int Factor) { argument
209 if (OrigTy.isVector()) {
210 return LLT::vector(OrigTy.getNumElements() * Factor,
211 OrigTy.getElementType());
214 return LLT::scalar(OrigTy.getSizeInBits() * Factor);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DTypePromotion.cpp108 IntegerType *OrigTy = nullptr; member in class:__anon1834::IRPromoter
133 Ctx(C), OrigTy(Ty), PromotedWidth(Width), Visited(visited),
136 assert(OrigTy->getPrimitiveSizeInBits() < ExtTy->getPrimitiveSizeInBits()
635 Src->getType() == OrigTy) {
677 << OrigTy->getBitWidth() << " to " << PromotedWidth << "-bits\n");
810 Type *OrigTy = V->getType(); local
811 TypeSize = OrigTy->getPrimitiveSizeInBits();
927 IRPromoter Promoter(*Ctx, cast<IntegerType>(OrigTy), PromotedWidth,
H A DAtomicExpandPass.cpp502 Type *OrigTy = NewVal->getType(); local
505 bool NeedBitcast = OrigTy->isFloatingPointTy();
507 IntegerType *IntTy = Builder.getIntNTy(OrigTy->getPrimitiveSizeInBits());
521 NewLoaded = Builder.CreateBitCast(NewLoaded, OrigTy);
H A DCodeGenPrepare.cpp2589 Type *OrigTy; member in class:__anon1699::TypePromotionTransaction::TypeMutator
2594 : TypePromotionAction(Inst), OrigTy(Inst->getType()) {
2602 LLVM_DEBUG(dbgs() << "Undo: MutateType: " << *Inst << " with " << *OrigTy variable
2604 Inst->mutateType(OrigTy);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp563 Type *OrigTy = cast<PointerType>(Addr->getType())->getElementType(); local
564 const uint32_t TypeSize = DL.getTypeStoreSizeInBits(OrigTy);
642 Type *OrigTy = cast<PointerType>(Addr->getType())->getElementType(); local
644 Value *Cast = IRB.CreateBitOrPointerCast(C, OrigTy);
724 Type *OrigTy = cast<PointerType>(OrigPtrTy)->getElementType(); local
725 assert(OrigTy->isSized());
726 uint32_t TypeSize = DL.getTypeStoreSizeInBits(OrigTy);
H A DMemorySanitizer.cpp1338 Type *getShadowTy(Type *OrigTy) {
1339 if (!OrigTy->isSized()) {
1344 if (IntegerType *IT = dyn_cast<IntegerType>(OrigTy))
1347 if (VectorType *VT = dyn_cast<VectorType>(OrigTy)) {
1352 if (ArrayType *AT = dyn_cast<ArrayType>(OrigTy)) {
1356 if (StructType *ST = dyn_cast<StructType>(OrigTy)) {
1364 uint32_t TypeSize = DL.getTypeSizeInBits(OrigTy);
1524 Constant *getCleanShadow(Type *OrigTy) {
1525 Type *ShadowTy = getShadowTy(OrigTy);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DRegisterBankInfo.cpp476 LLT OrigTy = MRI.getType(OrigReg); local
478 if (OrigTy != NewTy) {
483 assert(OrigTy.getSizeInBits() <= NewTy.getSizeInBits() &&
487 << OrigTy); local
488 MRI.setType(NewReg, OrigTy);
H A DCallLowering.cpp334 const LLT OrigTy(OrigVT);
341 auto Unmerge = MIRBuilder.buildUnmerge({OrigTy, OrigTy}, {NewReg});
H A DLegalizerHelper.cpp33 /// Try to break down \p OrigTy into \p NarrowTy sized pieces.
35 /// Returns the number of \p NarrowTy elements needed to reconstruct \p OrigTy,
41 getNarrowTypeBreakDown(LLT OrigTy, LLT NarrowTy, LLT &LeftoverTy) { argument
44 unsigned Size = OrigTy.getSizeInBits();
54 unsigned EltSize = OrigTy.getScalarSizeInBits();
175 static LLT getGCDType(LLT OrigTy, LLT TargetTy) { argument
176 if (OrigTy.isVector() && TargetTy.isVector()) {
177 assert(OrigTy.getElementType() == TargetTy.getElementType());
178 int GCD = greatestCommonDivisor(OrigTy.getNumElements(),
180 return LLT::scalarOrVector(GCD, OrigTy
1456 LLT OrigTy = MRI.getType(MI.getOperand(0).getReg()); local
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp6161 auto OrigTy = DT->getOriginalType(); local
6162 if (!OrigTy.hasAddressSpace() && OrigTy->isArrayType()) {
6165 OrigTy = Context.getAddrSpaceQualType(OrigTy, ImplAS);
6166 OrigTy = QualType(Context.getAsArrayType(OrigTy), 0);
6168 Type = Context.getDecayedType(OrigTy);
11469 QualType OrigTy, SourceLocation OrigLoc,
11471 : OrigTy(OrigT
11468 DiagNonTrivalCUnionDefaultInitializeVisitor( QualType OrigTy, SourceLocation OrigLoc, Sema::NonTrivialCUnionContext UseContext, Sema &S) argument
11522 QualType OrigTy; member in struct:__anon628::DiagNonTrivalCUnionDefaultInitializeVisitor
11533 DiagNonTrivalCUnionDestructedTypeVisitor( QualType OrigTy, SourceLocation OrigLoc, Sema::NonTrivialCUnionContext UseContext, Sema &S) argument
11589 QualType OrigTy; member in struct:__anon628::DiagNonTrivalCUnionDestructedTypeVisitor
11599 DiagNonTrivalCUnionCopyVisitor(QualType OrigTy, SourceLocation OrigLoc, Sema::NonTrivialCUnionContext UseContext, Sema &S) argument
11657 QualType OrigTy; member in struct:__anon628::DiagNonTrivalCUnionCopyVisitor
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp350 Type *OrigTy = V->getType(); local
365 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits();
393 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits();
411 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits();
H A DInstCombineShifts.cpp497 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits();
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDecl.cpp1046 llvm::Type *OrigTy = constant->getType(); local
1047 if (const auto STy = dyn_cast<llvm::StructType>(OrigTy))
1049 if (auto *STy = dyn_cast<llvm::SequentialType>(OrigTy)) {
1071 if (OrigTy->isArrayTy()) {
H A DCGExpr.cpp1911 llvm::Type *OrigTy = CGM.getTypes().ConvertType(LV.getType()); local
1912 llvm::Type *Ty = OrigTy;
1913 if (OrigTy->isPointerTy())
1914 Ty = CGM.getTypes().getDataLayout().getIntPtrType(OrigTy);
1920 if (OrigTy->isPointerTy())
1921 Call = Builder.CreateIntToPtr(Call, OrigTy);
2173 llvm::Type *OrigTy = CGM.getTypes().ConvertType(Dst.getType()); local
2174 llvm::Type *Ty = OrigTy;
2175 if (OrigTy->isPointerTy())
2176 Ty = CGM.getTypes().getDataLayout().getIntPtrType(OrigTy);
[all...]
H A DTargetInfo.cpp7337 QualType OrigTy) const {
7338 QualType Ty = OrigTy;
7370 Address Temp = CGF.CreateMemTemp(OrigTy, "vaarg.promotion-temp");
7374 llvm::Type *IntTy = (OrigTy->isIntegerType() ? Temp.getElementType()
7377 if (OrigTy->isPointerType())
H A DMicrosoftCXXABI.cpp2196 auto OrigTy = Ret.getType();
2214 return CGF.Builder.CreateBitCast(V, OrigTy);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp1004 Type *OrigTy = In->getType(); local
1005 assert(!OrigTy->isVoidTy() && "Invalid instruction to promote");
1038 IntegerType *TruncTy = cast<IntegerType>(OrigTy);
H A DHexagonISelLowering.cpp896 EVT OrigTy = cast<VTSDNode>(Op.getOperand(1))->getVT();
898 unsigned OrigBW = OrigTy.getSizeInBits();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp1496 bool IsRet, Type *OrigTy) {
1555 DL.getTypeAllocSize(OrigTy) == TwoXLenInBytes) {
1699 Type *OrigTy = CLI ? CLI->getArgs()[Outs[i].OrigArgIndex].Ty : nullptr; local
1703 ArgFlags, CCInfo, Outs[i].IsFixed, IsRet, OrigTy)) {
1493 CC_RISCV(const DataLayout &DL, RISCVABI::ABI ABI, unsigned ValNo, MVT ValVT, MVT LocVT, CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags, CCState &State, bool IsFixed, bool IsRet, Type *OrigTy) argument
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorOps.cpp1062 EVT OrigTy = cast<VTSDNode>(Node->getOperand(1))->getVT(); local
1065 unsigned OrigBW = OrigTy.getScalarSizeInBits();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp2755 const EVT &OrigTy,
2758 // The vector originally had a size of OrigTy. It was then extended to ExtTy.
2759 // We expect the ExtTy to be 128-bits total. If the OrigTy is less than
2762 if (OrigTy.getSizeInBits() >= 64)
2766 EVT NewVT = getExtensionTo64Bits(OrigTy);
2754 addRequiredExtensionForVectorMULL(SDValue N, SelectionDAG &DAG, const EVT &OrigTy, const EVT &ExtTy, unsigned ExtOpcode) argument
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp8453 const EVT &OrigTy,
8456 // The vector originally had a size of OrigTy. It was then extended to ExtTy.
8457 // We expect the ExtTy to be 128-bits total. If the OrigTy is less than
8460 if (OrigTy.getSizeInBits() >= 64)
8464 EVT NewVT = getExtensionTo64Bits(OrigTy);
8452 AddRequiredExtensionForVMULL(SDValue N, SelectionDAG &DAG, const EVT &OrigTy, const EVT &ExtTy, unsigned ExtOpcode) argument

Completed in 755 milliseconds

12