Home
last modified time | relevance | path

Searched refs:ValC (Results 1 – 9 of 9) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86SelectionDAGInfo.cpp90 ConstantSDNode *ValC = dyn_cast<ConstantSDNode>(Val); in EmitTargetCodeForMemset() local
92 if (const char *bzeroName = (ValC && ValC->isNullValue()) in EmitTargetCodeForMemset()
126 ConstantSDNode *ValC = dyn_cast<ConstantSDNode>(Val); in EmitTargetCodeForMemset() local
128 if (ValC) { in EmitTargetCodeForMemset()
130 uint64_t Val = ValC->getZExtValue() & 255; in EmitTargetCodeForMemset()
/external/llvm/lib/Target/X86/
DX86SelectionDAGInfo.cpp105 ConstantSDNode *ValC = dyn_cast<ConstantSDNode>(Src); in EmitTargetCodeForMemset() local
108 if (ValC) { in EmitTargetCodeForMemset()
110 uint64_t Val = ValC->getZExtValue() & 255; in EmitTargetCodeForMemset()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp811 ConstantInt *ValC = !TrueVal->isZero() ? TrueVal : FalseVal; in foldSelectICmpAnd() local
812 unsigned ValZeros = ValC->getValue().logBase2(); in foldSelectICmpAnd()
818 if (AndZeros >= ValC->getBitWidth()) in foldSelectICmpAnd()
832 V = Builder->CreateXor(V, ValC); in foldSelectICmpAnd()
/external/llvm/unittests/ADT/
DAPIntTest.cpp793 APInt ValC(65, 0); in TEST() local
794 ValC = ValA * ValB; in TEST()
796 EXPECT_EQ(ValA.toString(10, false), ValC.toString(10, false)); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp176 const APInt &ValC = !TC.isNullValue() ? TC : FC; in foldSelectICmpAnd() local
177 unsigned ValZeros = ValC.logBase2(); in foldSelectICmpAnd()
201 V = Builder.CreateXor(V, ValC); in foldSelectICmpAnd()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DAPIntTest.cpp1369 APInt ValC(65, 0); in TEST() local
1370 ValC = ValA * ValB; in TEST()
1372 EXPECT_EQ(ValA.toString(10, false), ValC.toString(10, false)); in TEST()
/external/llvm/include/llvm/IR/
DIRBuilder.h1649 if (Constant *ValC = dyn_cast<Constant>(Val)) variable
1650 return Insert(Folder.CreateInsertValue(AggC, ValC, Idxs), Name);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DIRBuilder.h1975 if (auto *ValC = dyn_cast<Constant>(Val)) variable
1976 return Insert(Folder.CreateInsertValue(AggC, ValC, Idxs), Name);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DInstructionSimplify.cpp4017 auto *ValC = dyn_cast<Constant>(Val); in SimplifyInsertElementInst() local
4019 if (VecC && ValC && IdxC) in SimplifyInsertElementInst()
4020 return ConstantFoldInsertElementInstruction(VecC, ValC, IdxC); in SimplifyInsertElementInst()