/external/llvm/lib/Support/ |
SmallPtrSet.cpp | 154 const void *Elt = *BucketPtr; 155 *const_cast<void**>(FindBucketFor(Elt)) = const_cast<void*>(Elt); 162 const void *Elt = *BucketPtr; 163 if (Elt != getTombstoneMarker() && Elt != getEmptyMarker()) 164 *const_cast<void**>(FindBucketFor(Elt)) = const_cast<void*>(Elt);
|
/external/llvm/lib/Transforms/IPO/ |
InlineSimple.cpp | 105 const Constant *Elt = InitList->getOperand(i); 107 if (const ConstantExpr *CE = dyn_cast<ConstantExpr>(Elt)) 109 Elt = CE->getOperand(0); 112 if (const Function *F = dyn_cast<Function>(Elt))
|
/external/llvm/utils/PerfectShuffle/ |
PerfectShuffle.cpp | 35 static unsigned getMaskElt(unsigned Mask, unsigned Elt) { 36 return (Mask >> ((3-Elt)*4)) & 0xF; 39 static unsigned setMaskElt(unsigned Mask, unsigned Elt, unsigned NewVal) { 40 unsigned FieldShift = ((3-Elt)*4); 71 /// getCompressedMask - Turn a 16-bit uncompressed mask (where each elt uses 4 72 /// bits) into a compressed 13-bit mask, where each elt is multiplied by 9. 138 assert(SrcElt == 8 && "Bad src elt!"); 200 static void EvaluateOps(unsigned short Elt, unsigned short Vals[], 202 if (ShufTab[Elt].Cost == 0) return; 206 if (Vals[i] == Elt) return [all...] |
/external/clang/include/clang/AST/ |
ASTVector.h | 154 void push_back(const_reference Elt, ASTContext &C) { 157 new (End) T(Elt); 196 void append(ASTContext &C, size_type NumInputs, const T &Elt) { 202 std::uninitialized_fill_n(this->end(), NumInputs, Elt); 213 iterator insert(ASTContext &C, iterator I, const T &Elt) { 215 push_back(Elt); 225 *I = Elt; 235 const T &Elt) { 237 append(C, NumToInsert, Elt); 241 // Convert iterator to elt# to avoid invalidating iterator when we reserve( [all...] |
/external/llvm/include/llvm/ADT/ |
SmallVector.h | 322 void push_back(const T &Elt) { 325 new (this->end()) T(Elt); 364 void append(size_type NumInputs, const T &Elt) { 370 std::uninitialized_fill_n(this->end(), NumInputs, Elt); 374 void assign(unsigned NumElts, const T &Elt) { 379 construct_range(this->begin(), this->end(), Elt); 386 // Drop the last elt. 401 iterator insert(iterator I, const T &Elt) { 403 push_back(Elt); 416 const T *EltPtr = &Elt; [all...] |
EquivalenceClasses.h | 72 ECValue(const ElemTy &Elt) 73 : Leader(this), Next((ECValue*)(intptr_t)1), Data(Elt) {}
|
/external/llvm/lib/Analysis/ |
DebugInfo.cpp | 52 DIDescriptor::getStringField(unsigned Elt) const { 56 if (Elt < DbgNode->getNumOperands()) 57 if (MDString *MDS = dyn_cast_or_null<MDString>(DbgNode->getOperand(Elt))) 63 uint64_t DIDescriptor::getUInt64Field(unsigned Elt) const { 67 if (Elt < DbgNode->getNumOperands()) 68 if (ConstantInt *CI = dyn_cast<ConstantInt>(DbgNode->getOperand(Elt))) 74 DIDescriptor DIDescriptor::getDescriptorField(unsigned Elt) const { 78 if (Elt < DbgNode->getNumOperands()) 80 DIDescriptor(dyn_cast_or_null<const MDNode>(DbgNode->getOperand(Elt))); 84 GlobalVariable *DIDescriptor::getGlobalVariableField(unsigned Elt) const [all...] |
ConstantFolding.cpp | 126 Constant *Elt = Zero; 134 Src = ConstantExpr::getZExt(Src, Elt->getType()); 142 Elt = ConstantExpr::getOr(Elt, Src); 144 Result.push_back(Elt); 161 Constant *Elt = ConstantExpr::getLShr(Src, 166 Result.push_back(ConstantExpr::getTrunc(Elt, DstEltTy)); [all...] |
ValueTracking.cpp | [all...] |
/external/clang/include/clang/Analysis/Support/ |
BumpVector.h | 149 void push_back(const_reference Elt, BumpVectorContext &C) { 152 new (End) T(Elt); 192 void construct_range(T *S, T *E, const T &Elt) { 194 new (S) T(Elt);
|
/external/llvm/lib/VMCore/ |
ConstantFold.h | 38 Constant *ConstantFoldInsertElementInstruction(Constant *Val, Constant *Elt,
|
Constants.cpp | [all...] |
ConstantFold.cpp | 775 Constant *Elt, 783 if (isa<UndefValue>(Elt)) 793 (idxVal == i) ? Elt : UndefValue::get(Elt->getType()); 801 if (Elt->isNullValue()) 811 (idxVal == i) ? Elt : Constant::getNullValue(Elt->getType()); [all...] |
Instructions.cpp | [all...] |
/external/llvm/include/llvm/Analysis/ |
DebugInfo.h | 66 StringRef getStringField(unsigned Elt) const; 67 unsigned getUnsignedField(unsigned Elt) const { 68 return (unsigned)getUInt64Field(Elt); 70 uint64_t getUInt64Field(unsigned Elt) const; 71 DIDescriptor getDescriptorField(unsigned Elt) const; 74 DescTy getFieldAs(unsigned Elt) const { 75 return DescTy(getDescriptorField(Elt)); 78 GlobalVariable *getGlobalVariableField(unsigned Elt) const; 79 Constant *getConstantField(unsigned Elt) const; 80 Function *getFunctionField(unsigned Elt) const [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineVectorOps.cpp | 171 if (Value *Elt = FindScalarElement(EI.getOperand(0), IndexVal)) 172 return ReplaceInstUsesWith(EI, Elt); 181 if (Value *Elt = FindScalarElement(BCI->getOperand(0), IndexVal)) 182 return new BitCastInst(Elt, EI.getType()); 214 if (ConstantInt *Elt = dyn_cast<ConstantInt>(EI.getOperand(1))) { 215 int SrcIdx = getShuffleMask(SVI)[Elt->getZExtValue()];
|
InstructionCombining.cpp | 719 unsigned Elt = SL->getElementContainingOffset(Offset); 721 Elt)); 723 Offset -= SL->getElementOffset(Elt); 724 Ty = STy->getElementType(Elt); [all...] |
/external/llvm/lib/Transforms/Scalar/ |
ScalarReplAggregates.cpp | [all...] |
/external/llvm/utils/TableGen/ |
Record.cpp | 504 unsigned Elt) { 505 if (Elt >= getSize()) 507 Init *E = getElement(Elt); 540 unsigned Elt) { 546 return Typed->resolveListElementReference(R, IRV, Elt); 1090 unsigned Elt) { 1100 return new VarListElementInit(VI, Elt); 1103 if (Elt >= LI->getSize()) 1105 Init *E = LI->getElement(Elt); [all...] |
Record.h | 587 unsigned Elt) = 0; 691 unsigned Elt) { 728 unsigned Elt) { 810 unsigned Elt); [all...] |
/external/clang/lib/CodeGen/ |
CGExprComplex.cpp | 419 llvm::Value *Elt = CGF.EmitScalarExpr(Op); 423 Elt = CGF.EmitScalarConversion(Elt, Op->getType(), DestTy); 426 return ComplexPairTy(Elt, llvm::Constant::getNullValue(Elt->getType()));
|
CGExprConstant.cpp | [all...] |
CGDecl.cpp | 637 llvm::Constant *Elt = cast<llvm::Constant>(Init->getOperand(i)); 638 if (!canEmitInitWithFewStoresAfterMemset(Elt, NumStores)) 671 llvm::Constant *Elt = cast<llvm::Constant>(Init->getOperand(i)); 672 if (Elt->isNullValue()) continue; 675 emitStoresForInitAfterMemset(Elt, Builder.CreateConstGEP2_32(Loc, 0, i), [all...] |
/external/llvm/lib/Target/X86/ |
X86ISelLowering.cpp | [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
DAGCombiner.cpp | [all...] |