/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
H A D | InlineSimple.cpp | 107 const Constant *Elt = InitList->getOperand(i); local 109 if (const ConstantExpr *CE = dyn_cast<ConstantExpr>(Elt)) 111 Elt = CE->getOperand(0); 114 if (const Function *F = dyn_cast<Function>(Elt))
|
/external/llvm/include/llvm/ADT/ |
H A D | SmallString.h | 45 void assign(size_t NumElts, char Elt) { argument 46 this->SmallVectorImpl<char>::assign(NumElts, Elt); 78 void append(size_t NumInputs, char Elt) { argument 79 SmallVectorImpl<char>::append(NumInputs, Elt);
|
H A D | EquivalenceClasses.h | 75 ECValue(const ElemTy &Elt) argument 76 : Leader(this), Next((ECValue*)(intptr_t)1), Data(Elt) {}
|
H A D | TinyPtrVector.h | 291 iterator insert(iterator I, const EltTy &Elt) { argument 295 push_back(Elt); 301 Val = Elt; 306 return Val.template get<VecTy*>()->insert(I, Elt);
|
H A D | SmallVector.h | 208 void push_back(const T &Elt) { 211 ::new ((void*) this->end()) T(Elt); 215 void push_back(T &&Elt) { argument 218 ::new ((void*) this->end()) T(::std::move(Elt)); 302 void push_back(const T &Elt) { argument 305 memcpy(this->end(), &Elt, sizeof(T)); 401 void append(size_type NumInputs, const T &Elt) { argument 407 std::uninitialized_fill_n(this->end(), NumInputs, Elt); 415 void assign(size_type NumElts, const T &Elt) { argument 420 std::uninitialized_fill(this->begin(), this->end(), Elt); 461 insert(iterator I, T &&Elt) argument 491 insert(iterator I, const T &Elt) argument 520 insert(iterator I, size_type NumToInsert, const T &Elt) argument [all...] |
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
H A D | SmallString.h | 46 void assign(size_t NumElts, char Elt) { argument 47 this->SmallVectorImpl<char>::assign(NumElts, Elt); 79 void append(size_t NumInputs, char Elt) { argument 80 SmallVectorImpl<char>::append(NumInputs, Elt);
|
H A D | SmallVector.h | 211 void push_back(const T &Elt) { 214 ::new ((void*) this->end()) T(Elt); 218 void push_back(T &&Elt) { argument 221 ::new ((void*) this->end()) T(::std::move(Elt)); 306 void push_back(const T &Elt) { argument 309 memcpy(this->end(), &Elt, sizeof(T)); 404 void append(size_type NumInputs, const T &Elt) { argument 410 std::uninitialized_fill_n(this->end(), NumInputs, Elt); 418 void assign(size_type NumElts, const T &Elt) { argument 423 std::uninitialized_fill(this->begin(), this->end(), Elt); 464 insert(iterator I, T &&Elt) argument 494 insert(iterator I, const T &Elt) argument 523 insert(iterator I, size_type NumToInsert, const T &Elt) argument [all...] |
/external/swiftshader/third_party/subzero/crosstest/ |
H A D | test_vector_ops_main.cpp | 80 ElementTy Elt = TestElements[EI]; local 82 Ty ResultLlc = VectorOps<T>::insertelement(Vect, Elt, I); 83 Ty ResultSz = VectorOps<T>::Subzero_insertelement(Vect, Elt, I); 91 << ", Element=" << (typename VectorOps<T>::CastTy)Elt
|
/external/clang/include/clang/Analysis/Support/ |
H A D | BumpVector.h | 154 void push_back(const_reference Elt, BumpVectorContext &C) { argument 157 new (End) T(Elt); 197 void construct_range(T *S, T *E, const T &Elt) { argument 199 new (S) T(Elt);
|
/external/llvm/utils/PerfectShuffle/ |
H A D | PerfectShuffle.cpp | 35 static unsigned getMaskElt(unsigned Mask, unsigned Elt) { argument 36 return (Mask >> ((3-Elt)*4)) & 0xF; 39 static unsigned setMaskElt(unsigned Mask, unsigned Elt, unsigned NewVal) { argument 40 unsigned FieldShift = ((3-Elt)*4); 200 static void EvaluateOps(unsigned short Elt, unsigned short Vals[], 202 if (ShufTab[Elt].Cost == 0) return; 206 if (Vals[i] == Elt) return; 209 unsigned Arg0 = ShufTab[Elt].Arg0, Arg1 = ShufTab[Elt].Arg1; 215 Vals[NumVals++] = Elt; [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
H A D | EquivalenceClasses.h | 72 ECValue(const ElemTy &Elt) argument 73 : Leader(this), Next((ECValue*)(intptr_t)1), Data(Elt) {}
|
H A D | SmallVector.h | 322 void push_back(const T &Elt) { argument 325 new (this->end()) T(Elt); 364 void append(size_type NumInputs, const T &Elt) { argument 370 std::uninitialized_fill_n(this->end(), NumInputs, Elt); 374 void assign(unsigned NumElts, const T &Elt) { argument 379 construct_range(this->begin(), this->end(), Elt); 401 iterator insert(iterator I, const T &Elt) { argument 403 push_back(Elt); 416 const T *EltPtr = &Elt; 429 iterator insert(iterator I, size_type NumToInsert, const T &Elt) { argument 559 construct_range(T *S, T *E, const T &Elt) argument [all...] |
/external/swiftshader/third_party/LLVM/utils/PerfectShuffle/ |
H A D | PerfectShuffle.cpp | 35 static unsigned getMaskElt(unsigned Mask, unsigned Elt) { argument 36 return (Mask >> ((3-Elt)*4)) & 0xF; 39 static unsigned setMaskElt(unsigned Mask, unsigned Elt, unsigned NewVal) { argument 40 unsigned FieldShift = ((3-Elt)*4); 200 static void EvaluateOps(unsigned short Elt, unsigned short Vals[], 202 if (ShufTab[Elt].Cost == 0) return; 206 if (Vals[i] == Elt) return; 209 unsigned Arg0 = ShufTab[Elt].Arg0, Arg1 = ShufTab[Elt].Arg1; 215 Vals[NumVals++] = Elt; [all...] |
/external/clang/include/clang/AST/ |
H A D | ASTVector.h | 157 void push_back(const_reference Elt, const ASTContext &C) { argument 160 new (End) T(Elt); 199 void append(const ASTContext &C, size_type NumInputs, const T &Elt) { argument 205 std::uninitialized_fill_n(this->end(), NumInputs, Elt); 216 iterator insert(const ASTContext &C, iterator I, const T &Elt) { argument 218 push_back(Elt, C); 228 *I = Elt; 238 const T &Elt) { 243 append(C, NumToInsert, Elt); 264 std::fill_n(I, NumToInsert, Elt); 237 insert(const ASTContext &C, iterator I, size_type NumToInsert, const T &Elt) argument 355 construct_range(T *S, T *E, const T &Elt) argument [all...] |
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
H A D | InstCombineSimplifyDemanded.cpp | 860 Constant *Elt = DemandedElts[i] ? Zero : Undef; local 861 Elts.push_back(Elt);
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSimplifyDemanded.cpp | 944 Constant *Elt = C->getAggregateElement(i); local 945 if (!Elt) return nullptr; 947 if (isa<UndefValue>(Elt)) { // Already undef. 951 Elts.push_back(Elt);
|
H A D | InstCombineMulDivRem.cpp | 124 Constant *Elt = CV->getElementAsConstant(I); local 125 if (!match(Elt, m_APInt(IVal)) || !IVal->isPowerOf2()) 127 Elts.push_back(ConstantInt::get(Elt->getType(), IVal->logBase2())); 1495 Constant *Elt = C->getAggregateElement(i); local 1496 if (!Elt) { 1501 if (ConstantInt *RHS = dyn_cast<ConstantInt>(Elt))
|
H A D | InstCombineVectorOps.cpp | 106 Value *Elt = EI.getIndexOperand(); local 115 ExtractElementInst::Create(B0->getOperand(opId), Elt, 116 B0->getOperand(opId)->getName() + ".Elt"), 124 Instruction *newEI = ExtractElementInst::Create(PHIInVal, Elt, ""); 186 if (Value *Elt = findScalarElement(BCI->getOperand(0), IndexVal)) 187 return new BitCastInst(Elt, EI.getType()); 228 if (ConstantInt *Elt = dyn_cast<ConstantInt>(EI.getOperand(1))) { 229 int SrcIdx = SVI->getMaskValue(Elt->getZExtValue());
|
/external/llvm/unittests/IR/ |
H A D | ConstantsTest.cpp | 218 Constant *Elt = ConstantInt::get(Int16Ty, 2015); local 295 EXPECT_EQ(Elt, ConstantExpr::getExtractElement( 296 ConstantExpr::getInsertElement(P6, Elt, One), One)); 297 EXPECT_EQ(UndefV16, ConstantExpr::getInsertElement(P6, Elt, Two)); 298 EXPECT_EQ(UndefV16, ConstantExpr::getInsertElement(P6, Elt, Big)); 299 EXPECT_EQ(UndefV16, ConstantExpr::getInsertElement(P6, Elt, Undef64));
|
/external/llvm/lib/IR/ |
H A D | AutoUpgrade.cpp | 774 Value *Elt = Builder.CreateExtractElement(BC0, (uint64_t)0); local 776 PointerType::getUnqual(Elt->getType()), 778 Builder.CreateAlignedStore(Elt, BC, 1);
|
H A D | ConstantFold.cpp | 800 Constant *Elt, 818 Result.push_back(Elt); 847 int Elt = ShuffleVectorInst::getMaskValue(Mask, i); local 848 if (Elt == -1) { 853 if (unsigned(Elt) >= SrcNumElts*2) 855 else if (unsigned(Elt) >= SrcNumElts) { 859 ConstantInt::get(Ty, Elt - SrcNumElts)); 862 InElt = ConstantExpr::getExtractElement(V1, ConstantInt::get(Ty, Elt)); 799 ConstantFoldInsertElementInstruction(Constant *Val, Constant *Elt, Constant *Idx) argument
|
/external/llvm/lib/Target/NVPTX/ |
H A D | NVPTXISelLowering.cpp | 1170 SDValue Elt = OutVals[OIdx++]; local 1172 Elt = DAG.getNode(ISD::ZERO_EXTEND, dl, MVT::i16, Elt); 1177 DAG.getConstant(0, dl, MVT::i32), Elt, 1600 SDValue Elt = retval.getValue(j); local 1602 Elt = DAG.getNode(ISD::TRUNCATE, dl, EltVT, Elt); 1603 InVals.push_back(Elt); 2289 SDValue Elt = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, EltVT, P, 2292 Elt [all...] |
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
H A D | ConstantFolding.cpp | 131 Constant *Elt = Zero; local 139 Src = ConstantExpr::getZExt(Src, Elt->getType()); 147 Elt = ConstantExpr::getOr(Elt, Src); 149 Result.push_back(Elt); 166 Constant *Elt = ConstantExpr::getLShr(Src, local 171 Result.push_back(ConstantExpr::getTrunc(Elt, DstEltTy));
|
H A D | ValueTracking.cpp | 1611 const Constant *Elt = Array->getOperand(i); local 1612 const ConstantInt *CI = dyn_cast<ConstantInt>(Elt); 1729 Constant *Elt = Array->getOperand(i); local 1730 ConstantInt *CI = dyn_cast<ConstantInt>(Elt);
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
H A D | ConstantFold.cpp | 778 Constant *Elt, 786 if (isa<UndefValue>(Elt)) 796 (idxVal == i) ? Elt : UndefValue::get(Elt->getType()); 804 if (Elt->isNullValue()) 814 (idxVal == i) ? Elt : Constant::getNullValue(Elt->getType()); 825 (idxVal == i) ? Elt : cast<Constant>(CVal->getOperand(i)); 867 unsigned Elt = CI->getZExtValue(); local 868 if (Elt > 777 ConstantFoldInsertElementInstruction(Constant *Val, Constant *Elt, Constant *Idx) argument [all...] |