/external/llvm/lib/Transforms/Utils/ |
ValueMapper.cpp | 69 SmallVector<Value*, 4> Elts; 70 Elts.reserve(MD->getNumOperands()); 73 Elts.push_back(Op ? MapValue(Op, VM, Flags, TypeMapper) : 0); 75 MDNode *NewMD = MDNode::get(V->getContext(), Elts);
|
LowerInvoke.cpp | 131 Type *Elts[] = { JmpBufTy, PointerType::getUnqual(JBLinkTy) }; 132 JBLinkTy->setBody(Elts);
|
/external/llvm/lib/VMCore/ |
AutoUpgrade.cpp | 168 SmallVector<Value *, 1> Elts; 169 Elts.push_back(ConstantInt::get(Type::getInt32Ty(C), 1)); 170 MDNode *Node = MDNode::get(C, Elts);
|
DebugLoc.cpp | 108 Value *Elts[] = { 112 return MDNode::get(Ctx2, Elts);
|
Type.cpp | 407 Type **Elts = getContext().pImpl-> 409 memcpy(Elts, Elements.data(), sizeof(Elements[0])*Elements.size()); 411 ContainedTys = Elts;
|
Constants.cpp | 126 SmallVector<Constant*, 16> Elts; 128 Elts.resize(VTy->getNumElements(), getAllOnesValue(VTy->getElementType())); 129 assert(Elts[0] && "Not a vector integer type!"); 130 return cast<ConstantVector>(ConstantVector::get(Elts)); 263 void Constant::getVectorElements(SmallVectorImpl<Constant*> &Elts) const { 268 Elts.push_back(CV->getOperand(i)); 274 Elts.assign(VT->getNumElements(), 280 Elts.assign(VT->getNumElements(), UndefValue::get(VT->getElementType())); [all...] |
/external/clang/include/clang/AST/ |
APValue.h | 53 APValue *Elts; 55 Vec() : Elts(0), NumElts(0) {} 56 ~Vec() { delete[] Elts; } 128 return ((Vec*)(char*)Data)->Elts[i]; 132 return ((const Vec*)(const char*)Data)->Elts[i]; 184 ((Vec*)(char*)Data)->Elts = new APValue[N]; 187 ((Vec*)(char*)Data)->Elts[i] = E[i];
|
DeclObjC.h | 47 void set(void *const* InList, unsigned Elts, ASTContext &Ctx); 58 void set(T* const* InList, unsigned Elts, ASTContext &Ctx) { 59 ObjCListBase::set(reinterpret_cast<void*const*>(InList), Elts, Ctx); 86 void set(ObjCProtocolDecl* const* InList, unsigned Elts, [all...] |
/external/llvm/lib/Analysis/ |
DIBuilder.cpp | 40 Value *Elts[] = { 53 TheCU = DICompileUnit(MDNode::get(VMContext, Elts)); 64 Value *Elts[] = { 70 return DIFile(MDNode::get(VMContext, Elts)); 75 Value *Elts[] = { 80 return DIEnumerator(MDNode::get(VMContext, Elts)); 90 Value *Elts[] = { 102 return DIType(MDNode::get(VMContext, Elts)); 109 Value *Elts[] = { 121 return DIType(MDNode::get(VMContext, Elts)); [all...] |
DebugInfo.cpp | 771 SmallVector<Value *, 16> Elts; 774 i == 7 ? Elts.push_back(InlinedScope) : 775 Elts.push_back(DV->getOperand(i)); 776 return DIVariable(MDNode::get(VMContext, Elts)); 781 SmallVector<Value *, 16> Elts; 785 Elts.push_back(llvm::Constant::getNullValue(Type::getInt32Ty(VMContext))): 786 Elts.push_back(DV->getOperand(i)); 787 return DIVariable(MDNode::get(VMContext, Elts));
|
/external/llvm/lib/AsmParser/ |
LLParser.cpp | 523 SmallVector<Value *, 16> Elts; 529 ParseMDNodeVector(Elts, NULL) || 533 MDNode *Init = MDNode::get(Context, Elts); [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineSimplifyDemanded.cpp | [all...] |
InstCombineVectorOps.cpp | 25 // If all elts are the same, we can extract. 482 std::vector<Constant*> Elts; 485 Elts.push_back(UndefValue::get(Type::getInt32Ty(SVI.getContext()))); 490 Elts.push_back(UndefValue::get(Type::getInt32Ty(SVI.getContext()))); 493 Elts.push_back(ConstantInt::get(Type::getInt32Ty(SVI.getContext()), 500 SVI.setOperand(2, ConstantVector::get(Elts)); 557 std::vector<Constant*> Elts; 561 Elts.push_back(UndefValue::get(Int32Ty)); 563 Elts.push_back(ConstantInt::get(Int32Ty, NewMask[i])); 568 ConstantVector::get(Elts)); [all...] |
/external/llvm/tools/bugpoint/ |
ExtractFunction.cpp | 181 Constant *Elts[] = { 185 ArrayElts.push_back(ConstantStruct::get(STy, Elts));
|
/external/llvm/utils/TableGen/ |
SetTheory.cpp | 30 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts) { 31 ST.evaluate(Expr->arg_begin(), Expr->arg_end(), Elts); 37 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts) { 46 Elts.insert(*I); 52 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts) { 60 Elts.insert(*I); 68 RecSet &Elts) =0; 70 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts) { 78 apply2(ST, Expr, Set, II->getValue(), Elts); 86 RecSet &Elts) { [all...] |
TableGen.cpp | 375 const std::vector<Record*> *Elts = Sets.expand(Recs[i]); 376 assert(Elts && "Couldn't expand Set instance"); 377 for (unsigned ei = 0, ee = Elts->size(); ei != ee; ++ei) 378 Out.os() << ' ' << (*Elts)[ei]->getName();
|
/external/clang/lib/CodeGen/ |
CGExprConstant.cpp | 540 std::vector<llvm::Constant*> Elts; 542 Elts.push_back(C); 553 Elts.push_back(llvm::UndefValue::get(Ty)); 559 return llvm::ConstantStruct::get(STy, Elts); 682 std::vector<llvm::Constant*> Elts; 701 Elts.push_back(C); 715 Elts.push_back(fillC); 720 for (unsigned i = 0; i < Elts.size(); ++i) 721 Types.push_back(Elts[i]->getType()); 724 return llvm::ConstantStruct::get(SType, Elts); [all...] |
CGExpr.cpp | 505 const llvm::Constant *Elts) { 506 if (isa<llvm::ConstantAggregateZero>(Elts)) 509 return cast<llvm::ConstantInt>(Elts->getOperand(Idx))->getZExtValue(); [all...] |
CGDebugInfo.cpp | 681 llvm::SmallVector<llvm::Value *, 16> Elts; 684 Elts.push_back(Args.getElement(0)); 694 Elts.push_back(ThisPtrType); 699 Elts.push_back(Args.getElement(i)); 701 llvm::DIArray EltTypeArray = DBuilder.getOrCreateArray(Elts); [all...] |
/external/clang/lib/Sema/ |
SemaStmt.cpp | 176 MultiStmtArg elts, bool isStmtExpr) { 177 unsigned NumElts = elts.size(); 178 Stmt **Elts = reinterpret_cast<Stmt**>(elts.release()); 185 for (; i != NumElts && isa<DeclStmt>(Elts[i]); ++i) 189 for (; i != NumElts && !isa<DeclStmt>(Elts[i]); ++i) 193 Decl *D = *cast<DeclStmt>(Elts[i])->decl_begin(); 203 DiagnoseUnusedExprResult(Elts[i]); 206 return Owned(new (Context) CompoundStmt(Context, Elts, NumElts, L, R)); [all...] |
/external/llvm/lib/Bitcode/Reader/ |
BitcodeReader.cpp | [all...] |
/external/llvm/lib/Transforms/IPO/ |
GlobalOpt.cpp | [all...] |
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
BitcodeReader.cpp | [all...] |
/external/clang/lib/AST/ |
ExprConstant.cpp | 815 llvm::SmallVector<APValue, 4> Elts(NElts, Result); 816 return APValue(&Elts[0], Elts.size()); 832 llvm::SmallVector<APValue, 4> Elts; 837 Elts.push_back(APValue(Tmp)); 839 Elts.push_back(APValue(APFloat(Tmp))); 843 return APValue(&Elts[0], Elts.size()); [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
LegalizeVectorTypes.cpp | [all...] |