Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp367 ConstantInt *ConstInt) { in collectConstantCandidates() argument
373 ConstInt->getValue(), ConstInt->getType(), in collectConstantCandidates()
377 Inst->getOpcode(), Idx, ConstInt->getValue(), ConstInt->getType(), in collectConstantCandidates()
384 ConstPtrUnionType Cand = ConstInt; in collectConstantCandidates()
387 ConstIntCandVec.push_back(ConstantCandidate(ConstInt)); in collectConstantCandidates()
392 << "Collect constant " << *ConstInt << " from " << *Inst in collectConstantCandidates()
394 else dbgs() << "Collect constant " << *ConstInt in collectConstantCandidates()
451 if (auto ConstInt = dyn_cast<ConstantInt>(Opnd)) { in collectConstantCandidates() local
452 collectConstantCandidates(ConstCandMap, Inst, Idx, ConstInt); in collectConstantCandidates()
463 if (auto *ConstInt = dyn_cast<ConstantInt>(CastInst->getOperand(0))) { in collectConstantCandidates() local
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Scalar/
H A DConstantHoisting.h85 ConstantInt *ConstInt; member
89 ConstantCandidate(ConstantInt *ConstInt, ConstantExpr *ConstExpr=nullptr) :
90 ConstInt(ConstInt), ConstExpr(ConstExpr) {} in ConstInt() function
177 ConstantInt *ConstInt);
/netbsd-src/external/apache2/llvm/dist/llvm/bindings/go/llvm/
H A Dexecutionengine_test.go41 If := builder.CreateICmp(IntEQ, n, ConstInt(Int32Type(), 0, false), "cmptmp")
45 res_iftrue := ConstInt(Int32Type(), 1, false)
49 n_minus := builder.CreateSub(n, ConstInt(Int32Type(), 1, false), "subtmp")
H A Dir.go831 func ConstInt(t Type, n uint64, signExtend bool) (v Value) { func
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DAssumeBundleQueries.cpp106 if (auto *ConstInt = dyn_cast<ConstantInt>( in getKnowledgeFromBundle() local
108 return ConstInt->getZExtValue(); in getKnowledgeFromBundle()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCLoopInstrFormPrep.cpp852 const APInt &ConstInt = StepConst->getValue()->getValue(); in runOnLoop() local
853 if (ConstInt.isSignedIntN(16) && ConstInt.srem(4) != 0) in runOnLoop()
H A DPPCFastISel.cpp840 if (const ConstantInt *ConstInt = dyn_cast<ConstantInt>(SrcValue2)) { in PPCEmitCmp() local
843 const APInt &CIVal = ConstInt->getValue(); in PPCEmitCmp()
1303 if (const ConstantInt *ConstInt = dyn_cast<ConstantInt>(I->getOperand(1))) { in SelectBinaryIntOp() local
1304 const APInt &CIVal = ConstInt->getValue(); in SelectBinaryIntOp()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DLocal.cpp1832 auto *ConstInt = dyn_cast<ConstantInt>(BI->getOperand(1)); in getSalvageOpsForBinOp() local
1834 if (ConstInt && ConstInt->getBitWidth() > 64) in getSalvageOpsForBinOp()
1839 if (ConstInt) { in getSalvageOpsForBinOp()
1840 uint64_t Val = ConstInt->getSExtValue(); in getSalvageOpsForBinOp()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMFastISel.cpp1354 if (const ConstantInt *ConstInt = dyn_cast<ConstantInt>(Src2Value)) { in ARMEmitCmp() local
1357 const APInt &CIVal = ConstInt->getValue(); in ARMEmitCmp()
1616 if (const ConstantInt *ConstInt = dyn_cast<ConstantInt>(I->getOperand(2))) { in SelectSelect() local
1618 Imm = (int)ConstInt->getValue().getZExtValue(); in SelectSelect()