Home
last modified time | relevance | path

Searched refs:GTI (Results 1 – 16 of 16) sorted by relevance

/freebsd-10-stable/contrib/llvm/include/llvm/IR/
DOperator.h449 for (gep_type_iterator GTI = gep_type_begin(this), GTE = gep_type_end(this); in accumulateConstantOffset() local
450 GTI != GTE; ++GTI) { in accumulateConstantOffset()
451 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand()); in accumulateConstantOffset()
458 if (StructType *STy = dyn_cast<StructType>(*GTI)) { in accumulateConstantOffset()
469 DL.getTypeAllocSize(GTI.getIndexedType())); in accumulateConstantOffset()
/freebsd-10-stable/contrib/llvm/include/llvm/Transforms/Utils/
DLocal.h201 gep_type_iterator GTI = gep_type_begin(GEP); variable
203 ++i, ++GTI) {
205 uint64_t Size = TD.getTypeAllocSize(GTI.getIndexedType()) & PtrSizeMask;
211 if (StructType *STy = dyn_cast<StructType>(*GTI)) {
/freebsd-10-stable/contrib/llvm/lib/Analysis/
DValueTracking.cpp628 gep_type_iterator GTI = gep_type_begin(I); in ComputeMaskedBits() local
629 for (unsigned i = 1, e = I->getNumOperands(); i != e; ++i, ++GTI) { in ComputeMaskedBits()
631 if (StructType *STy = dyn_cast<StructType>(*GTI)) { in ComputeMaskedBits()
651 Type *IndexedTy = GTI.getIndexedType(); in ComputeMaskedBits()
936 for (gep_type_iterator GTI = gep_type_begin(GEP), GTE = gep_type_end(GEP); in isGEPKnownNonNull() local
937 GTI != GTE; ++GTI) { in isGEPKnownNonNull()
939 if (StructType *STy = dyn_cast<StructType>(*GTI)) { in isGEPKnownNonNull()
940 ConstantInt *OpC = cast<ConstantInt>(GTI.getOperand()); in isGEPKnownNonNull()
950 if (DL->getTypeAllocSize(GTI.getIndexedType()) == 0) in isGEPKnownNonNull()
955 if (ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand())) { in isGEPKnownNonNull()
[all …]
DBasicAliasAnalysis.cpp340 gep_type_iterator GTI = gep_type_begin(GEPOp); in DecomposeGEPExpression() local
345 if (StructType *STy = dyn_cast<StructType>(*GTI++)) { in DecomposeGEPExpression()
357 BaseOffs += TD->getTypeAllocSize(*GTI)*CIdx->getSExtValue(); in DecomposeGEPExpression()
361 uint64_t Scale = TD->getTypeAllocSize(*GTI); in DecomposeGEPExpression()
DScalarEvolution.cpp3191 gep_type_iterator GTI = gep_type_begin(GEP); in createNodeForGEP() local
3197 if (StructType *STy = dyn_cast<StructType>(*GTI++)) { in createNodeForGEP()
3206 const SCEV *ElementSize = getSizeOfExpr(IntPtrTy, *GTI); in createNodeForGEP()
/freebsd-10-stable/contrib/llvm/lib/Analysis/IPA/
DInlineCost.cpp265 for (gep_type_iterator GTI = gep_type_begin(GEP), GTE = gep_type_end(GEP); in accumulateGEPOffset() local
266 GTI != GTE; ++GTI) { in accumulateGEPOffset()
267 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand()); in accumulateGEPOffset()
269 if (Constant *SimpleOp = SimplifiedValues.lookup(GTI.getOperand())) in accumulateGEPOffset()
276 if (StructType *STy = dyn_cast<StructType>(*GTI)) { in accumulateGEPOffset()
283 APInt TypeSize(IntPtrWidth, TD->getTypeAllocSize(GTI.getIndexedType())); in accumulateGEPOffset()
/freebsd-10-stable/contrib/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp44 gep_type_iterator GTI = gep_type_begin(GEP); in GetOffsetFromIndex() local
45 for (unsigned i = 1; i != Idx; ++i, ++GTI) in GetOffsetFromIndex()
50 for (unsigned i = Idx, e = GEP->getNumOperands(); i != e; ++i, ++GTI) { in GetOffsetFromIndex()
57 if (StructType *STy = dyn_cast<StructType>(*GTI)) { in GetOffsetFromIndex()
64 uint64_t Size = TD.getTypeAllocSize(GTI.getIndexedType()); in GetOffsetFromIndex()
DCodeGenPrepare.cpp1090 gep_type_iterator GTI = gep_type_begin(AddrInst); in MatchOperationAddr() local
1091 for (unsigned i = 1, e = AddrInst->getNumOperands(); i != e; ++i, ++GTI) { in MatchOperationAddr()
1092 if (StructType *STy = dyn_cast<StructType>(*GTI)) { in MatchOperationAddr()
1098 uint64_t TypeSize = TD->getTypeAllocSize(GTI.getIndexedType()); in MatchOperationAddr()
/freebsd-10-stable/contrib/llvm/lib/IR/
DValue.cpp467 gep_type_iterator GTI = gep_type_begin(GEP); in isDereferenceablePointer() local
471 Type *Ty = *GTI++; in isDereferenceablePointer()
DConstantFold.cpp1533 gep_type_iterator GTI = gep_type_begin(CE1); in evaluateICmpRelation() local
1535 ++i, ++GTI) in evaluateICmpRelation()
1537 CE2->getOperand(i), GTI.getIndexedType())) { in evaluateICmpRelation()
/freebsd-10-stable/contrib/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp516 gep_type_iterator GTI = gep_type_begin(GEP); in EvaluateGEPOffsetExpression() local
525 for (i = 1; i != e; ++i, ++GTI) { in EvaluateGEPOffsetExpression()
531 if (StructType *STy = dyn_cast<StructType>(*GTI)) { in EvaluateGEPOffsetExpression()
534 uint64_t Size = TD.getTypeAllocSize(GTI.getIndexedType()); in EvaluateGEPOffsetExpression()
550 uint64_t VariableScale = TD.getTypeAllocSize(GTI.getIndexedType()); in EvaluateGEPOffsetExpression()
553 for (++i, ++GTI; i != e; ++i, ++GTI) { in EvaluateGEPOffsetExpression()
561 if (StructType *STy = dyn_cast<StructType>(*GTI)) { in EvaluateGEPOffsetExpression()
564 uint64_t Size = TD.getTypeAllocSize(GTI.getIndexedType()); in EvaluateGEPOffsetExpression()
DInstructionCombining.cpp1090 gep_type_iterator GTI = gep_type_begin(GEP); in visitGetElementPtrInst() local
1092 I != E; ++I, ++GTI) { in visitGetElementPtrInst()
1094 SequentialType *SeqTy = dyn_cast<SequentialType>(*GTI); in visitGetElementPtrInst()
/freebsd-10-stable/contrib/llvm/lib/Target/PowerPC/
DPPCFastISel.cpp323 gep_type_iterator GTI = gep_type_begin(U); in PPCComputeAddress() local
325 II != IE; ++II, ++GTI) { in PPCComputeAddress()
327 if (StructType *STy = dyn_cast<StructType>(*GTI)) { in PPCComputeAddress()
332 uint64_t S = TD.getTypeAllocSize(GTI.getIndexedType()); in PPCComputeAddress()
/freebsd-10-stable/contrib/llvm/lib/Target/X86/
DX86FastISel.cpp543 gep_type_iterator GTI = gep_type_begin(U); in X86SelectAddress() local
547 i != e; ++i, ++GTI) { in X86SelectAddress()
549 if (StructType *STy = dyn_cast<StructType>(*GTI)) { in X86SelectAddress()
557 uint64_t S = TD.getTypeAllocSize(GTI.getIndexedType()); in X86SelectAddress()
/freebsd-10-stable/contrib/llvm/lib/Target/ARM/
DARMFastISel.cpp887 gep_type_iterator GTI = gep_type_begin(U); in ARMComputeAddress() local
889 i != e; ++i, ++GTI) { in ARMComputeAddress()
891 if (StructType *STy = dyn_cast<StructType>(*GTI)) { in ARMComputeAddress()
896 uint64_t S = TD.getTypeAllocSize(GTI.getIndexedType()); in ARMComputeAddress()
/freebsd-10-stable/share/misc/
Dpci_vendors19354 a017 THUNDERX GTI (Global System Timers)