Searched refs:FieldNo (Results 1 - 10 of 10) sorted by relevance
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/IPO/ |
H A D | GlobalOpt.cpp | 1346 static Value *GetHeapSROAValue(Value *V, unsigned FieldNo, argument 1351 if (FieldNo >= FieldVals.size()) 1352 FieldVals.resize(FieldNo+1); 1356 if (Value *FieldVal = FieldVals[FieldNo]) 1364 Result = new LoadInst(GetHeapSROAValue(LI->getOperand(0), FieldNo, 1367 LI->getName()+".f"+Twine(FieldNo), LI); 1375 PHINode::Create(PointerType::getUnqual(ST->getElementType(FieldNo)), 1377 PN->getName()+".f"+Twine(FieldNo), PN); 1379 PHIsToRewrite.push_back(std::make_pair(PN, FieldNo)); 1384 return FieldVals[FieldNo] 1414 unsigned FieldNo = cast<ConstantInt>(GEPI->getOperand(2))->getZExtValue(); local 1614 unsigned FieldNo = PHIsToRewrite.back().second; local [all...] |
/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/ |
H A D | TargetData.cpp | 613 unsigned FieldNo = cast<ConstantInt>(Indices[CurIDX])->getZExtValue(); local 619 Result += Layout->getElementOffset(FieldNo); 622 Ty = STy->getElementType(FieldNo);
|
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/Analysis/ |
H A D | ScalarEvolution.h | 640 const SCEV *getOffsetOfExpr(StructType *STy, unsigned FieldNo); 644 const SCEV *getOffsetOfExpr(Type *CTy, Constant *FieldNo);
|
H A D | ScalarEvolutionExpressions.h | 447 bool isOffsetOf(Type *&STy, Constant *&FieldNo) const;
|
/macosx-10.10.1/llvmCore-3425.0.34/lib/VMCore/ |
H A D | ConstantFold.cpp | 451 /// on Ty and FieldNo, with any known factors factored out. If Folded is false, 455 static Constant *getFoldedOffsetOf(Type *Ty, Constant *FieldNo, argument 459 Constant *N = ConstantExpr::getCast(CastInst::getCastOpcode(FieldNo, false, 461 FieldNo, DestTy); 483 Constant *N = ConstantExpr::getCast(CastInst::getCastOpcode(FieldNo, 487 FieldNo, DestTy); 498 Constant *C = ConstantExpr::getOffsetOf(Ty, FieldNo);
|
H A D | Constants.cpp | 1685 Constant *ConstantExpr::getOffsetOf(StructType* STy, unsigned FieldNo) { argument 1687 FieldNo)); 1690 Constant *ConstantExpr::getOffsetOf(Type* Ty, Constant *FieldNo) { argument 1691 // offsetof is implemented as: (i64) gep (Ty*)null, 0, FieldNo 1695 FieldNo
|
/macosx-10.10.1/llvmCore-3425.0.34/lib/Analysis/ |
H A D | BasicAliasAnalysis.cpp | 298 unsigned FieldNo = cast<ConstantInt>(Index)->getZExtValue(); local 299 if (FieldNo == 0) continue; 301 BaseOffs += TD->getStructLayout(STy)->getElementOffset(FieldNo);
|
H A D | ScalarEvolutionExpander.cpp | 485 Constant *FieldNo; local 486 if (U->isOffsetOf(CTy, FieldNo) && CTy == STy) { 487 GepIndices.push_back(FieldNo); 489 STy->getTypeAtIndex(cast<ConstantInt>(FieldNo)->getZExtValue());
|
H A D | ScalarEvolution.cpp | 223 Constant *FieldNo; local 224 if (U->isOffsetOf(CTy, FieldNo)) { 226 WriteAsOperand(OS, FieldNo, false); 423 bool SCEVUnknown::isOffsetOf(Type *&CTy, Constant *&FieldNo) const { 437 FieldNo = CE->getOperand(2); 2610 unsigned FieldNo) { 2616 TD->getStructLayout(STy)->getElementOffset(FieldNo)); 2618 Constant *C = ConstantExpr::getOffsetOf(STy, FieldNo); 2627 Constant *FieldNo) { 2628 Constant *C = ConstantExpr::getOffsetOf(CTy, FieldNo); [all...] |
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/ |
H A D | Constants.h | 836 static Constant *getOffsetOf(StructType *STy, unsigned FieldNo); 841 static Constant *getOffsetOf(Type *Ty, Constant *FieldNo);
|
Completed in 214 milliseconds