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 154 uint64_t getFieldOffset(unsigned FieldNo) const {
155 assert (FieldNo < FieldCount && "Invalid Field No");
156 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 538 unsigned fieldNo = 0;
540 fieldEnd = D->field_end(); field != fieldEnd; ++field, ++fieldNo) {
541 assert(layout.getFieldOffset(fieldNo) == 0 &&
815 unsigned FieldNo = 0;
819 FieldEnd = D->field_end(); Field != FieldEnd; ++Field, ++FieldNo) {
825 --FieldNo;
831 if (!LayoutField(*Field, Layout.getFieldOffset(FieldNo))) {
    [all...]
CGDebugInfo.cpp 783 unsigned fieldNo = 0;
792 unsigned fieldno = 0; local
794 E = CXXDecl->captures_end(); I != E; ++I, ++Field, ++fieldno) {
809 Field->getAccess(), layout.getFieldOffset(fieldno),
819 I != E; ++I, ++fieldNo) {
825 --fieldNo;
849 layout.getFieldOffset(fieldNo), tunit, 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/Target/
TargetData.cpp 611 unsigned FieldNo = cast<ConstantInt>(Indices[CurIDX])->getZExtValue();
617 Result += Layout->getElementOffset(FieldNo);
620 Ty = STy->getElementType(FieldNo);
  /external/llvm/include/llvm/Analysis/
ScalarEvolution.h 640 const SCEV *getOffsetOfExpr(StructType *STy, unsigned FieldNo);
644 const SCEV *getOffsetOfExpr(Type *CTy, Constant *FieldNo);
    [all...]
ScalarEvolutionExpressions.h 447 bool isOffsetOf(Type *&STy, Constant *&FieldNo) const;
  /external/llvm/lib/VMCore/
ConstantFold.cpp 451 /// on Ty and FieldNo, with any known factors factored out. If Folded is false,
455 static Constant *getFoldedOffsetOf(Type *Ty, Constant *FieldNo,
459 Constant *N = ConstantExpr::getCast(CastInst::getCastOpcode(FieldNo, false,
461 FieldNo, DestTy);
483 Constant *N = ConstantExpr::getCast(CastInst::getCastOpcode(FieldNo,
487 FieldNo, DestTy);
498 Constant *C = ConstantExpr::getOffsetOf(Ty, FieldNo);
    [all...]
Constants.cpp     [all...]
  /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 223 Constant *FieldNo;
224 if (U->isOffsetOf(CTy, FieldNo)) {
226 WriteAsOperand(OS, FieldNo, false);
423 bool SCEVUnknown::isOffsetOf(Type *&CTy, Constant *&FieldNo) const {
437 FieldNo = CE->getOperand(2);
    [all...]
  /external/llvm/include/llvm/
Constants.h     [all...]

Completed in 368 milliseconds