/external/clang/include/clang/AST/ |
RecordLayout.h | 120 uint64_t getFieldOffset(unsigned FieldNo) const { 121 assert (FieldNo < FieldCount && "Invalid Field No"); 122 return FieldOffsets[FieldNo];
|
/external/clang/lib/AST/ |
RecordLayoutBuilder.cpp | 96 getFieldOffset(const ASTRecordLayout &Layout, unsigned FieldNo) const { 97 uint64_t FieldOffset = Layout.getFieldOffset(FieldNo); 261 unsigned FieldNo = 0; 263 E = Info->Class->field_end(); I != E; ++I, ++FieldNo) { 268 CharUnits FieldOffset = Offset + getFieldOffset(Layout, FieldNo); 310 unsigned FieldNo = 0; 312 E = Info->Class->field_end(); I != E; ++I, ++FieldNo) { 317 CharUnits FieldOffset = Offset + getFieldOffset(Layout, FieldNo); 380 unsigned FieldNo = 0; 382 I != E; ++I, ++FieldNo) { [all...] |
/external/llvm/lib/Transforms/IPO/ |
GlobalOpt.cpp | [all...] |
/external/llvm/lib/Target/ |
TargetData.cpp | 538 unsigned FieldNo = cast<ConstantInt>(Indices[CurIDX])->getZExtValue(); 544 Result += Layout->getElementOffset(FieldNo); 547 Ty = STy->getElementType(FieldNo);
|
/external/clang/lib/CodeGen/ |
CGRecordLayoutBuilder.cpp | 532 unsigned fieldNo = 0; 534 fieldEnd = D->field_end(); field != fieldEnd; ++field, ++fieldNo) { 535 assert(layout.getFieldOffset(fieldNo) == 0 && 759 unsigned FieldNo = 0; 763 FieldEnd = D->field_end(); Field != FieldEnd; ++Field, ++FieldNo) { 769 --FieldNo; 775 if (!LayoutField(*Field, Layout.getFieldOffset(FieldNo))) { [all...] |
CGExprConstant.cpp | 345 unsigned FieldNo = 0; 351 FieldEnd = RD->field_end(); Field != FieldEnd; ++Field, ++FieldNo) { 356 --FieldNo; 386 if (!AppendField(*Field, Layout.getFieldOffset(FieldNo), EltInit)) 390 AppendBitField(*Field, Layout.getFieldOffset(FieldNo), [all...] |
CGDebugInfo.cpp | 629 unsigned fieldNo = 0; 636 I != E; ++I, ++fieldNo) { 641 --fieldNo; 659 layout.getFieldOffset(fieldNo), tunit, RecordTy); [all...] |
/external/llvm/include/llvm/Analysis/ |
ScalarEvolution.h | 561 const SCEV *getOffsetOfExpr(StructType *STy, unsigned FieldNo); 565 const SCEV *getOffsetOfExpr(Type *CTy, Constant *FieldNo); [all...] |
ScalarEvolutionExpressions.h | 446 bool isOffsetOf(Type *&STy, Constant *&FieldNo) const;
|
/external/llvm/include/llvm/ |
Constants.h | 619 static Constant *getOffsetOf(StructType *STy, unsigned FieldNo); 624 static Constant *getOffsetOf(Type *Ty, Constant *FieldNo); [all...] |
/external/llvm/lib/Analysis/ |
BasicAliasAnalysis.cpp | 322 unsigned FieldNo = cast<ConstantInt>(Index)->getZExtValue(); 323 if (FieldNo == 0) continue; 325 BaseOffs += TD->getStructLayout(STy)->getElementOffset(FieldNo); [all...] |
ScalarEvolutionExpander.cpp | 455 Constant *FieldNo; 456 if (U->isOffsetOf(CTy, FieldNo) && CTy == STy) { 457 GepIndices.push_back(FieldNo); 459 STy->getTypeAtIndex(cast<ConstantInt>(FieldNo)->getZExtValue()); [all...] |
ScalarEvolution.cpp | 211 Constant *FieldNo; 212 if (U->isOffsetOf(CTy, FieldNo)) { 214 WriteAsOperand(OS, FieldNo, false); 399 bool SCEVUnknown::isOffsetOf(Type *&CTy, Constant *&FieldNo) const { 413 FieldNo = CE->getOperand(2); [all...] |
/external/llvm/lib/VMCore/ |
Constants.cpp | [all...] |
ConstantFold.cpp | 454 /// on Ty and FieldNo, with any known factors factored out. If Folded is false, 458 static Constant *getFoldedOffsetOf(Type *Ty, Constant *FieldNo, 462 Constant *N = ConstantExpr::getCast(CastInst::getCastOpcode(FieldNo, false, 464 FieldNo, DestTy); 486 Constant *N = ConstantExpr::getCast(CastInst::getCastOpcode(FieldNo, 490 FieldNo, DestTy); 501 Constant *C = ConstantExpr::getOffsetOf(Ty, FieldNo); [all...] |