/external/llvm/lib/Transforms/Scalar/ |
ScalarReplAggregates.cpp | 366 unsigned EltSize = In->getPrimitiveSizeInBits()/8; 367 if (EltSize == AllocaSize) 373 if (Offset % EltSize == 0 && AllocaSize % EltSize == 0 && 377 VectorTy = VectorType::get(In, AllocaSize/EltSize); 383 if (EltSize == CurrentEltSize) 386 if (In->isIntegerTy() && isPowerOf2_32(AllocaSize / EltSize)) [all...] |
/external/llvm/include/llvm/Support/ |
Allocator.h | 170 // Round EltSize up to the specified alignment. 171 size_t EltSize = (sizeof(T)+Alignment-1)&(-Alignment); 172 return static_cast<T*>(Allocate(Num * EltSize, Alignment));
|
/external/llvm/lib/Analysis/ |
ConstantFolding.cpp | 280 uint64_t EltSize = TD.getTypeAllocSize(CS->getOperand(Index)->getType()); 282 if (ByteOffset < EltSize && 309 uint64_t EltSize = TD.getTypeAllocSize(CA->getType()->getElementType()); 310 uint64_t Index = ByteOffset / EltSize; 311 uint64_t Offset = ByteOffset - Index * EltSize; 316 if (EltSize >= BytesLeft) 320 BytesLeft -= EltSize; 321 CurPtr += EltSize; 327 uint64_t EltSize = TD.getTypeAllocSize(CV->getType()->getElementType()); 328 uint64_t Index = ByteOffset / EltSize; [all...] |
/external/llvm/lib/CodeGen/ |
Analysis.cpp | 93 uint64_t EltSize = TLI.getTargetData()->getTypeAllocSize(EltTy); 96 StartingOffset + i * EltSize);
|
/external/llvm/lib/Target/PowerPC/ |
PPCISelLowering.h | 219 bool isSplatShuffleMask(ShuffleVectorSDNode *N, unsigned EltSize); 227 unsigned getVSPLTImmediate(SDNode *N, unsigned EltSize);
|
PPCISelLowering.cpp | 605 bool PPC::isSplatShuffleMask(ShuffleVectorSDNode *N, unsigned EltSize) { 607 (EltSize == 1 || EltSize == 2 || EltSize == 4)); 619 for (unsigned i = 1; i != EltSize; ++i) 623 for (unsigned i = EltSize, e = 16; i != e; i += EltSize) { 625 for (unsigned j = 0; j != EltSize; ++j) 650 unsigned PPC::getVSPLTImmediate(SDNode *N, unsigned EltSize) { 652 assert(isSplatShuffleMask(SVOp, EltSize)); [all...] |
/external/clang/lib/CodeGen/ |
TargetInfo.cpp | [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstructionCombining.cpp | 726 uint64_t EltSize = TD->getTypeAllocSize(AT->getElementType()); 727 assert(EltSize && "Cannot index into a zero-sized array"); 728 NewIndices.push_back(ConstantInt::get(IntPtrTy,Offset/EltSize)); 729 Offset %= EltSize; [all...] |
/external/llvm/lib/Target/ARM/ |
ARMISelLowering.cpp | [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
LegalizeTypes.cpp | [all...] |
LegalizeDAG.cpp | 672 unsigned EltSize = EltVT.getSizeInBits()/8; 673 Tmp3 = DAG.getNode(ISD::MUL, dl, IdxVT, Tmp3,DAG.getConstant(EltSize, IdxVT)); [all...] |
DAGCombiner.cpp | [all...] |
/external/llvm/lib/Transforms/IPO/ |
GlobalOpt.cpp | 545 uint64_t EltSize = TD.getTypeAllocSize(STy->getElementType()); 563 unsigned NewAlign = (unsigned)MinAlign(StartAlignment, EltSize*i); [all...] |
/external/llvm/lib/Target/X86/ |
X86ISelLowering.cpp | [all...] |