Home
last modified time | relevance | path

Searched refs:ConstInfo (Results 1 – 14 of 14) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp145 const ConstantInfo &ConstInfo) const { in findConstantInsertionPoint()
146 assert(!ConstInfo.RebasedConstants.empty() && "Invalid constant info entry."); in findConstantInsertionPoint()
149 for (auto const &RCI : ConstInfo.RebasedConstants) in findConstantInsertionPoint()
396 ConstantInfo ConstInfo; in findAndMakeBaseConstant() local
397 ConstInfo.BaseConstant = MaxCostItr->ConstInt; in findAndMakeBaseConstant()
398 Type *Ty = ConstInfo.BaseConstant->getType(); in findAndMakeBaseConstant()
403 ConstInfo.BaseConstant->getValue(); in findAndMakeBaseConstant()
405 ConstInfo.RebasedConstants.push_back( in findAndMakeBaseConstant()
408 ConstantVec.push_back(std::move(ConstInfo)); in findAndMakeBaseConstant()
550 for (auto const &ConstInfo : ConstantVec) { in emitBaseConstants() local
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp294 const ConstantInfo &ConstInfo) const { in findConstantInsertionPoint()
295 assert(!ConstInfo.RebasedConstants.empty() && "Invalid constant info entry."); in findConstantInsertionPoint()
299 for (auto const &RCI : ConstInfo.RebasedConstants) in findConstantInsertionPoint()
555 ConstantInfo ConstInfo; in findAndMakeBaseConstant() local
556 ConstInfo.BaseConstant = MaxCostItr->ConstInt; in findAndMakeBaseConstant()
557 Type *Ty = ConstInfo.BaseConstant->getType(); in findAndMakeBaseConstant()
562 ConstInfo.BaseConstant->getValue(); in findAndMakeBaseConstant()
564 ConstInfo.RebasedConstants.push_back( in findAndMakeBaseConstant()
567 ConstantVec.push_back(std::move(ConstInfo)); in findAndMakeBaseConstant()
710 for (auto const &ConstInfo : ConstantVec) { in emitBaseConstants() local
[all …]
/external/syzkaller/pkg/compiler/
Dconsts.go21 type ConstInfo struct { struct
28 …tConsts(desc *ast.Description, target *targets.Target, eh ast.ErrorHandler) map[string]*ConstInfo {
37 func (comp *compiler) extractConsts() map[string]*ConstInfo {
127 func convertConstInfo(infos map[string]*constInfo) map[string]*ConstInfo {
128 res := make(map[string]*ConstInfo)
130 res[file] = &ConstInfo{
Dcompiler.go43 fileConsts map[string]*ConstInfo
/external/syzkaller/sys/syz-extract/
Dextract.go46 info *compiler.ConstInfo
54 processFile(arch *Arch, info *compiler.ConstInfo) (map[string]uint64, map[string]bool, error) argument
261 func processArch(extractor Extractor, arch *Arch) (map[string]*compiler.ConstInfo, error) {
Dwindows.go20 func (*windows) processFile(arch *Arch, info *compiler.ConstInfo) (map[string]uint64, map[string]bo…
Dakaros.go26 func (*akaros) processFile(arch *Arch, info *compiler.ConstInfo) (map[string]uint64, map[string]boo…
Dfuchsia.go26 func (*fuchsia) processFile(arch *Arch, info *compiler.ConstInfo) (map[string]uint64, map[string]bo…
Dfreebsd.go39 func (*freebsd) processFile(arch *Arch, info *compiler.ConstInfo) (map[string]uint64, map[string]bo…
Dnetbsd.go53 func (*netbsd) processFile(arch *Arch, info *compiler.ConstInfo) (map[string]uint64, map[string]boo…
Dlinux.go80 func (*linux) processFile(arch *Arch, info *compiler.ConstInfo) (map[string]uint64, map[string]bool…
Dfetch.go19 func extract(info *compiler.ConstInfo, cc string, args []string, addSource string, declarePrintf bo… argument
/external/llvm/include/llvm/Transforms/Scalar/
DConstantHoisting.h128 const consthoist::ConstantInfo &ConstInfo) const;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Scalar/
DConstantHoisting.h143 findConstantInsertionPoint(const consthoist::ConstantInfo &ConstInfo) const;