Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTypePromotion.cpp108 IntegerType *OrigTy = nullptr; member in __anon3d5ad5a80111::IRPromoter
133 Ctx(C), OrigTy(Ty), PromotedWidth(Width), Visited(visited), in IRPromoter()
136 assert(OrigTy->getPrimitiveSizeInBits() < ExtTy->getPrimitiveSizeInBits() in IRPromoter()
635 Src->getType() == OrigTy) { in Cleanup()
677 << OrigTy->getBitWidth() << " to " << PromotedWidth << "-bits\n"); in Mutate()
810 Type *OrigTy = V->getType(); in TryToPromote() local
811 TypeSize = OrigTy->getPrimitiveSizeInBits(); in TryToPromote()
927 IRPromoter Promoter(*Ctx, cast<IntegerType>(OrigTy), PromotedWidth, in TryToPromote()
DAtomicExpandPass.cpp502 Type *OrigTy = NewVal->getType(); in createCmpXchgInstFun() local
505 bool NeedBitcast = OrigTy->isFloatingPointTy(); in createCmpXchgInstFun()
507 IntegerType *IntTy = Builder.getIntNTy(OrigTy->getPrimitiveSizeInBits()); in createCmpXchgInstFun()
521 NewLoaded = Builder.CreateBitCast(NewLoaded, OrigTy); in createCmpXchgInstFun()
DCodeGenPrepare.cpp2589 Type *OrigTy; member in __anone6c077230511::TypePromotionTransaction::TypeMutator
2594 : TypePromotionAction(Inst), OrigTy(Inst->getType()) { in TypeMutator()
2602 LLVM_DEBUG(dbgs() << "Undo: MutateType: " << *Inst << " with " << *OrigTy in undo()
2604 Inst->mutateType(OrigTy); in undo()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUTargetTransformInfo.cpp348 EVT OrigTy = TLI->getValueType(DL, Ty); in getArithmeticInstrCost() local
349 if (!OrigTy.isSimple()) { in getArithmeticInstrCost()
473 EVT OrigTy = TLI->getValueType(DL, RetTy); in getIntrinsicInstrCost() local
474 if (!OrigTy.isSimple()) { in getIntrinsicInstrCost()
522 EVT OrigTy = TLI->getValueType(DL, Ty); in getArithmeticReductionCost() local
528 OrigTy.getScalarSizeInBits() != 16) in getArithmeticReductionCost()
538 EVT OrigTy = TLI->getValueType(DL, Ty); in getMinMaxReductionCost() local
544 OrigTy.getScalarSizeInBits() != 16) in getMinMaxReductionCost()
DAMDGPUCallLowering.cpp208 static LLT getMultipleType(LLT OrigTy, int Factor) { in getMultipleType() argument
209 if (OrigTy.isVector()) { in getMultipleType()
210 return LLT::vector(OrigTy.getNumElements() * Factor, in getMultipleType()
211 OrigTy.getElementType()); in getMultipleType()
214 return LLT::scalar(OrigTy.getSizeInBits() * Factor); in getMultipleType()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp563 Type *OrigTy = cast<PointerType>(Addr->getType())->getElementType(); in instrumentLoadOrStore() local
564 const uint32_t TypeSize = DL.getTypeStoreSizeInBits(OrigTy); in instrumentLoadOrStore()
642 Type *OrigTy = cast<PointerType>(Addr->getType())->getElementType(); in instrumentAtomic() local
644 Value *Cast = IRB.CreateBitOrPointerCast(C, OrigTy); in instrumentAtomic()
724 Type *OrigTy = cast<PointerType>(OrigPtrTy)->getElementType(); in getMemoryAccessFuncIndex() local
725 assert(OrigTy->isSized()); in getMemoryAccessFuncIndex()
726 uint32_t TypeSize = DL.getTypeStoreSizeInBits(OrigTy); in getMemoryAccessFuncIndex()
DMemorySanitizer.cpp1338 Type *getShadowTy(Type *OrigTy) { in getShadowTy()
1339 if (!OrigTy->isSized()) { in getShadowTy()
1344 if (IntegerType *IT = dyn_cast<IntegerType>(OrigTy)) in getShadowTy()
1347 if (VectorType *VT = dyn_cast<VectorType>(OrigTy)) { in getShadowTy()
1352 if (ArrayType *AT = dyn_cast<ArrayType>(OrigTy)) { in getShadowTy()
1356 if (StructType *ST = dyn_cast<StructType>(OrigTy)) { in getShadowTy()
1364 uint32_t TypeSize = DL.getTypeSizeInBits(OrigTy); in getShadowTy()
1524 Constant *getCleanShadow(Type *OrigTy) { in getCleanShadow()
1525 Type *ShadowTy = getShadowTy(OrigTy); in getCleanShadow()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DRegisterBankInfo.cpp476 LLT OrigTy = MRI.getType(OrigReg); in applyDefaultMapping() local
478 if (OrigTy != NewTy) { in applyDefaultMapping()
483 assert(OrigTy.getSizeInBits() <= NewTy.getSizeInBits() && in applyDefaultMapping()
487 << OrigTy); in applyDefaultMapping()
488 MRI.setType(NewReg, OrigTy); in applyDefaultMapping()
DCallLowering.cpp334 const LLT OrigTy(OrigVT); in handleAssignments() local
341 auto Unmerge = MIRBuilder.buildUnmerge({OrigTy, OrigTy}, {NewReg}); in handleAssignments()
DLegalizerHelper.cpp41 getNarrowTypeBreakDown(LLT OrigTy, LLT NarrowTy, LLT &LeftoverTy) { in getNarrowTypeBreakDown() argument
44 unsigned Size = OrigTy.getSizeInBits(); in getNarrowTypeBreakDown()
54 unsigned EltSize = OrigTy.getScalarSizeInBits(); in getNarrowTypeBreakDown()
175 static LLT getGCDType(LLT OrigTy, LLT TargetTy) { in getGCDType() argument
176 if (OrigTy.isVector() && TargetTy.isVector()) { in getGCDType()
177 assert(OrigTy.getElementType() == TargetTy.getElementType()); in getGCDType()
178 int GCD = greatestCommonDivisor(OrigTy.getNumElements(), in getGCDType()
180 return LLT::scalarOrVector(GCD, OrigTy.getElementType()); in getGCDType()
183 if (OrigTy.isVector() && !TargetTy.isVector()) { in getGCDType()
184 assert(OrigTy.getElementType() == TargetTy); in getGCDType()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp350 Type *OrigTy = V->getType(); in canEvaluateTruncated() local
365 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in canEvaluateTruncated()
393 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in canEvaluateTruncated()
411 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in canEvaluateTruncated()
DInstCombineShifts.cpp497 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in canEvaluateShifted()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonLoopIdiomRecognition.cpp1004 Type *OrigTy = In->getType(); in promoteTo() local
1005 assert(!OrigTy->isVoidTy() && "Invalid instruction to promote"); in promoteTo()
1038 IntegerType *TruncTy = cast<IntegerType>(OrigTy); in promoteTo()
DHexagonISelLowering.cpp896 EVT OrigTy = cast<VTSDNode>(Op.getOperand(1))->getVT(); in LowerSETCC() local
898 unsigned OrigBW = OrigTy.getSizeInBits(); in LowerSETCC()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVISelLowering.cpp1462 bool IsRet, Type *OrigTy) { in CC_RISCV() argument
1521 DL.getTypeAllocSize(OrigTy) == TwoXLenInBytes) { in CC_RISCV()
1665 Type *OrigTy = CLI ? CLI->getArgs()[Outs[i].OrigArgIndex].Ty : nullptr; in analyzeOutputArgs() local
1669 ArgFlags, CCInfo, Outs[i].IsFixed, IsRet, OrigTy)) { in analyzeOutputArgs()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorOps.cpp1062 EVT OrigTy = cast<VTSDNode>(Node->getOperand(1))->getVT(); in ExpandSEXTINREG() local
1065 unsigned OrigBW = OrigTy.getScalarSizeInBits(); in ExpandSEXTINREG()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp2755 const EVT &OrigTy, in addRequiredExtensionForVectorMULL() argument
2762 if (OrigTy.getSizeInBits() >= 64) in addRequiredExtensionForVectorMULL()
2766 EVT NewVT = getExtensionTo64Bits(OrigTy); in addRequiredExtensionForVectorMULL()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMISelLowering.cpp8450 const EVT &OrigTy, in AddRequiredExtensionForVMULL() argument
8457 if (OrigTy.getSizeInBits() >= 64) in AddRequiredExtensionForVMULL()
8461 EVT NewVT = getExtensionTo64Bits(OrigTy); in AddRequiredExtensionForVMULL()