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 181 uint64_t getFieldOffset(unsigned FieldNo) const {
182 assert (FieldNo < FieldCount && "Invalid Field No");
183 return FieldOffsets[FieldNo];
  /external/clang/lib/CodeGen/
CGExprConstant.cpp 353 unsigned FieldNo = 0;
357 FieldEnd = RD->field_end(); Field != FieldEnd; ++Field, ++FieldNo) {
380 AppendField(*Field, Layout.getFieldOffset(FieldNo), EltInit);
383 AppendBitField(*Field, Layout.getFieldOffset(FieldNo),
443 unsigned FieldNo = 0;
447 FieldEnd = RD->field_end(); Field != FieldEnd; ++Field, ++FieldNo) {
458 RD->isUnion() ? Val.getUnionValue() : Val.getStructField(FieldNo);
465 AppendField(*Field, Layout.getFieldOffset(FieldNo) + OffsetBits, EltInit);
468 AppendBitField(*Field, Layout.getFieldOffset(FieldNo) + OffsetBits,
    [all...]
CGRecordLayoutBuilder.cpp 720 unsigned FieldNo = RL->getLLVMFieldNo(FD);
721 assert(AST_RL.getFieldOffset(i) == SL->getElementOffsetInBits(FieldNo) &&
    [all...]
CGDebugInfo.cpp 835 unsigned fieldno = 0; local
837 E = CXXDecl->captures_end(); I != E; ++I, ++Field, ++fieldno) {
851 layout.getFieldOffset(fieldno), VUnit, RecordTy);
864 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);
257 unsigned FieldNo = 0;
259 E = Info->Class->field_end(); I != E; ++I, ++FieldNo) {
263 CharUnits FieldOffset = Offset + getFieldOffset(Layout, FieldNo);
305 unsigned FieldNo = 0;
307 E = Info->Class->field_end(); I != E; ++I, ++FieldNo) {
311 CharUnits FieldOffset = Offset + getFieldOffset(Layout, FieldNo);
370 unsigned FieldNo = 0;
372 I != E; ++I, ++FieldNo) {
    [all...]
  /external/llvm/lib/Transforms/IPO/
GlobalOpt.cpp     [all...]
  /external/llvm/lib/IR/
DataLayout.cpp 744 unsigned FieldNo = cast<ConstantInt>(Indices[CurIDX])->getZExtValue();
750 Result += Layout->getElementOffset(FieldNo);
753 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/lib/Analysis/
BasicAliasAnalysis.cpp 355 unsigned FieldNo = cast<ConstantInt>(Index)->getZExtValue();
356 if (FieldNo == 0) continue;
358 BaseOffs += DL->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 FieldNo->printAsOperand(OS, false);
427 bool SCEVUnknown::isOffsetOf(Type *&CTy, Constant *&FieldNo) const {
441 FieldNo = CE->getOperand(2);
    [all...]
  /external/llvm/include/llvm/IR/
Constants.h     [all...]
  /external/llvm/include/llvm/Analysis/
ScalarEvolution.h 661 const SCEV *getOffsetOfExpr(Type *IntTy, StructType *STy, unsigned FieldNo);
    [all...]
ScalarEvolutionExpressions.h 516 bool isOffsetOf(Type *&STy, Constant *&FieldNo) const;

Completed in 1563 milliseconds