/external/clang/include/clang/AST/ |
RecordLayout.h | 181 uint64_t getFieldOffset(unsigned FieldNo) const { 182 assert (FieldNo < FieldCount && "Invalid Field No"); 183 return FieldOffsets[FieldNo];
|
/external/clang/lib/CodeGen/ |
CGExprConstant.cpp | 369 unsigned FieldNo = 0; 373 FieldEnd = RD->field_end(); Field != FieldEnd; ++Field, ++FieldNo) { 396 AppendField(*Field, Layout.getFieldOffset(FieldNo), EltInit); 400 AppendBitField(*Field, Layout.getFieldOffset(FieldNo), CI); 464 unsigned FieldNo = 0; 468 FieldEnd = RD->field_end(); Field != FieldEnd; ++Field, ++FieldNo) { 479 RD->isUnion() ? Val.getUnionValue() : Val.getStructField(FieldNo); 486 AppendField(*Field, Layout.getFieldOffset(FieldNo) + OffsetBits, EltInit); 489 AppendBitField(*Field, Layout.getFieldOffset(FieldNo) + OffsetBits, [all...] |
CGRecordLayoutBuilder.cpp | [all...] |
CGDebugInfo.cpp | 927 unsigned fieldno = 0; local [all...] |
/external/clang/lib/AST/ |
RecordLayoutBuilder.cpp | 142 getFieldOffset(const ASTRecordLayout &Layout, unsigned FieldNo) const { 143 uint64_t FieldOffset = Layout.getFieldOffset(FieldNo); 301 unsigned FieldNo = 0; 303 E = Info->Class->field_end(); I != E; ++I, ++FieldNo) { 307 CharUnits FieldOffset = Offset + getFieldOffset(Layout, FieldNo); 348 unsigned FieldNo = 0; 350 E = Info->Class->field_end(); I != E; ++I, ++FieldNo) { 354 CharUnits FieldOffset = Offset + getFieldOffset(Layout, FieldNo); 413 unsigned FieldNo = 0; 415 I != E; ++I, ++FieldNo) { [all...] |
/external/llvm/lib/Transforms/IPO/ |
GlobalOpt.cpp | [all...] |
/external/llvm/lib/IR/ |
DataLayout.cpp | 740 unsigned FieldNo = cast<ConstantInt>(Indices[CurIDX])->getZExtValue(); 746 Result += Layout->getElementOffset(FieldNo); 749 Ty = STy->getElementType(FieldNo);
|
ConstantFold.cpp | 470 /// on Ty and FieldNo, with any known factors factored out. If Folded is false, 474 static Constant *getFoldedOffsetOf(Type *Ty, Constant *FieldNo, 478 Constant *N = ConstantExpr::getCast(CastInst::getCastOpcode(FieldNo, false, 480 FieldNo, DestTy); 502 Constant *N = ConstantExpr::getCast(CastInst::getCastOpcode(FieldNo, 506 FieldNo, DestTy); 517 Constant *C = ConstantExpr::getOffsetOf(Ty, FieldNo); [all...] |
Constants.cpp | [all...] |
/external/llvm/lib/Analysis/ |
BasicAliasAnalysis.cpp | 396 unsigned FieldNo = cast<ConstantInt>(Index)->getZExtValue(); 397 if (FieldNo == 0) 400 BaseOffs += DL.getStructLayout(STy)->getElementOffset(FieldNo); [all...] |
ScalarEvolution.cpp | 224 Constant *FieldNo; 225 if (U->isOffsetOf(CTy, FieldNo)) { 227 FieldNo->printAsOperand(OS, false); 422 bool SCEVUnknown::isOffsetOf(Type *&CTy, Constant *&FieldNo) const { 436 FieldNo = CE->getOperand(2); [all...] |
/external/llvm/include/llvm/IR/ |
Constants.h | [all...] |
/external/llvm/include/llvm/Analysis/ |
ScalarEvolutionExpressions.h | 439 bool isOffsetOf(Type *&STy, Constant *&FieldNo) const;
|
ScalarEvolution.h | [all...] |