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

  /external/clang/include/clang/AST/
RecordLayout.h 128 uint64_t getFieldOffset(unsigned FieldNo) const {
129 assert (FieldNo < FieldCount && "Invalid Field No");
130 return FieldOffsets[FieldNo];
  /external/clang/lib/CodeGen/
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...]
CGRecordLayoutBuilder.cpp 536 unsigned fieldNo = 0;
538 fieldEnd = D->field_end(); field != fieldEnd; ++field, ++fieldNo) {
539 assert(layout.getFieldOffset(fieldNo) == 0 &&
809 unsigned FieldNo = 0;
813 FieldEnd = D->field_end(); Field != FieldEnd; ++Field, ++FieldNo) {
819 --FieldNo;
825 if (!LayoutField(*Field, Layout.getFieldOffset(FieldNo))) {
    [all...]
CGDebugInfo.cpp 764 unsigned fieldNo = 0;
773 unsigned fieldno = 0; local
775 E = CXXDecl->captures_end(); I != E; ++I, ++Field, ++fieldno) {
790 Field->getAccess(), layout.getFieldOffset(fieldno),
800 I != E; ++I, ++fieldNo) {
806 --fieldNo;
830 layout.getFieldOffset(fieldNo), tunit, RecordTy);
    [all...]
  /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 611 unsigned FieldNo = cast<ConstantInt>(Indices[CurIDX])->getZExtValue();
617 Result += Layout->getElementOffset(FieldNo);
620 Ty = STy->getElementType(FieldNo);
  /external/llvm/lib/VMCore/
ConstantFold.cpp 452 /// on Ty and FieldNo, with any known factors factored out. If Folded is false,
456 static Constant *getFoldedOffsetOf(Type *Ty, Constant *FieldNo,
460 Constant *N = ConstantExpr::getCast(CastInst::getCastOpcode(FieldNo, false,
462 FieldNo, DestTy);
484 Constant *N = ConstantExpr::getCast(CastInst::getCastOpcode(FieldNo,
488 FieldNo, DestTy);
499 Constant *C = ConstantExpr::getOffsetOf(Ty, FieldNo);
    [all...]
Constants.cpp     [all...]
  /external/llvm/lib/Analysis/
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...]
BasicAliasAnalysis.cpp 324 unsigned FieldNo = cast<ConstantInt>(Index)->getZExtValue();
325 if (FieldNo == 0) continue;
327 BaseOffs += TD->getStructLayout(STy)->getElementOffset(FieldNo);
    [all...]
ScalarEvolution.cpp 221 Constant *FieldNo;
222 if (U->isOffsetOf(CTy, FieldNo)) {
224 WriteAsOperand(OS, FieldNo, false);
421 bool SCEVUnknown::isOffsetOf(Type *&CTy, Constant *&FieldNo) const {
435 FieldNo = CE->getOperand(2);
    [all...]
  /external/llvm/include/llvm/Analysis/
ScalarEvolution.h 637 const SCEV *getOffsetOfExpr(StructType *STy, unsigned FieldNo);
641 const SCEV *getOffsetOfExpr(Type *CTy, Constant *FieldNo);
    [all...]
ScalarEvolutionExpressions.h 446 bool isOffsetOf(Type *&STy, Constant *&FieldNo) const;
  /external/llvm/include/llvm/
Constants.h     [all...]

Completed in 1301 milliseconds