/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 | 364 unsigned FieldNo = FirstFieldNo; 365 for (; BFI != BFE; ++BFI, ++FieldNo) { 367 uint64_t FieldOffset = Layout.getFieldOffset(FieldNo) - FirstFieldOffset; 483 unsigned fieldNo = 0; 485 fieldEnd = D->field_end(); field != fieldEnd; ++field, ++fieldNo) { 486 assert(layout.getFieldOffset(fieldNo) == 0 && 760 unsigned FieldNo = 0; 763 FI != FE; ++FI, ++FieldNo) { 775 if (!LayoutBitfields(Layout, FieldNo, FI, FE)) { 784 if (!LayoutField(FD, Layout.getFieldOffset(FieldNo))) { [all...] |
CGExprConstant.cpp | 374 unsigned FieldNo = 0; 378 FieldEnd = RD->field_end(); Field != FieldEnd; ++Field, ++FieldNo) { 401 AppendField(*Field, Layout.getFieldOffset(FieldNo), EltInit); 404 AppendBitField(*Field, Layout.getFieldOffset(FieldNo), 460 unsigned FieldNo = 0; 464 FieldEnd = RD->field_end(); Field != FieldEnd; ++Field, ++FieldNo) { 475 RD->isUnion() ? Val.getUnionValue() : Val.getStructField(FieldNo); 482 AppendField(*Field, Layout.getFieldOffset(FieldNo) + OffsetBits, EltInit); 485 AppendBitField(*Field, Layout.getFieldOffset(FieldNo) + OffsetBits, [all...] |
CGDebugInfo.cpp | 840 unsigned fieldno = 0; local 842 E = CXXDecl->captures_end(); I != E; ++I, ++Field, ++fieldno) { 856 layout.getFieldOffset(fieldno), VUnit, RecordTy); 869 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 | 646 unsigned FieldNo = cast<ConstantInt>(Indices[CurIDX])->getZExtValue(); 652 Result += Layout->getElementOffset(FieldNo); 655 Ty = STy->getElementType(FieldNo);
|
ConstantFold.cpp | 456 /// on Ty and FieldNo, with any known factors factored out. If Folded is false, 460 static Constant *getFoldedOffsetOf(Type *Ty, Constant *FieldNo, 464 Constant *N = ConstantExpr::getCast(CastInst::getCastOpcode(FieldNo, false, 466 FieldNo, DestTy); 488 Constant *N = ConstantExpr::getCast(CastInst::getCastOpcode(FieldNo, 492 FieldNo, DestTy); 503 Constant *C = ConstantExpr::getOffsetOf(Ty, FieldNo); [all...] |
Constants.cpp | [all...] |
/external/llvm/include/llvm/Analysis/ |
ScalarEvolution.h | 649 const SCEV *getOffsetOfExpr(StructType *STy, unsigned FieldNo); 653 const SCEV *getOffsetOfExpr(Type *CTy, Constant *FieldNo); [all...] |
ScalarEvolutionExpressions.h | 434 bool isOffsetOf(Type *&STy, Constant *&FieldNo) const;
|
/external/llvm/lib/Analysis/ |
BasicAliasAnalysis.cpp | 338 unsigned FieldNo = cast<ConstantInt>(Index)->getZExtValue(); 339 if (FieldNo == 0) continue; 341 BaseOffs += TD->getStructLayout(STy)->getElementOffset(FieldNo); [all...] |
ScalarEvolutionExpander.cpp | 484 Constant *FieldNo; 485 if (U->isOffsetOf(CTy, FieldNo) && CTy == STy) { 486 GepIndices.push_back(FieldNo); 488 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...] |