HomeSort by relevance Sort by last modified time
    Searched refs:FieldNo (Results 1 - 15 of 15) sorted by null

  /external/clang/include/clang/AST/
RecordLayout.h 124 uint64_t getFieldOffset(unsigned FieldNo) const {
125 assert (FieldNo < FieldCount && "Invalid Field No");
126 return FieldOffsets[FieldNo];
  /external/llvm/lib/Transforms/IPO/
GlobalOpt.cpp     [all...]
  /external/llvm/lib/Target/
TargetData.cpp 546 unsigned FieldNo = cast<ConstantInt>(Indices[CurIDX])->getZExtValue();
552 Result += Layout->getElementOffset(FieldNo);
555 Ty = STy->getElementType(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/clang/lib/CodeGen/
CGRecordLayoutBuilder.cpp 530 unsigned fieldNo = 0;
532 fieldEnd = D->field_end(); field != fieldEnd; ++field, ++fieldNo) {
533 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 344 unsigned FieldNo = 0;
350 FieldEnd = RD->field_end(); Field != FieldEnd; ++Field, ++FieldNo) {
355 --FieldNo;
385 if (!AppendField(*Field, Layout.getFieldOffset(FieldNo), EltInit))
389 AppendBitField(*Field, Layout.getFieldOffset(FieldNo),
    [all...]
CGDebugInfo.cpp 674 unsigned fieldNo = 0;
681 I != E; ++I, ++fieldNo) {
686 --fieldNo;
710 layout.getFieldOffset(fieldNo), tunit, RecordTy);
    [all...]
  /external/llvm/include/llvm/Analysis/
ScalarEvolution.h 628 const SCEV *getOffsetOfExpr(StructType *STy, unsigned FieldNo);
632 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 323 unsigned FieldNo = cast<ConstantInt>(Index)->getZExtValue();
324 if (FieldNo == 0) continue;
326 BaseOffs += TD->getStructLayout(STy)->getElementOffset(FieldNo);
    [all...]
ScalarEvolutionExpander.cpp 459 Constant *FieldNo;
460 if (U->isOffsetOf(CTy, FieldNo) && CTy == STy) {
461 GepIndices.push_back(FieldNo);
463 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 453 /// on Ty and FieldNo, with any known factors factored out. If Folded is false,
457 static Constant *getFoldedOffsetOf(Type *Ty, Constant *FieldNo,
461 Constant *N = ConstantExpr::getCast(CastInst::getCastOpcode(FieldNo, false,
463 FieldNo, DestTy);
485 Constant *N = ConstantExpr::getCast(CastInst::getCastOpcode(FieldNo,
489 FieldNo, DestTy);
500 Constant *C = ConstantExpr::getOffsetOf(Ty, FieldNo);
    [all...]

Completed in 132 milliseconds