/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/ |
D | LoadStoreVectorizer.cpp | 731 unsigned TySize = DL.getTypeSizeInBits(Ty); in collectInstructions() local 732 if ((TySize % 8) != 0) in collectInstructions() 746 unsigned VF = VecRegSize / TySize; in collectInstructions() 750 if (TySize > VecRegSize / 2 || in collectInstructions() 751 (VecTy && TTI.getLoadVectorFactor(VF, TySize, TySize / 8, VecTy) == 0)) in collectInstructions() 785 unsigned TySize = DL.getTypeSizeInBits(Ty); in collectInstructions() local 786 if ((TySize % 8) != 0) in collectInstructions() 793 unsigned VF = VecRegSize / TySize; in collectInstructions() 797 if (TySize > VecRegSize / 2 || in collectInstructions() 798 (VecTy && TTI.getStoreVectorFactor(VF, TySize, TySize / 8, VecTy) == 0)) in collectInstructions()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | FunctionLoweringInfo.cpp | 146 uint64_t TySize = MF->getDataLayout().getTypeAllocSize(Ty); in set() local 148 TySize *= CUI->getZExtValue(); // Get total allocated size. in set() 149 if (TySize == 0) TySize = 1; // Don't create zero-sized stack objects. in set() 154 TySize, 0, /*Immutable=*/false, /*isAliased=*/true); in set() 158 MF->getFrameInfo().CreateStackObject(TySize, Align, false, AI); in set()
|
D | SelectionDAGBuilder.cpp | 3575 uint64_t TySize = DL.getTypeAllocSize(Ty); in visitAlloca() local 3587 DAG.getConstant(TySize, dl, IntPtr)); in visitAlloca() 7183 uint64_t TySize = DL.getTypeAllocSize(Ty); in getAddressForMemoryInput() local 7186 int SSFI = MF.getFrameInfo().CreateStackObject(TySize, Align, false); in getAddressForMemoryInput() 8355 uint64_t TySize = DL.getTypeAllocSize(CLI.RetTy); in LowerCallTo() local 8358 DemoteStackIdx = MF.getFrameInfo().CreateStackObject(TySize, Align, false); in LowerCallTo()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | FunctionLoweringInfo.cpp | 144 uint64_t TySize = MF->getDataLayout().getTypeAllocSize(Ty); in set() local 146 TySize *= CUI->getZExtValue(); // Get total allocated size. in set() 147 if (TySize == 0) TySize = 1; // Don't create zero-sized stack objects. in set() 152 TySize, 0, /*Immutable=*/false, /*isAliased=*/true); in set() 156 MF->getFrameInfo()->CreateStackObject(TySize, Align, false, AI); in set()
|
D | SelectionDAGBuilder.cpp | 3394 uint64_t TySize = DL.getTypeAllocSize(Ty); in visitAlloca() local 3406 DAG.getConstant(TySize, dl, IntPtr)); in visitAlloca() 6717 uint64_t TySize = DL.getTypeAllocSize(Ty); in visitInlineAsm() local 6720 int SSFI = MF.getFrameInfo()->CreateStackObject(TySize, Align, false); in visitInlineAsm() 7504 uint64_t TySize = DL.getTypeAllocSize(CLI.RetTy); in LowerCallTo() local 7507 DemoteStackIdx = MF.getFrameInfo()->CreateStackObject(TySize, Align, false); in LowerCallTo()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | LoadStoreVectorizer.cpp | 514 unsigned TySize = DL.getTypeSizeInBits(Ty); in collectInstructions() local 515 if (TySize < 8) in collectInstructions() 523 if (TySize > VecRegSize / 2) in collectInstructions() 550 unsigned TySize = DL.getTypeSizeInBits(Ty); in collectInstructions() local 551 if (TySize < 8) in collectInstructions() 557 if (TySize > VecRegSize / 2) in collectInstructions()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUCodeGenPrepare.cpp | 261 int TySize = DL.getTypeSizeInBits(Ty); in canWidenScalarExtLoad() local 265 return I.isSimple() && TySize < 32 && Align >= 4 && DA->isUniform(&I); in canWidenScalarExtLoad() 834 int TySize = Mod->getDataLayout().getTypeSizeInBits(I.getType()); in visitLoadInst() local 835 Type *IntNTy = Builder.getIntNTy(TySize); in visitLoadInst()
|
/external/clang/lib/CodeGen/ |
D | TargetInfo.cpp | 2773 unsigned TySize = (unsigned)Context.getTypeSize(Ty); in BitsContainNoUserData() local 2774 if (TySize <= StartBit) in BitsContainNoUserData() 3479 uint64_t TySize = SizeAlign.first.getQuantity(); in EmitVAArg() local 3486 CGF.Builder.CreateMemCpy(Tmp, RegAddr, TySize, false); in EmitVAArg() 6185 void CoerceToIntArgs(uint64_t TySize, 6187 llvm::Type* HandleAggregates(QualType Ty, uint64_t TySize) const; 6257 uint64_t TySize, SmallVectorImpl<llvm::Type *> &ArgList) const { in CoerceToIntArgs() argument 6262 for (unsigned N = TySize / (MinABIStackAlignInBytes * 8); N; --N) in CoerceToIntArgs() 6266 unsigned R = TySize % (MinABIStackAlignInBytes * 8); in CoerceToIntArgs() 6274 llvm::Type* MipsABIInfo::HandleAggregates(QualType Ty, uint64_t TySize) const { in HandleAggregates() [all …]
|
/external/llvm/lib/CodeGen/ |
D | SafeStack.cpp | 685 uint64_t TySize = DL->getTypeAllocSize(Ty); in moveDynamicAllocasToUnsafeStack() local 686 Value *Size = IRB.CreateMul(ArraySize, ConstantInt::get(IntPtrTy, TySize)); in moveDynamicAllocasToUnsafeStack()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | SafeStack.cpp | 657 uint64_t TySize = DL.getTypeAllocSize(Ty); in moveDynamicAllocasToUnsafeStack() local 658 Value *Size = IRB.CreateMul(ArraySize, ConstantInt::get(IntPtrTy, TySize)); in moveDynamicAllocasToUnsafeStack()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 939 if (int64_t TySize = DL.getTypeAllocSize(Ty)) { in FindElementAtOffset() local 940 FirstIdx = Offset/TySize; in FindElementAtOffset() 941 Offset -= FirstIdx*TySize; in FindElementAtOffset() 946 Offset += TySize; in FindElementAtOffset() 949 assert((uint64_t)Offset < (uint64_t)TySize && "Out of range offset"); in FindElementAtOffset()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 1055 if (int64_t TySize = DL.getTypeAllocSize(Ty)) { in FindElementAtOffset() local 1056 FirstIdx = Offset/TySize; in FindElementAtOffset() 1057 Offset -= FirstIdx*TySize; in FindElementAtOffset() 1062 Offset += TySize; in FindElementAtOffset() 1065 assert((uint64_t)Offset < (uint64_t)TySize && "Out of range offset"); in FindElementAtOffset()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/ |
D | IRTranslator.cpp | 1192 unsigned TySize = in translateAlloca() local 1194 MIRBuilder.buildMul(AllocSize, NumElts, TySize); in translateAlloca()
|