Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp181 ConstantInt *ConstInt) { in collectConstantCandidates() argument
187 ConstInt->getValue(), ConstInt->getType()); in collectConstantCandidates()
189 Cost = TTI->getIntImmCost(Inst->getOpcode(), Idx, ConstInt->getValue(), in collectConstantCandidates()
190 ConstInt->getType()); in collectConstantCandidates()
196 std::tie(Itr, Inserted) = ConstCandMap.insert(std::make_pair(ConstInt, 0)); in collectConstantCandidates()
198 ConstCandVec.push_back(ConstantCandidate(ConstInt)); in collectConstantCandidates()
203 dbgs() << "Collect constant " << *ConstInt << " from " << *Inst in collectConstantCandidates()
206 dbgs() << "Collect constant " << *ConstInt << " indirectly from " in collectConstantCandidates()
243 if (auto ConstInt = dyn_cast<ConstantInt>(Opnd)) { in collectConstantCandidates() local
244 collectConstantCandidates(ConstCandMap, Inst, Idx, ConstInt); in collectConstantCandidates()
[all …]
/external/llvm/include/llvm/Transforms/Scalar/
DConstantHoisting.h63 ConstantInt *ConstInt; member
66 ConstantCandidate(ConstantInt *ConstInt) in ConstantCandidate()
67 : ConstInt(ConstInt), CumulativeCost(0) { } in ConstantCandidate()
131 ConstantInt *ConstInt);
/external/llvm/bindings/go/llvm/
Dexecutionengine_test.go42 If := builder.CreateICmp(IntEQ, n, ConstInt(Int32Type(), 0, false), "cmptmp")
46 res_iftrue := ConstInt(Int32Type(), 1, false)
50 n_minus := builder.CreateSub(n, ConstInt(Int32Type(), 1, false), "subtmp")
Dir.go765 func ConstInt(t Type, n uint64, signExtend bool) (v Value) { func
/external/llvm/lib/Target/PowerPC/
DPPCFastISel.cpp833 if (const ConstantInt *ConstInt = dyn_cast<ConstantInt>(SrcValue2)) { in PPCEmitCmp() local
836 const APInt &CIVal = ConstInt->getValue(); in PPCEmitCmp()
1208 if (const ConstantInt *ConstInt = dyn_cast<ConstantInt>(I->getOperand(1))) { in SelectBinaryIntOp() local
1209 const APInt &CIVal = ConstInt->getValue(); in SelectBinaryIntOp()
/external/llvm/lib/Target/ARM/
DARMFastISel.cpp1367 if (const ConstantInt *ConstInt = dyn_cast<ConstantInt>(Src2Value)) { in ARMEmitCmp() local
1370 const APInt &CIVal = ConstInt->getValue(); in ARMEmitCmp()
1627 if (const ConstantInt *ConstInt = dyn_cast<ConstantInt>(I->getOperand(2))) { in SelectSelect() local
1629 Imm = (int)ConstInt->getValue().getZExtValue(); in SelectSelect()
/external/clang/test/SemaCXX/
Dtype-traits.cpp1184 typedef const int ConstInt; in is_standard_layout() typedef
1185 typedef ConstInt ConstIntAr[4]; in is_standard_layout()
1189 int t02[T(__is_standard_layout(ConstInt))]; in is_standard_layout()