Home
last modified time | relevance | path

Searched refs:FieldNo (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp1166 static Value *GetHeapSROAValue(Value *V, unsigned FieldNo, in GetHeapSROAValue() argument
1171 if (FieldNo >= FieldVals.size()) in GetHeapSROAValue()
1172 FieldVals.resize(FieldNo+1); in GetHeapSROAValue()
1176 if (Value *FieldVal = FieldVals[FieldNo]) in GetHeapSROAValue()
1184 Value *V = GetHeapSROAValue(LI->getOperand(0), FieldNo, in GetHeapSROAValue()
1187 LI->getName() + ".f" + Twine(FieldNo), LI); in GetHeapSROAValue()
1198 PHINode::Create(PointerType::get(ST->getElementType(FieldNo), AS), in GetHeapSROAValue()
1200 PN->getName()+".f"+Twine(FieldNo), PN); in GetHeapSROAValue()
1202 PHIsToRewrite.push_back(std::make_pair(PN, FieldNo)); in GetHeapSROAValue()
1205 return FieldVals[FieldNo] = Result; in GetHeapSROAValue()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
DCoroFrame.cpp292 unsigned FieldNo = InvalidFieldIndex; member in __anon0f59f9700511::Spill
307 assert(FieldNo != InvalidFieldIndex && "Accessing unassigned field"); in fieldIndex()
308 return FieldNo; in fieldIndex()
311 assert(FieldNo == InvalidFieldIndex && "Reassigning field number"); in setFieldIndex()
312 FieldNo = FieldNumber; in setFieldIndex()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DDataLayout.cpp817 unsigned FieldNo = cast<ConstantInt>(Idx)->getZExtValue(); in getIndexedOffsetInType() local
823 Result += Layout->getElementOffset(FieldNo); in getIndexedOffsetInType()
DConstantFold.cpp472 static Constant *getFoldedOffsetOf(Type *Ty, Constant *FieldNo, Type *DestTy, in getFoldedOffsetOf() argument
475 Constant *N = ConstantExpr::getCast(CastInst::getCastOpcode(FieldNo, false, in getFoldedOffsetOf()
477 FieldNo, DestTy); in getFoldedOffsetOf()
499 Constant *N = ConstantExpr::getCast(CastInst::getCastOpcode(FieldNo, in getFoldedOffsetOf()
503 FieldNo, DestTy); in getFoldedOffsetOf()
514 Constant *C = ConstantExpr::getOffsetOf(Ty, FieldNo); in getFoldedOffsetOf()
DConstants.cpp2018 Constant *ConstantExpr::getOffsetOf(StructType* STy, unsigned FieldNo) { in getOffsetOf() argument
2020 FieldNo)); in getOffsetOf()
2023 Constant *ConstantExpr::getOffsetOf(Type* Ty, Constant *FieldNo) { in getOffsetOf() argument
2028 FieldNo in getOffsetOf()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstants.h922 static Constant *getOffsetOf(StructType *STy, unsigned FieldNo);
927 static Constant *getOffsetOf(Type *Ty, Constant *FieldNo);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DBasicAliasAnalysis.cpp546 unsigned FieldNo = cast<ConstantInt>(Index)->getZExtValue(); in DecomposeGEPExpression() local
547 if (FieldNo == 0) in DecomposeGEPExpression()
551 DL.getStructLayout(STy)->getElementOffset(FieldNo); in DecomposeGEPExpression()
DScalarEvolution.cpp344 Constant *FieldNo; in print() local
345 if (U->isOffsetOf(CTy, FieldNo)) { in print()
347 FieldNo->printAsOperand(OS, false); in print()
536 bool SCEVUnknown::isOffsetOf(Type *&CTy, Constant *&FieldNo) const { in isOffsetOf()
550 FieldNo = CE->getOperand(2); in isOffsetOf()
3516 unsigned FieldNo = Index->getZExtValue(); in getGEPExpr() local
3517 const SCEV *FieldOffset = getOffsetOfExpr(IntIdxTy, STy, FieldNo); in getGEPExpr()
3735 unsigned FieldNo) { in getOffsetOfExpr() argument
3740 IntTy, getDataLayout().getStructLayout(STy)->getElementOffset(FieldNo)); in getOffsetOfExpr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DScalarEvolutionExpressions.h498 bool isOffsetOf(Type *&STy, Constant *&FieldNo) const;
DScalarEvolution.h597 const SCEV *getOffsetOfExpr(Type *IntTy, StructType *STy, unsigned FieldNo);