HomeSort by relevance Sort by last modified time
    Searched refs:GTI (Results 1 - 22 of 22) sorted by null

  /external/llvm/lib/IR/
Operator.cpp 21 for (gep_type_iterator GTI = gep_type_begin(this), GTE = gep_type_end(this);
22 GTI != GTE; ++GTI) {
23 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand());
30 if (StructType *STy = dyn_cast<StructType>(*GTI)) {
40 DL.getTypeAllocSize(GTI.getIndexedType()));
ConstantFold.cpp     [all...]
  /frameworks/compile/libbcc/lib/Renderscript/
RSX86TranslateGEPPass.cpp 45 for (llvm::gep_type_iterator GTI = gep_type_begin(GEP),
47 GTI != GTE; ++GTI) {
48 if (llvm::dyn_cast<llvm::StructType>(*GTI)) {
72 for (llvm::gep_type_iterator GTI = gep_type_begin(GEP),
74 GTI != GTE; ++GTI) {
75 if (llvm::StructType *STy = llvm::dyn_cast<llvm::StructType>(*GTI)) {
76 llvm::ConstantInt *OpC = llvm::dyn_cast<llvm::ConstantInt>(GTI.getOperand());
92 DL.getTypeAllocSize(GTI.getIndexedType()))
    [all...]
  /external/llvm/lib/Transforms/Scalar/
SeparateConstOffsetFromGEP.cpp 721 gep_type_iterator GTI = gep_type_begin(*GEP);
723 I != E; ++I, ++GTI) {
725 if (isa<SequentialType>(*GTI)) {
740 gep_type_iterator GTI = gep_type_begin(*GEP);
741 for (unsigned I = 1, E = GEP->getNumOperands(); I != E; ++I, ++GTI) {
742 if (isa<SequentialType>(*GTI)) {
    [all...]
NaryReassociate.cpp 316 gep_type_iterator GTI = gep_type_begin(GEP);
317 for (auto I = GEP->idx_begin(); I != GEP->idx_end(); ++I, ++GTI) {
318 if (isa<SequentialType>(*GTI)) {
319 int64_t ElementSize = DL->getTypeAllocSize(GTI.getIndexedType());
331 StructType *STy = cast<StructType>(*GTI);
347 gep_type_iterator GTI = gep_type_begin(*GEP);
349 if (isa<SequentialType>(*GTI++)) {
350 if (auto *NewGEP = tryReassociateGEPAtIndex(GEP, I - 1, *GTI)) {
StraightLineStrengthReduce.cpp 251 gep_type_iterator GTI = gep_type_begin(GEP);
252 for (auto I = GEP->idx_begin(); I != GEP->idx_end(); ++I, ++GTI) {
253 if (isa<SequentialType>(*GTI)) {
254 int64_t ElementSize = DL->getTypeAllocSize(GTI.getIndexedType());
266 StructType *STy = cast<StructType>(*GTI);
521 gep_type_iterator GTI = gep_type_begin(GEP);
523 if (!isa<SequentialType>(*GTI++))
535 uint64_t ElementSize = DL->getTypeAllocSize(*GTI);
MemCpyOptimizer.cpp 48 gep_type_iterator GTI = gep_type_begin(GEP);
49 for (unsigned i = 1; i != Idx; ++i, ++GTI)
54 for (unsigned i = Idx, e = GEP->getNumOperands(); i != e; ++i, ++GTI) {
61 if (StructType *STy = dyn_cast<StructType>(*GTI)) {
68 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType());
    [all...]
SROA.cpp 701 for (gep_type_iterator GTI = gep_type_begin(GEPI),
703 GTI != GTE; ++GTI) {
704 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand());
709 if (StructType *STy = dyn_cast<StructType>(*GTI)) {
719 DL.getTypeAllocSize(GTI.getIndexedType()));
    [all...]
  /external/llvm/include/llvm/Transforms/Utils/
Local.h 207 gep_type_iterator GTI = gep_type_begin(GEP);
209 ++i, ++GTI) {
211 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType()) & PtrSizeMask;
217 if (StructType *STy = dyn_cast<StructType>(*GTI)) {
  /external/llvm/include/llvm/Analysis/
TargetTransformInfoImpl.h 417 auto GTI = gep_type_begin(PointerType::get(PointeeType, AS), Operands);
418 for (auto I = Operands.begin(); I != Operands.end(); ++I, ++GTI) {
425 if (isa<SequentialType>(*GTI)) {
426 int64_t ElementSize = DL.getTypeAllocSize(GTI.getIndexedType());
437 StructType *STy = cast<StructType>(*GTI);
446 PointerType::get(*GTI, AS), const_cast<GlobalValue *>(BaseGV),
  /external/llvm/lib/Analysis/
InlineCost.cpp 267 for (gep_type_iterator GTI = gep_type_begin(GEP), GTE = gep_type_end(GEP);
268 GTI != GTE; ++GTI) {
269 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand());
271 if (Constant *SimpleOp = SimplifiedValues.lookup(GTI.getOperand()))
278 if (StructType *STy = dyn_cast<StructType>(*GTI)) {
285 APInt TypeSize(IntPtrWidth, DL.getTypeAllocSize(GTI.getIndexedType()));
    [all...]
BasicAliasAnalysis.cpp 389 gep_type_iterator GTI = gep_type_begin(GEPOp);
394 if (StructType *STy = dyn_cast<StructType>(*GTI++)) {
408 BaseOffs += DL.getTypeAllocSize(*GTI) * CIdx->getSExtValue();
412 uint64_t Scale = DL.getTypeAllocSize(*GTI);
    [all...]
ValueTracking.cpp     [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineCompares.cpp 507 gep_type_iterator GTI = gep_type_begin(GEP);
516 for (i = 1; i != e; ++i, ++GTI) {
522 if (StructType *STy = dyn_cast<StructType>(*GTI)) {
525 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType());
541 uint64_t VariableScale = DL.getTypeAllocSize(GTI.getIndexedType());
544 for (++i, ++GTI; i != e; ++i, ++GTI) {
552 if (StructType *STy = dyn_cast<StructType>(*GTI)) {
555 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType());
    [all...]
InstructionCombining.cpp     [all...]
  /external/llvm/lib/Target/Mips/
MipsFastISel.cpp 435 gep_type_iterator GTI = gep_type_begin(U);
437 ++i, ++GTI) {
439 if (StructType *STy = dyn_cast<StructType>(*GTI)) {
444 uint64_t S = DL.getTypeAllocSize(GTI.getIndexedType());
    [all...]
  /external/llvm/lib/Target/PowerPC/
PPCFastISel.cpp 343 gep_type_iterator GTI = gep_type_begin(U);
345 II != IE; ++II, ++GTI) {
347 if (StructType *STy = dyn_cast<StructType>(*GTI)) {
352 uint64_t S = DL.getTypeAllocSize(GTI.getIndexedType());
    [all...]
  /external/llvm/lib/Target/ARM/
ARMFastISel.cpp 802 gep_type_iterator GTI = gep_type_begin(U);
804 i != e; ++i, ++GTI) {
806 if (StructType *STy = dyn_cast<StructType>(*GTI)) {
811 uint64_t S = DL.getTypeAllocSize(GTI.getIndexedType());
    [all...]
  /external/llvm/lib/Target/X86/
X86FastISel.cpp 766 gep_type_iterator GTI = gep_type_begin(U);
770 i != e; ++i, ++GTI) {
772 if (StructType *STy = dyn_cast<StructType>(*GTI)) {
780 uint64_t S = DL.getTypeAllocSize(GTI.getIndexedType());
    [all...]
  /external/llvm/lib/CodeGen/
CodeGenPrepare.cpp     [all...]
  /external/llvm/lib/Target/AArch64/
AArch64FastISel.cpp 558 gep_type_iterator GTI = gep_type_begin(U);
560 ++i, ++GTI) {
562 if (StructType *STy = dyn_cast<StructType>(*GTI)) {
567 uint64_t S = DL.getTypeAllocSize(GTI.getIndexedType());
    [all...]
AArch64ISelLowering.cpp     [all...]

Completed in 2077 milliseconds