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

1 2

  /external/clang/include/clang/AST/
RecordLayout.h 177 uint64_t getFieldOffset(unsigned FieldNo) const {
178 return FieldOffsets[FieldNo];
  /external/llvm/lib/Transforms/IPO/
GlobalOpt.cpp     [all...]
  /external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
GlobalOpt.cpp     [all...]
  /external/clang/lib/CodeGen/
CGExprConstant.cpp 369 unsigned FieldNo = 0;
380 FieldEnd = RD->field_end(); Field != FieldEnd; ++Field, ++FieldNo) {
403 AppendField(*Field, Layout.getFieldOffset(FieldNo), EltInit);
407 AppendBitField(*Field, Layout.getFieldOffset(FieldNo), CI);
471 unsigned FieldNo = 0;
475 FieldEnd = RD->field_end(); Field != FieldEnd; ++Field, ++FieldNo) {
486 RD->isUnion() ? Val.getUnionValue() : Val.getStructField(FieldNo);
493 AppendField(*Field, Layout.getFieldOffset(FieldNo) + OffsetBits, EltInit);
496 AppendBitField(*Field, Layout.getFieldOffset(FieldNo) + OffsetBits,
    [all...]
CGRecordLayoutBuilder.cpp     [all...]
  /external/swiftshader/third_party/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 142 getFieldOffset(const ASTRecordLayout &Layout, unsigned FieldNo) const {
143 uint64_t FieldOffset = Layout.getFieldOffset(FieldNo);
301 unsigned FieldNo = 0;
303 E = Info->Class->field_end(); I != E; ++I, ++FieldNo) {
307 CharUnits FieldOffset = Offset + getFieldOffset(Layout, FieldNo);
348 unsigned FieldNo = 0;
350 E = Info->Class->field_end(); I != E; ++I, ++FieldNo) {
354 CharUnits FieldOffset = Offset + getFieldOffset(Layout, FieldNo);
413 unsigned FieldNo = 0;
415 I != E; ++I, ++FieldNo) {
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
GlobalOpt.cpp     [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Coroutines/
CoroFrame.cpp 269 unsigned FieldNo = 0;
279 // definition. Subsequent mentions of a defintion do not have fieldNo
284 assert(FieldNo && "Accessing unassigned field");
285 return FieldNo;
288 assert(!FieldNo && "Reassigning field number");
289 FieldNo = FieldNumber;
    [all...]
  /external/llvm/lib/IR/
DataLayout.cpp 740 unsigned FieldNo = cast<ConstantInt>(Idx)->getZExtValue();
746 Result += Layout->getElementOffset(FieldNo);
ConstantFold.cpp 468 /// Return a ConstantExpr with type DestTy for offsetof on Ty and FieldNo, with
472 static Constant *getFoldedOffsetOf(Type *Ty, Constant *FieldNo,
476 Constant *N = ConstantExpr::getCast(CastInst::getCastOpcode(FieldNo, false,
478 FieldNo, DestTy);
500 Constant *N = ConstantExpr::getCast(CastInst::getCastOpcode(FieldNo,
504 FieldNo, DestTy);
515 Constant *C = ConstantExpr::getOffsetOf(Ty, FieldNo);
    [all...]
  /external/swiftshader/third_party/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/swiftshader/third_party/LLVM/include/llvm/
Constants.h 619 static Constant *getOffsetOf(StructType *STy, unsigned FieldNo);
624 static Constant *getOffsetOf(Type *Ty, Constant *FieldNo);
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DataLayout.cpp 790 unsigned FieldNo = cast<ConstantInt>(Idx)->getZExtValue();
796 Result += Layout->getElementOffset(FieldNo);
ConstantFold.cpp 466 /// Return a ConstantExpr with type DestTy for offsetof on Ty and FieldNo, with
470 static Constant *getFoldedOffsetOf(Type *Ty, Constant *FieldNo, Type *DestTy,
473 Constant *N = ConstantExpr::getCast(CastInst::getCastOpcode(FieldNo, false,
475 FieldNo, DestTy);
497 Constant *N = ConstantExpr::getCast(CastInst::getCastOpcode(FieldNo,
501 FieldNo, DestTy);
512 Constant *C = ConstantExpr::getOffsetOf(Ty, FieldNo);
    [all...]
  /external/swiftshader/third_party/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/Analysis/
BasicAliasAnalysis.cpp 418 unsigned FieldNo = cast<ConstantInt>(Index)->getZExtValue();
419 if (FieldNo == 0)
423 DL.getStructLayout(STy)->getElementOffset(FieldNo);
    [all...]
  /external/llvm/include/llvm/IR/
Constants.h     [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
Constants.h     [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
BasicAliasAnalysis.cpp 490 unsigned FieldNo = cast<ConstantInt>(Index)->getZExtValue();
491 if (FieldNo == 0)
495 DL.getStructLayout(STy)->getElementOffset(FieldNo);
    [all...]
  /external/llvm/include/llvm/Analysis/
ScalarEvolutionExpressions.h 425 bool isOffsetOf(Type *&STy, Constant *&FieldNo) const;
  /external/swiftshader/third_party/LLVM/lib/VMCore/
Constants.cpp     [all...]

Completed in 834 milliseconds

1 2