Home
last modified time | relevance | path

Searched refs:getConstInt (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenBuilder.cpp42 cir::ConstantOp CIRGenBuilderTy::getConstInt(mlir::Location loc, in getConstInt() function in CIRGenBuilderTy
47 return getConstInt(loc, t, in getConstInt()
51 cir::ConstantOp CIRGenBuilderTy::getConstInt(mlir::Location loc, in getConstInt() function in CIRGenBuilderTy
53 return getConstInt(loc, llvm::APSInt(intVal)); in getConstInt()
56 cir::ConstantOp CIRGenBuilderTy::getConstInt(mlir::Location loc, mlir::Type t, in getConstInt() function in CIRGenBuilderTy
H A DCIRGenBuilder.h224 cir::ConstantOp getConstInt(mlir::Location loc, llvm::APSInt intVal);
226 cir::ConstantOp getConstInt(mlir::Location loc, llvm::APInt intVal);
228 cir::ConstantOp getConstInt(mlir::Location loc, mlir::Type t, uint64_t c);
H A DCIRGenBuiltin.cpp71 return RValue::get(builder.getConstInt(loc, result.Val.getInt())); in emitBuiltinExpr()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVCallLowering.cpp92 static ConstantInt *getConstInt(MDNode *MD, unsigned NumOp) { in getConstInt() function
158 ConstantInt *Const = getConstInt(MD, 0); in getOriginalFunctionType()
404 ConstantInt *Const = getConstInt(MD2, 0); in lowerFormalArguments()
410 ConstantInt *Const = getConstInt(MD2, j); in lowerFormalArguments()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonVectorCombine.cpp93 ConstantInt *getConstInt(int Val, unsigned Width = 32) const;
690 return Builder.CreatePtrAdd(Ptr, HVC.getConstInt(Adjust), "gep"); in createAdjustedPointer()
706 Value *Mask = HVC.getConstInt(-Alignment); in createAlignedPointer()
770 {Predicate, Ptr, HVC.getConstInt(0)}, {}, in createPredicatedLoad()
841 {Predicate, Ptr, HVC.getConstInt(0), Val}, {}, in createPredicatedStore()
1482 AlignVal = HVC.getConstInt(Diff); in realignGroup()
1975 {CarryIn, HVC.getConstInt(Mask)}); in createAddCarry()
2197 auto HexagonVectorCombine::getConstInt(int Val, unsigned Width) const in getConstInt() function in HexagonVectorCombine
2363 Value *Sub = Builder.CreateSub(getConstInt(VecLen), Amt, "sub"); in vlalignb()