/external/clang/include/clang/AST/ |
RecordLayout.h | 154 uint64_t getFieldOffset(unsigned FieldNo) const { 155 assert (FieldNo < FieldCount && "Invalid Field No"); 156 return FieldOffsets[FieldNo];
|
/external/clang/lib/CodeGen/ |
CGRecordLayoutBuilder.cpp | 370 unsigned FieldNo = FirstFieldNo; 371 for (; BFI != BFE; ++BFI, ++FieldNo) { 373 uint64_t FieldOffset = Layout.getFieldOffset(FieldNo) - FirstFieldOffset; 489 unsigned fieldNo = 0; 491 fieldEnd = D->field_end(); field != fieldEnd; ++field, ++fieldNo) { 492 assert(layout.getFieldOffset(fieldNo) == 0 && 766 unsigned FieldNo = 0; 770 FI != FE; ++FI, ++FieldNo) { 776 --FieldNo; 791 if (!LayoutBitfields(Layout, FieldNo, FI, FE)) [all...] |
CGExprConstant.cpp | 379 unsigned FieldNo = 0; 385 FieldEnd = RD->field_end(); Field != FieldEnd; ++Field, ++FieldNo) { 390 --FieldNo; 420 AppendField(*Field, Layout.getFieldOffset(FieldNo), EltInit); 423 AppendBitField(*Field, Layout.getFieldOffset(FieldNo), 479 unsigned FieldNo = 0; 485 FieldEnd = RD->field_end(); Field != FieldEnd; ++Field, ++FieldNo) { 490 --FieldNo; 508 RD->isUnion() ? Val.getUnionValue() : Val.getStructField(FieldNo); 515 AppendField(*Field, Layout.getFieldOffset(FieldNo) + OffsetBits, EltInit) [all...] |
CGDebugInfo.cpp | 818 unsigned fieldno = 0; local 820 E = CXXDecl->captures_end(); I != E; ++I, ++Field, ++fieldno) { 834 layout.getFieldOffset(fieldno), VUnit, RecordTy); 847 layout.getFieldOffset(fieldno), VUnit, RecordTy); [all...] |
/external/clang/lib/AST/ |
RecordLayoutBuilder.cpp | 97 getFieldOffset(const ASTRecordLayout &Layout, unsigned FieldNo) const { 98 uint64_t FieldOffset = Layout.getFieldOffset(FieldNo); 261 unsigned FieldNo = 0; 263 E = Info->Class->field_end(); I != E; ++I, ++FieldNo) { 267 CharUnits FieldOffset = Offset + getFieldOffset(Layout, FieldNo); 309 unsigned FieldNo = 0; 311 E = Info->Class->field_end(); I != E; ++I, ++FieldNo) { 315 CharUnits FieldOffset = Offset + getFieldOffset(Layout, FieldNo); 378 unsigned FieldNo = 0; 380 I != E; ++I, ++FieldNo) { [all...] |
/external/llvm/lib/Transforms/IPO/ |
GlobalOpt.cpp | [all...] |
/external/llvm/lib/IR/ |
DataLayout.cpp | 679 unsigned FieldNo = cast<ConstantInt>(Indices[CurIDX])->getZExtValue(); 685 Result += Layout->getElementOffset(FieldNo); 688 Ty = STy->getElementType(FieldNo);
|
ConstantFold.cpp | 455 /// on Ty and FieldNo, with any known factors factored out. If Folded is false, 459 static Constant *getFoldedOffsetOf(Type *Ty, Constant *FieldNo, 463 Constant *N = ConstantExpr::getCast(CastInst::getCastOpcode(FieldNo, false, 465 FieldNo, DestTy); 487 Constant *N = ConstantExpr::getCast(CastInst::getCastOpcode(FieldNo, 491 FieldNo, DestTy); 502 Constant *C = ConstantExpr::getOffsetOf(Ty, FieldNo); [all...] |
Constants.cpp | [all...] |
/external/llvm/include/llvm/Analysis/ |
ScalarEvolution.h | 639 const SCEV *getOffsetOfExpr(StructType *STy, unsigned FieldNo); 643 const SCEV *getOffsetOfExpr(Type *CTy, Constant *FieldNo); [all...] |
ScalarEvolutionExpressions.h | 434 bool isOffsetOf(Type *&STy, Constant *&FieldNo) const;
|
/external/llvm/lib/Analysis/ |
BasicAliasAnalysis.cpp | 298 unsigned FieldNo = cast<ConstantInt>(Index)->getZExtValue(); 299 if (FieldNo == 0) continue; 301 BaseOffs += TD->getStructLayout(STy)->getElementOffset(FieldNo); [all...] |
ScalarEvolutionExpander.cpp | 485 Constant *FieldNo; 486 if (U->isOffsetOf(CTy, FieldNo) && CTy == STy) { 487 GepIndices.push_back(FieldNo); 489 STy->getTypeAtIndex(cast<ConstantInt>(FieldNo)->getZExtValue()); [all...] |
ScalarEvolution.cpp | 229 Constant *FieldNo; 230 if (U->isOffsetOf(CTy, FieldNo)) { 232 WriteAsOperand(OS, FieldNo, false); 429 bool SCEVUnknown::isOffsetOf(Type *&CTy, Constant *&FieldNo) const { 443 FieldNo = CE->getOperand(2); [all...] |
/external/llvm/include/llvm/IR/ |
Constants.h | [all...] |