Home
last modified time | relevance | path

Searched refs:NewElt (Results 1 – 25 of 30) sorted by relevance

12

/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUCodeGenPrepare.cpp798 Value *NewElt = optimizeWithRcp(NumEltI, DenEltI, AllowInaccurateRcp, in visitFDiv() local
800 if (!NewElt) // Try fdiv.fast. in visitFDiv()
801 NewElt = optimizeWithFDivFast(NumEltI, DenEltI, ReqdAccuracy, in visitFDiv()
803 if (!NewElt) // Keep the original. in visitFDiv()
804 NewElt = Builder.CreateFDiv(NumEltI, DenEltI); in visitFDiv()
806 NewFDiv = Builder.CreateInsertElement(NewFDiv, NewElt, I); in visitFDiv()
1237 Value *NewElt; in visitBinaryOperator() local
1239 NewElt = expandDivRem32(Builder, I, NumEltN, DenEltN); in visitBinaryOperator()
1240 if (!NewElt) in visitBinaryOperator()
1241 NewElt = Builder.CreateBinOp(Opc, NumEltN, DenEltN); in visitBinaryOperator()
[all …]
/external/llvm/lib/Transforms/Scalar/
DLoopDistribute.cpp325 bool NewElt; in mergeToAvoidDuplicatedLoads() local
328 std::tie(LoadToPart, NewElt) = in mergeToAvoidDuplicatedLoads()
330 if (!NewElt) { in mergeToAvoidDuplicatedLoads()
373 bool NewElt; in setupPartitionIdOnInstructions() local
376 std::tie(Iter, NewElt) = in setupPartitionIdOnInstructions()
378 if (!NewElt) in setupPartitionIdOnInstructions()
DLoopLoadElimination.cpp231 bool NewElt; in removeDependencesFromMultipleStores() local
234 std::tie(Iter, NewElt) = in removeDependencesFromMultipleStores()
236 if (!NewElt) { in removeDependencesFromMultipleStores()
/external/llvm-project/llvm/utils/PerfectShuffle/
DPerfectShuffle.cpp278 unsigned NewElt = setMaskElt(i, UndefIdx, j); in main() local
279 if (ShufTab[NewElt].Cost < MinCost) { in main()
280 MinCost = ShufTab[NewElt].Cost; in main()
281 MinVal = NewElt; in main()
/external/llvm/utils/PerfectShuffle/
DPerfectShuffle.cpp279 unsigned NewElt = setMaskElt(i, UndefIdx, j); in main() local
280 if (ShufTab[NewElt].Cost < MinCost) { in main()
281 MinCost = ShufTab[NewElt].Cost; in main()
282 MinVal = NewElt; in main()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopDistribute.cpp371 bool NewElt; in mergeToAvoidDuplicatedLoads() local
374 std::tie(LoadToPart, NewElt) = in mergeToAvoidDuplicatedLoads()
376 if (!NewElt) { in mergeToAvoidDuplicatedLoads()
421 bool NewElt; in setupPartitionIdOnInstructions() local
424 std::tie(Iter, NewElt) = in setupPartitionIdOnInstructions()
426 if (!NewElt) in setupPartitionIdOnInstructions()
DLoopLoadElimination.cpp267 bool NewElt; in removeDependencesFromMultipleStores() local
270 std::tie(Iter, NewElt) = in removeDependencesFromMultipleStores()
272 if (!NewElt) { in removeDependencesFromMultipleStores()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLoopDistribute.cpp371 bool NewElt; in mergeToAvoidDuplicatedLoads() local
374 std::tie(LoadToPart, NewElt) = in mergeToAvoidDuplicatedLoads()
376 if (!NewElt) { in mergeToAvoidDuplicatedLoads()
421 bool NewElt; in setupPartitionIdOnInstructions() local
424 std::tie(Iter, NewElt) = in setupPartitionIdOnInstructions()
426 if (!NewElt) in setupPartitionIdOnInstructions()
DLoopLoadElimination.cpp268 bool NewElt; in removeDependencesFromMultipleStores() local
271 std::tie(Iter, NewElt) = in removeDependencesFromMultipleStores()
273 if (!NewElt) { in removeDependencesFromMultipleStores()
DScalarizer.cpp757 Value *NewElt = IEI.getOperand(1); in visitInsertElementInst() local
765 Res[I] = CI->getValue().getZExtValue() == I ? NewElt : Op0[I]; in visitInsertElementInst()
775 Res[I] = Builder.CreateSelect(ShouldReplace, NewElt, OldElt, in visitInsertElementInst()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUCodeGenPrepare.cpp587 Value *NewElt; in visitFDiv() local
590 NewElt = Builder.CreateFDiv(NumEltI, DenEltI); in visitFDiv()
592 NewElt = Builder.CreateCall(Decl, { NumEltI, DenEltI }); in visitFDiv()
595 NewFDiv = Builder.CreateInsertElement(NewFDiv, NewElt, I); in visitFDiv()
912 Value *NewElt = expandDivRem32(Builder, I, NumEltN, DenEltN); in visitBinaryOperator() local
913 if (!NewElt) in visitBinaryOperator()
914 NewElt = Builder.CreateBinOp(Opc, NumEltN, DenEltN); in visitBinaryOperator()
915 NewDiv = Builder.CreateInsertElement(NewDiv, NewElt, N); in visitBinaryOperator()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstantFolder.h257 Constant *CreateInsertElement(Constant *Vec, Constant *NewElt, in CreateInsertElement() argument
259 return ConstantExpr::getInsertElement(Vec, NewElt, Idx); in CreateInsertElement()
DNoFolder.h322 Instruction *CreateInsertElement(Constant *Vec, Constant *NewElt, in CreateInsertElement() argument
324 return InsertElementInst::Create(Vec, NewElt, Idx); in CreateInsertElement()
DInstructions.h1921 InsertElementInst(Value *Vec, Value *NewElt, Value *Idx,
1924 InsertElementInst(Value *Vec, Value *NewElt, Value *Idx, const Twine &NameStr,
1934 static InsertElementInst *Create(Value *Vec, Value *NewElt, Value *Idx,
1937 return new(3) InsertElementInst(Vec, NewElt, Idx, NameStr, InsertBefore);
1940 static InsertElementInst *Create(Value *Vec, Value *NewElt, Value *Idx,
1943 return new(3) InsertElementInst(Vec, NewElt, Idx, NameStr, InsertAtEnd);
1948 static bool isValidOperands(const Value *Vec, const Value *NewElt,
/external/llvm/include/llvm/IR/
DConstantFolder.h222 Constant *CreateInsertElement(Constant *Vec, Constant *NewElt, in CreateInsertElement() argument
224 return ConstantExpr::getInsertElement(Vec, NewElt, Idx); in CreateInsertElement()
DNoFolder.h276 Instruction *CreateInsertElement(Constant *Vec, Constant *NewElt, in CreateInsertElement() argument
278 return InsertElementInst::Create(Vec, NewElt, Idx); in CreateInsertElement()
DIRBuilder.h1608 Value *CreateInsertElement(Value *Vec, Value *NewElt, Value *Idx,
1611 if (Constant *NC = dyn_cast<Constant>(NewElt))
1614 return Insert(InsertElementInst::Create(Vec, NewElt, Idx), Name);
1617 Value *CreateInsertElement(Value *Vec, Value *NewElt, uint64_t Idx,
1619 return CreateInsertElement(Vec, NewElt, getInt64(Idx), Name);
DInstructions.h2089 InsertElementInst(Value *Vec, Value *NewElt, Value *Idx,
2092 InsertElementInst(Value *Vec, Value *NewElt, Value *Idx, const Twine &NameStr,
2101 static InsertElementInst *Create(Value *Vec, Value *NewElt, Value *Idx,
2104 return new(3) InsertElementInst(Vec, NewElt, Idx, NameStr, InsertBefore);
2106 static InsertElementInst *Create(Value *Vec, Value *NewElt, Value *Idx,
2109 return new(3) InsertElementInst(Vec, NewElt, Idx, NameStr, InsertAtEnd);
2114 static bool isValidOperands(const Value *Vec, const Value *NewElt,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetFolder.h249 Constant *CreateInsertElement(Constant *Vec, Constant *NewElt, in CreateInsertElement() argument
251 return Fold(ConstantExpr::getInsertElement(Vec, NewElt, Idx)); in CreateInsertElement()
/external/llvm-project/llvm/include/llvm/IR/
DConstantFolder.h262 Constant *CreateInsertElement(Constant *Vec, Constant *NewElt, in CreateInsertElement() argument
264 return ConstantExpr::getInsertElement(Vec, NewElt, Idx); in CreateInsertElement()
DNoFolder.h297 Instruction *CreateInsertElement(Constant *Vec, Constant *NewElt, in CreateInsertElement() argument
299 return InsertElementInst::Create(Vec, NewElt, Idx); in CreateInsertElement()
DIRBuilderFolder.h129 virtual Value *CreateInsertElement(Constant *Vec, Constant *NewElt,
DInstructions.h1925 InsertElementInst(Value *Vec, Value *NewElt, Value *Idx,
1928 InsertElementInst(Value *Vec, Value *NewElt, Value *Idx, const Twine &NameStr,
1938 static InsertElementInst *Create(Value *Vec, Value *NewElt, Value *Idx,
1941 return new(3) InsertElementInst(Vec, NewElt, Idx, NameStr, InsertBefore);
1944 static InsertElementInst *Create(Value *Vec, Value *NewElt, Value *Idx,
1947 return new(3) InsertElementInst(Vec, NewElt, Idx, NameStr, InsertAtEnd);
1952 static bool isValidOperands(const Value *Vec, const Value *NewElt,
/external/llvm/include/llvm/Analysis/
DTargetFolder.h247 Constant *CreateInsertElement(Constant *Vec, Constant *NewElt, in CreateInsertElement() argument
249 return Fold(ConstantExpr::getInsertElement(Vec, NewElt, Idx)); in CreateInsertElement()
/external/llvm-project/llvm/include/llvm/Analysis/
DTargetFolder.h256 Constant *CreateInsertElement(Constant *Vec, Constant *NewElt, in CreateInsertElement() argument
258 return Fold(ConstantExpr::getInsertElement(Vec, NewElt, Idx)); in CreateInsertElement()

12